Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 56864 - Internal Compiler Error: Segmentation Fault while compiling dev-libs/pwlib-1.5.2-r3 on amd64
Summary: Internal Compiler Error: Segmentation Fault while compiling dev-libs/pwlib-1....
Status: RESOLVED CANTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: AMD64 Project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-12 22:43 UTC by Luke-Jr
Modified: 2004-07-13 23:22 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 Luke-Jr 2004-07-12 22:43:10 UTC
This applies to 1.6.3-r2 (~amd64), also:

g++ -DP_LINUX=2.6.7-gentoo-r8 -DP_64BIT -ffunction-sections -fdata-sections -D_REENTRANT  -Wall  -DP_64BIT -DP_USE_PRAGMA -DPHAS_TEMPLATES -I/var/tmp/portage/pwlib-1.5.2-r3/work/pwlib/include/ptlib/unix -I/usr/include/pwlib -I/var/tmp/portage/pwlib-1.5.2-r3/work/pwlib/include -DP_USE_PRAGMA -Os -DNDEBUG -O2 -march=k8 -pipe -fomit-frame-pointer -fweb -ftracer -fPIC -x c++ -c asn_lex.cxx -o obj_linux_x86_64_r/asn_lex.o
In file included from /var/tmp/portage/pwlib-1.5.2-r3/work/pwlib/include/ptlib/unix/ptlib/../../contain.h:776,
                 from /var/tmp/portage/pwlib-1.5.2-r3/work/pwlib/include/ptlib/unix/ptlib/contain.h:120,
                 from /var/tmp/portage/pwlib-1.5.2-r3/work/pwlib/include/ptlib.h:139,
                 from asn_lex.l:88:
/var/tmp/portage/pwlib-1.5.2-r3/work/pwlib/include/ptlib/contain.inl: In constructor `PAbstractList::PAbstractList()':
/var/tmp/portage/pwlib-1.5.2-r3/work/pwlib/include/ptlib/contain.inl:419: warning: right-hand operand of comma has no effect
asn_lex.l: In function `int yylex()':
asn_lex.l:492: 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/pwlib-1.5.2-r3/temp/ccIN4BA9.out file, please attach this to your bugreport.
make[1]: *** [obj_linux_x86_64_r/asn_lex.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/pwlib-1.5.2-r3/work/pwlib/tools/asnparser'
make: *** [opt] Error 2

!!! ERROR: dev-libs/pwlib-1.5.2-r3 failed.
!!! Function src_compile, Line 62, Exitcode 2
!!! make failed
Comment 1 Danny van Dyk (RETIRED) gentoo-dev 2004-07-13 07:54:14 UTC
Please provide your emerge info.
Comment 2 Luke-Jr 2004-07-13 09:49:43 UTC
Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.4.20040605-r0, 2.6.7-gentoo-r8)
=================================================================
System uname: 2.6.7-gentoo-r8 x86_64 12
Gentoo Base System version 1.4.16
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fweb -ftracer -fPIC"
CHOST="x86_64-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8 -pipe -fomit-frame-pointer -fweb -ftracer -fPIC"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache fixpackages keeptemp keepwork sandbox"
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="/usr/local/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="3ds X aalib acl acpi aim alsa amd64 anthy apache2 apm arts avi berkdb bzlib calendar caps cdr cjk crypt cups directfb dvb dvd dvdr encode esd ethereal faac faad fam fbcon flac foomaticdb ftp gcc gcj gdbm gif gimp gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imap imlib inifile ipv6 jabber java javascript jikes joystick jpeg kde ldap libcaca libg++ libwww live lufsusermount mad maildir matroska mcal md5sum memlimit mikmod mng motif mozcalendar mozdomi mozilla mozp3p mozsvg mozxmlterm mpeg msn mysql nagios-dns nagios-ntp nagios-ping nagios-ssh nas ncurses net nls nocd oav oggvorbis ooo-kde openal opengl opie oscar oss pam pda pdflib perl php pic png python qt quicktime readline ruby samba scanner sdk sdl session shared skk slang slp snmp socks5 speex spell ssl ssvg tcltk tcpd theora tiff truetype unicode usb v4l v4l2 vhosts vim-with-x virus-scan wmf wxwindows xchattext xml2 xmms xosd xprint xsl xv xvid yahoo zlib"
Comment 3 Luke-Jr 2004-07-13 11:26:41 UTC
[ebuild   R   ] sys-devel/gcc-3.4.0-r6  -bootstrap -build -debug -f77 +gcj +gtk2 -hardened -multilib -n32 -n64 +nls -objc -static -(uclibc)  0 kB
[ebuild   R   ] sys-devel/bison-1.875  +nls -static -(uclibc)  0 kB
Comment 4 Travis Tilley (RETIRED) gentoo-dev 2004-07-13 11:29:51 UTC
it's generally discouraged to put -fPIC in your CFLAGS... other than that i cant say much more than worksforme. perhaps you borked something in your local install?
Comment 5 Travis Tilley (RETIRED) gentoo-dev 2004-07-13 11:34:25 UTC
yeah, i just did an emerge of pwlib using the exact same cflags as you... works fine here. i'm using gcc 3.4.1.
Comment 6 Luke-Jr 2004-07-13 13:06:23 UTC
Works with GCC 3.4.1.
Perhaps DEPEND on non-3.4.0?
Comment 7 Danny van Dyk (RETIRED) gentoo-dev 2004-07-13 23:11:10 UTC
BUG only occurs on <gcc-3.4.0. CANTFIX.
Comment 8 Luke-Jr 2004-07-13 23:22:00 UTC
Can be fixed by DEPENDing on a proper version of gcc...