Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 126113 - emerge gettext-0.14.5 fails, Segmentation fault in emacs
Summary: emerge gettext-0.14.5 fails, Segmentation fault in emacs
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Emacs project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-03-13 21:11 UTC by Ryan Chapman
Modified: 2006-04-26 10:28 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Chapman 2006-03-13 21:11:20 UTC
Tried re-emerging emacs and revdep-rebuild, multiple times, after reboots, w/ or w/o X running (trying to scramble the memory allocations to ensure its not a memory error).  Always the same outcome as indicated below:

Making all in projects
make[3]: Entering directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/projects'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/projects'
Making all in misc
make[3]: Entering directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/misc'
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \
  set x; \
  list='start-po.el po-mode.el po-compat.el'; for p in $list; do \
    if test -f "$p"; then d=; else d="./"; fi; \
    set x "$@" "$d$p"; shift; \
  done; \
  shift; \
  EMACS="emacs" /bin/sh ../../build-aux/elisp-comp "$@" || exit 1; \
else : ; fi
Loading /usr/share/emacs/site-lisp/site-gentoo (source)...
Loading gtk-doc (source)...
Fatal error (11).../../build-aux/elisp-comp: line 78: 30005 Segmentation fault      $EMACS -batch -q -l script -f batch-byte-compile *.el
make[3]: *** [elc-stamp] Error 1
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.14.5 failed.
Call stack:
  ebuild.sh, line 1557:   Called dyn_compile
  ebuild.sh, line 966:   Called src_compile

-----------------------------------------------------

# emerge --info
Portage 2.1_pre6-r2 (default-linux/x86/2006.0, gcc-4.1.0, glibc-2.4-r0, 2.6.15-gentoo-r7 i686)
=================================================================
System uname: 2.6.15-gentoo-r7 i686 AMD Athlon(tm) processor
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5-r2, 2.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r3
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/share/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d"
CXXFLAGS="-march=athlon-tbird -O3 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache confcache distlocks fixpackages metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://gentoo.osuosl.org/ http://gentoo.cites.uiuc.edu/pub/gentoo/ http://mirror.espri.arizona.edu/gentoo/ http://gentoo.mirrors.easynews.com/linux/gentoo/ http://distro.ibiblio.org/pub/linux/distributions/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage"
USE="3dnow X acpi aim alsa apache2 apm arts avi bash-completion berkdb bitmap-fonts browserplugin bzip2 calendar cdr clamav cli cpdflib crypt cscope ctype cups dba dbx dio dlloader dmx doc dri eds emacs emacs-w3 emboss encode esd examples expat fastbuild flac foomaticdb force-cgi-redirect fortran ftp gcj gd gdbm gif gnutls gpm gstreamer gtk gtk2 hpoj icq imap imlib innodb ipv6 ithreads java jpeg junit kde kdeenablefinal kdexdeltas kerberos ldap libg++ libwww mad maildir memlimit mikmod mmx motif mozilla mp3 mpeg mysql mysqli ncurses nls nptl nptlonly nsplugin oav odbc offensive ofx ogg opengl oscar oss pam pam-mysql pcntl pcre pdflib pdo-external pear perl php pic plotutils png posix postgres ppds python qt quicktime readline ruby sasl scanner sdk sdl session sharedext simplexml slp soap sockets spell spl sqlite sse ssl svg svga symlink tcltk tcpd threads tidy tiff tokenizer truetype truetype-fonts type1-fonts udev usb usepackagedmakefiles vhosts vorbis x86 xine xml xml2 xmms xsl xv yahoo zip zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_vga"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Comment 1 Ryan Chapman 2006-03-13 21:24:02 UTC
# emacs -version
GNU Emacs 21.4.1
Comment 2 Matthew Kennedy (RETIRED) gentoo-dev 2006-03-20 08:04:15 UTC
What happens if you set CFLAGS to -O2?
Comment 3 Ryan Chapman 2006-03-21 03:33:32 UTC
# CFLAGS="-march=athlon-tbird -O2 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args" emerge --ask '>=gettext-0.14.5' 

results in: 

i686-pc-linux-gnu-gcc -march=athlon-tbird -O2 -pipe -fforce-addr -fomit-frame-pointer -funroll-loops -falign-functions=4 -maccumulate-outgoing-args -o .libs/msguniq msguniq-msguniq.o  ./.libs/libgettextsrc.so /var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/lib/.libs/libgettextlib.so -lc
creating msguniq
creating msginit
make[4]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/src'
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/src'
Making all in po
make[3]: Entering directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/po'
Making all in projects
make[3]: Entering directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/projects'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/projects'
Making all in misc
make[3]: Entering directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/misc'
WARNING: Warnings can be ignored. :-)
if test "emacs" != no; then \
  set x; \
  list='start-po.el po-mode.el po-compat.el'; for p in $list; do \
    if test -f "$p"; then d=; else d="./"; fi; \
    set x "$@" "$d$p"; shift; \
  done; \
  shift; \
  EMACS="emacs" /bin/sh ../../build-aux/elisp-comp "$@" || exit 1; \
else : ; fi
Loading /usr/share/emacs/site-lisp/site-gentoo (source)...
Loading gtk-doc (source)...
Fatal error (11).../../build-aux/elisp-comp: line 78: 20990 Segmentation fault      $EMACS -batch -q -l script -f batch-byte-compile *.el
make[3]: *** [elc-stamp] Error 1
make[3]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools/misc'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/gettext-0.14.5/work/gettext-0.14.5/gettext-tools'
make: *** [all-recursive] Error 1

!!! ERROR: sys-devel/gettext-0.14.5 failed.
Call stack:
  ebuild.sh, line 1565:   Called dyn_compile
  ebuild.sh, line 974:   Called src_compile
Comment 4 Matthew Kennedy (RETIRED) gentoo-dev 2006-04-26 10:28:47 UTC
Please try with CFLAGS='-O2 -march=athlon-xp -pipe', if that fails too, try rebuilding glibc too with those CFLAGS. I think it could be a CFLAGS problem and unfortunately, I dont have enough time to explore that.