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

Bug 73420

Summary: dev-libs/pwlib-1.6.6-r1 causes ICE with gcc-3.4.3-r1
Product: Gentoo Linux Reporter: Prakash Punnoor <prakashp>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Prakash Punnoor 2004-12-05 02:13:14 UTC
I will try lowering my CFLAGS and see whether it helps...

g++ -DP_USE_PRAGMA  -ffunction-sections -fdata-sections -D_REENTRANT  -Wall  -fPIC -I/var/tmp/portage/pwlib-1.6.6-r1/work/pwlib/include -Os  -march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers -fomit-frame-pointer -fprefetch-loop-arrays -x c++ -c ../../ptclib/ipacl.cxx -o /var/tmp/portage/pwlib-1.6.6-r1/work/pwlib/lib/obj_linux_x86_r/ipacl.o
In file included from /var/tmp/portage/pwlib-1.6.6-r1/work/pwlib/include/ptlib/contain.h:782,
                 from /var/tmp/portage/pwlib-1.6.6-r1/work/pwlib/include/ptlib.h:146,
                 from ../../ptclib/ipacl.cxx:75:
/var/tmp/portage/pwlib-1.6.6-r1/work/pwlib/include/ptlib/contain.inl: In constructor `PAbstractList::PAbstractList()':
/var/tmp/portage/pwlib-1.6.6-r1/work/pwlib/include/ptlib/contain.inl:428: warning: right-hand operand of comma has no effect
../../ptclib/ipacl.cxx: In member function `BOOL PIpAccessControlList::Add(PIPSocket::Address, PIPSocket::Address, BOOL)':
../../ptclib/ipacl.cxx:531: internal compiler error: in sweep_string_variable, at protector.c:1158
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/pwlib-1.6.6-r1/temp/ccIdPm6j.out file, please attach this toyour bugreport.
make[1]: *** [/var/tmp/portage/pwlib-1.6.6-r1/work/pwlib/lib/obj_linux_x86_r/ipacl.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pwlib-1.6.6-r1/work/pwlib/src/ptlib/unix'
make: *** [opt] Error 2


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




Portage 2.0.51-r8 (gcc34-x86-2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0,
2.6.10-rc3-ck1 i686)
=================================================================
System uname: 2.6.10-rc3-ck1 i686 AMD Athlon(tm)
Gentoo Base System version 1.6.7
Python:              dev-lang/python-2.3.4 [2.3.4 (#1, Nov 29 2004, 12:17:47)]
distcc 2.18.2 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.4
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.8.5-r2, 1.9.3, 1.5, 1.6.3, 1.7.9, 1.4_p6
sys-devel/binutils:  2.15.92.0.2-r1
sys-devel/libtool:   1.5.2-r7
virtual/os-headers:  2.6.8.1-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers
-fomit-frame-pointer -fprefetch-loop-arrays"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /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/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -mtune=athlon-xp -O2 -pipe -frename-registers
-fomit-frame-pointer -fprefetch-loop-arrays -fvisibility-inlines-hidden"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs candy ccache digest distlocks prelink sandbox"
GENTOO_MIRRORS=" ftp://ftp.tu-clausthal.de/pub/linux/gentoo/
ftp://linux.rz.ruhr-uni-bochum.de/gentoo-mirror/http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/bmg-main /usr/lportage"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage/"
USE="3dnow 3dnowex S3TC X Xaw3d aac acpi acpi4linux alsa apm audiofile avi
berkdb bitmap-fonts cddb cdparanoia cdr crypt cups curl dga divx4linux dts dv
dvb dvd dvdr dvdread edl encode ext-png ext-zlib faac faad ffmpeg fftw flac
foomaticdb freetype gdbm gif gimp gimpprint gnome gphoto2 gpm gs gstreamer gtk
gtk2 gtkhtml hal ieee1394 imlib ithreads java javascript jpeg jpeg2k kde ldap
libg++ libwww live lm_sensors lzo mad matroska mikmodmmx mmx2 monkey motif
moznocompose mpeg mpi nas ncurses network nls no_wxgtk1 nocd nptl nvidia
oggvorbis openal opengl openssh oss pam pdflib perl pic png povray ppds python
qt qtmt quicktime readline real rtc samba scanner sdl slang smime speex spell
sqlite sse ssl tcpd tetex theora threads tiff transcode truetype usb videos wmf
wxwindows x86 xfs xine xinetd xml xml2 xmms xprint xv xvid xvmc yv12 zlib
linguas_de"
Comment 1 Prakash Punnoor 2004-12-05 02:18:05 UTC
Going down to CFLAGS="-march=i586 -mtune=i586 -O2 -pipe" didn't help. Something majorly broken with gcc...

BTW, why doesn't this package respect CXXFLAGS? I see that configure gets called with it, but -fvisibility-inlines-hidden still doesn't appear at the compilation...
Comment 2 Prakash Punnoor 2004-12-05 14:35:51 UTC
It compiled through as I followed instructions on bug 73383. Root of all evil seems to be bug 68799. Just a guess, though.
Comment 3 Carsten Lohrke (RETIRED) gentoo-dev 2004-12-05 15:01:10 UTC
Prakash, please add your findings to the other bug report.

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