Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 132132

Summary: gcc 4.1 segmentation fault while compiling net-fs/samba-3.0.22
Product: Gentoo Linux Reporter: Tiago Freire <tiago.freire>
Component: [OLD] Core systemAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: 2006.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: attached as requested by the error message

Description Tiago Freire 2006-05-03 07:49:41 UTC
Using FLAGS =  -march=athlon-xp -O2 -pipe -ftree-vectorize -D_SAMBA_BUILD_ -I/usr/include/mysql -march=athlon-xp -pipe -ffast-math -fforce-addr -falign-functions=64 -fprefetch-loop-arrays -ftree-vectorize -DHAVE_ERRNO_AS_DEFINE=1 -I/usr/include/libxml2  -Iinclude -I/var/tmp/portage/samba-3.0.22/work/samba-3.0.22/source/include -I/var/tmp/portage/samba-3.0.22/work/samba-3.0.22/source/ubiqx -I/var/tmp/portage/samba-3.0.22/work/samba-3.0.22/source/tdb  -I. -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -DLDAP_DEPRECATED -I/var/tmp/portage/samba-3.0.22/work/samba-3.0.22/source -D_SAMBA_BUILD_
Compiling dynconfig.c
      LIBS = -lcrypt -lresolv -lnsl -ldl -lrt
      LDSHFLAGS = -shared -Wl,-Bsymbolic -Wl,--allow-shlib-undefined  -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
      LDFLAGS = -Wl,-rpath -Wl,/usr/lib -Wl,-rpath,/usr/lib
      PIE_CFLAGS = -fPIE
      PIE_LDFLAGS = -pie
Compiling param/loadparm.c
Compiling param/params.c
Compiling smbd/files.c
Compiling smbd/chgpasswd.c
Compiling smbd/connection.c
Compiling smbd/utmp.c
Compiling smbd/session.c
Compiling smbd/dfree.c
Compiling smbd/dir.c
Compiling smbd/password.c
Compiling smbd/conn.c
Compiling smbd/fileio.c
Compiling smbd/ipc.c
Compiling smbd/lanman.c
smbd/ipc.c: In function 'reply_trans':
smbd/ipc.c:364: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://bugs.gentoo.org/> for instructions.
Preprocessed source stored into /var/tmp/portage/samba-3.0.22/temp/ccxXv6WH.out file, please attach this to your bugreport.
make: *** [smbd/ipc.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: net-fs/samba-3.0.22 failed.
Call stack:
  ebuild.sh, line 1532:   Called dyn_compile
  ebuild.sh, line 929:   Called src_compile
  samba-3.0.22.ebuild, line 132:   Called die


emerge --info
Portage 2.1_pre7-r5 (default-linux/x86/2005.1, gcc-4.1.0, glibc-2.3.6-r3, 2.6.16-gentoo-r3 i686)
=================================================================
System uname: 2.6.16-gentoo-r3 i686 AMD Athlon(tm) XP 2600+
Gentoo Base System version 1.6.14
ccache version 2.3 [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.12
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
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O2 -pipe -ftree-vectorize"
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/lib/mozilla/defaults/pref /usr/share/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -ftree-vectorize"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://mirror.datapipe.net/gentoo http://mirror.datapipe.net/gentoo http://gentoo.seren.com/gentoo ftp://gentoo.chem.wisc.edu/gentoo/"
LANG="C"
LINGUAS="en pt_BR"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/overlay"
SYNC="rsync://portage.cert-id.com.br/portage"
USE="x86 3dnow 3dnowext X a52 aac acl acpi alsa apache2 apm arts async authdaemond automount avi berkdb bitmap-fonts bluetooth bootsplash browserplugin bzip2 cairo cdparanoia cdr cjk cli crypt cups curl curlwrappers dba dbase dbus dga dhcp divx4linux doc dri dv dvd dvdr dvdread eds emboss encode examples fbcon firebird firefox flac flash foomaticdb fortran gcj gd gdbm geoip gif gnome gpm gstreamer gtk gtk2 hal iconv imap imlib innodb interbase ipv6 isdnlog jabber java javascript joystick jpeg jpeg2k kde kdeenablefinal kdepim kdexdeltas kerberos ldap ldapsam libclamav libg++ libwww lm_sensors mad madwifi maildir mailwrapper matroska mhash mikmod mmx mmxext mono motif mozilla mozsvg mp3 mpeg mplayer multislot multitarget mysql mysqli ncurses nls nptl nptlonly nsplugin oav odbc offensive ogg oggvorbis opengl oss pam pam_chroot pam_console pcre pda pdf pdflib perl php pic png posix postgres povray pppd prelink python qt quicktime rdesktop readline reflection samba sasl sdk sdl session snmp soap sockets speex spell spl sqlite sse ssl subp subversion svg syslog tcpd theora threads tidy tiff tokenizer truetype truetype-fonts type1-fonts unicode utf8 vhosts vorbis wddx wifi win32 win32codecs wmf xine xml xml2 xmms xorg xscreensaver xsl xv xvid yahoo zeroconf zlib elibc_glibc input_devices_aiptek input_devices_joystick input_devices_keyboard input_devices_mouse kernel_linux linguas_en linguas_pt_BR userland_GNU video_cards_ati video_cards_radeon video_cards_fglrx video_cards_fbdev video_cards_vesa"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, LDFLAGS
Comment 1 Tiago Freire 2006-05-03 07:53:55 UTC
Created attachment 86072 [details]
attached as requested by the error message
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-05-03 08:06:14 UTC
-ftree-vectorize breaks this. See the other bug.

*** This bug has been marked as a duplicate of 131566 ***