Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 32250 - lufs compile seg faults
Summary: lufs compile seg faults
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Wout Mertens (RETIRED)
URL:
Whiteboard:
Keywords:
: 32268 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-10-29 01:56 UTC by Craig Main
Modified: 2003-11-25 17:45 UTC (History)
0 users

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 Craig Main 2003-10-29 01:56:06 UTC
Segmentation fault when emerging lufs

Reproducible: Always
Steps to Reproduce:
1. emerge lufs
Actual Results:  
<snip>
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../
-I/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/include -O2 -Wall
-DSSHPROG=\"/usr/bin/ssh\" -MT sshfs.lo -MD -MP -MF .deps/sshfs.Tpo -c sshfs.cpp
 -fPIC -DPIC -o sshfs.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../
-I/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/include -O2 -Wall
-DSSHPROG=\"/usr/bin/ssh\" -MT sftplib.lo -MD -MP -MF .deps/sftplib.Tpo -c
sftplib.cpp  -fPIC -DPIC -o sftplib.lo
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [sshfs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory
`/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/filesystems/sshfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/filesystems'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6'
make: *** [all] Error 2
 
!!! ERROR: sys-fs/lufs-0.9.6 failed.
!!! Function src_compile, Line 391, Exitcode 2
!!! emake failed


Expected Results:  
lufs to compile

laptop src # emerge --info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r8, 2.4.23_pre7-gss)
=================================================================
System uname: 2.4.23_pre7-gss i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System version 1.4.3.11
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-mcpu=pentium3 -march=pentium3 -O3 -pipe -Wall -ffast-math"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config
/usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/
/usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/mnt/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/home/portage"
PORTDIR="/mnt/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mmx
mpeg ncurses pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
gtkhtml gdbm slang readline arts tetex aalib bonobo svga ggi tcltk java guile
mysql postgres sdl gpm tcpd pam libwww ssl perl python esd imlib oggvorbis gtk
qt motif opengl mozilla ldap cdr X gtk2 gnome alsa kde nls -berkdb dvd
video_cards_radeon"
Comment 1 Craig Main 2003-10-29 06:43:58 UTC
*** Bug 32268 has been marked as a duplicate of this bug. ***
Comment 2 Seemant Kulleen (RETIRED) gentoo-dev 2003-10-29 16:54:05 UTC
what happens if you tone your CFLAGS down a little (like taking -ffast-math
out)
Comment 3 Guillaume Destuynder (RETIRED) gentoo-dev 2003-10-29 17:05:08 UTC
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../
-I/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/include -O2 -Wall
-DSSHPROG=\"/usr/bin/ssh\" -MT sshfs.lo -MD -MP -MF .deps/sshfs.Tpo -c sshfs.cpp
 -fPIC -DPIC -o sshfs.lo
g++ -DHAVE_CONFIG_H -I. -I

and

CXXFLAGS="-O2 -mcpu=i686 -pipe"
(this is c++)

i don't see ffast-maths here
and in the compilation command line neither, options seems to be -O2 -Wall
well regardless of that, on my comp (i use my 2.6 patch that i provided in
another bug next to it):
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I/var/tmp/portage/lufs-0.9.6/work/lufs-0.9.6/include
-O2 -Wall -DSSHPROG=\"/usr/bin/ssh\" -MT sshfs.lo -MD -MP -MF .deps/sshfs.Tpo
-c sshfs.cpp  -fPIC -DPIC -o sshfs.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I/var/tmp/portage/lufs-0.9.6/work/lufs-0.9.6/include
-O2 -Wall -DSSHPROG=\"/usr/bin/ssh\" -MT sftplib.lo -MD -MP -MF .deps/sftplib.Tpo
-c sftplib.cpp  -fPIC -DPIC -o sftplib.lo
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [sshfs.lo] Error 1
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r6, 2.6.0-test9)
=================================================================
System uname: 2.6.0-test9 i686 AMD Athlon(tm) XP 3200+
Gentoo Base System version 1.4.3.11
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-mcpu=athlon-xp -O3 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox ccache autoaddcvs"
GENTOO_MIRRORS="http://212.219.56.162/sites/www.ibiblio.org/gentoo/ http://mirrors.sec.informatik.tu-darmstadt.de/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss avi crypt encode foomaticdb gif jpeg kde libg++ libwww mad mikmod
mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib directfb
alsa gdbm slang readline bonobo svga tcltk java X sdl gpm tcpd pam ssl perl
python esd imlib oggvorbis gnome gtk qt opengl mozilla 3dnow acpi amd cdr
curl faad gmttria gstreamer gtk2 gtkhtml pcap samba socks5 sse vim-with-x
xine -apm -arts -cups -motif -berkdb"



Comment 4 Craig Main 2003-10-29 21:21:40 UTC
With no compile flags set I still get the segfault:

<snip>
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/include
-O2 -Wall -DSSHPROG=\"/usr/bin/ssh\" -MT sshfs.lo -MD -MP -MF .deps/sshfs.Tpo
-c sshfs.cpp  -fPIC -DPIC -o sshfs.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/include
-O2 -Wall -DSSHPROG=\"/usr/bin/ssh\" -MT sftplib.lo -MD -MP -MF .deps/sftplib.Tpo
-c sftplib.cpp  -fPIC -DPIC -o sftplib.lo
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [sshfs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/filesystems/sshfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6/filesystems'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/portage/portage/lufs-0.9.6/work/lufs-0.9.6'
make: *** [all] Error 2
 
!!! ERROR: sys-fs/lufs-0.9.6 failed.
!!! Function src_compile, Line 391, Exitcode 2
!!! emake failed
Comment 5 Moonshade 2003-11-08 16:57:06 UTC
Confirmed, segfaults when compiling using gcc-3.3.2-r2

g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I/var/tmp/portage/lufs-0.9.6/work/lufs-0.9.6/include
-O2 -Wall -DSSHPROG=\"/usr/bin/ssh\" -MT sftplib.lo -MD -MP -MF .deps/sftplib.Tpo
-c sftplib.cpp  -fPIC -DPIC -o sftplib.lo
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../ -I/var/tmp/portage/lufs-0.9.6/work/lufs-0.9.6/include
-O2 -Wall -DSSHPROG=\"/usr/bin/ssh\" -MT sshfs.lo -MD -MP -MF .deps/sshfs.Tpo
-c sshfs.cpp  -fPIC -DPIC -o sshfs.lo
g++: Internal error: Segmentation fault (program cc1plus)
Please submit a full bug report.
See <URL:http://bugs.gentoo.org/> for instructions.
make[3]: *** [sshfs.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
make[3]: Leaving directory `/var/tmp/portage/lufs-0.9.6/work/lufs-0.9.6/filesystems/sshfs'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/lufs-0.9.6/work/lufs-0.9.6/filesystems'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/lufs-0.9.6/work/lufs-0.9.6'
make: *** [all] Error 2
 
!!! ERROR: sys-fs/lufs-0.9.6 failed.
!!! Function src_compile, Line 391, Exitcode 2
!!! emake failed


Comment 6 Kevin Kress 2003-11-23 15:59:16 UTC
Any progress on this bug?

I am having the same problem with this setup:

 3:37pm ~>emerge --info
Portage 2.0.49-r15 (default-x86-1.4, gcc-3.3.2, glibc-2.3.1-r4,2.3.2-r9, 2.4.23-gss)
=================================================================
System uname: 2.4.23-gss i686 Intel(R) Pentium(R) III Mobile CPU      1200MHz
Gentoo Base System version 1.4.3.12
distcc 2.11.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=pentium3 -O3 -pipe -msse -mmmx -falign-functions=4 -mfpmath=sse -mcpu=pentium3"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=pentium3 -O3 -pipe -msse -mmmx -falign-functions=4 -mfpmath=sse -mcpu=pentium3"
DISTDIR="/usr/portage/distfiles"
FEATURES="sandbox autoaddcvs ccache"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt gif jpeg libg++ mpeg ncurses pdflib png qt spell truetype xml2 xmms xv zlib directfb gtkhtml alsa gdbm berkdb slang readline aalib bonobo svga ggi guile ruby X sdl tcpd pam libwww ssl perl python esd imlib oggvorbis gtk motif opengl gphoto2 acl acpi acpi4linux apache2 bcel cscope curl dga dvd ethereal fbcon fbdev freetype gd gtk2 hostap-nopci hostap-noplx imap imlib2 innodb ipcs ipv6 java jikes junit jython lcms maildir mbox memlimit mmx moznocompose moznoirc moznomail mozsvg mpi nptl pcap pcmcia pnp samba sasl sse tiff usagi usb vim-with-x wmf Xaw3d xinerama xml -arts -encode -foomaticdb -gpm -kde -gnome -mad -mikmod -nls -quicktime -tcltk -mysql -snmp -cups"
Comment 7 Wout Mertens (RETIRED) gentoo-dev 2003-11-25 17:45:25 UTC
This should be fixed with the 0.9.7 ebuild.