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

Bug 128238

Summary: compiler error when emerging coin-2.4.4 with gcc-3.4.6
Product: Gentoo Linux Reporter: Manfred Kroehnert <Manfred.Kroehnert>
Component: [OLD] UnspecifiedAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: preprocessed sourcefile

Description Manfred Kroehnert 2006-03-31 05:04:08 UTC
Everytime i try to emerge media-libs/coin-2.4.4 I get a compiler error.
When I use gcc-3.3.4 coin compiles without problems.
Maybe my gcc is corrupt but I don't know exactly.

emerge -pv coin:

[ebuild   R   ] media-libs/coin-2.4.4  USE="X opengl zlib -bzip2 -debug -doc -fontconfig -openal" 0 kB

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

the last lines from emerge coin:

i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../../include -I../../include -D_REENTRANT -DNDEBUG -DCOIN_DEBUG=0 -DNDEBUG -DCOIN_INTERNAL -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-exceptions -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -MT SoToVRML2Action.lo -MD -MP -MF .deps/SoToVRML2Action.Tpo -c SoToVRML2Action.cpp  -fPIC -DPIC -o .libs/SoToVRML2Action.o
if /bin/sh ../../libtool --mode=compile i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../../include -I../../include    -D_REENTRANT -DNDEBUG -DCOIN_DEBUG=0 -DNDEBUG -DCOIN_INTERNAL  -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-exceptions -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual  -MT SoWriteAction.lo -MD -MP -MF ".deps/SoWriteAction.Tpo" \
  -c -o SoWriteAction.lo `test -f 'SoWriteAction.cpp' || echo './'`SoWriteAction.cpp; \
then mv -f ".deps/SoWriteAction.Tpo" ".deps/SoWriteAction.Plo"; \
else rm -f ".deps/SoWriteAction.Tpo"; exit 1; \
fi
SoToVRMLAction.cpp: In member function `void SoToVRMLAction::setUrlName(SbString)':
SoToVRMLAction.cpp:363: 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/coin-2.4.4/temp/ccGMv6fT.out file, please attach this to your bugreport.
make[3]: *** [SoToVRMLAction.lo] Error 1
make[3]: *** Waiting for unfinished jobs....
 i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I../../include -I../../include -D_REENTRANT -DNDEBUG -DCOIN_DEBUG=0 -DNDEBUG -DCOIN_INTERNAL -O2 -march=pentium4 -fomit-frame-pointer -pipe -fno-exceptions -W -Wall -Wno-unused -Wno-multichar -Woverloaded-virtual -MT SoWriteAction.lo -MD -MP -MF .deps/SoWriteAction.Tpo -c SoWriteAction.cpp  -fPIC -DPIC -o .libs/SoWriteAction.o
make[3]: Leaving directory `/var/tmp/portage/coin-2.4.4/work/Coin-2.4.4/src/actions'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/coin-2.4.4/work/Coin-2.4.4/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/coin-2.4.4/work/Coin-2.4.4'
make: *** [all] Error 2


!!! ERROR: media-libs/coin-2.4.4 failed.
Call stack:
  ebuild.sh, line 1526:   Called dyn_compile
  ebuild.sh, line 923:   Called src_compile
  coin-2.4.4.ebuild, line 63:   Called die

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

emerge --info:

Portage 2.1_pre7-r3 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-suspend2-r1n i686)
=================================================================
System uname: 2.6.16-suspend2-r1n i686 Intel(R) Pentium(R) 4 CPU 1.70GHz
Gentoo Base System version 1.12.0_pre16
ccache version 2.4 [enabled]
dev-lang/python:     2.3.5, 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-r2
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="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/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="-O2 -march=pentium4 -fomit-frame-pointer -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://mirror.etf.bg.ac.yu/gentoo http://gentoo.inode.at/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/"
LC_ALL="en_US.utf8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage//packages/x86/"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage/"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="X alsa aqt avi berkdb cdr cmucl crypt dlloader dvd emacs gtk gtk2 hardened ipv6 jpeg mmx nls nptl nptlonly opengl pam pic readline samba sse ssl tcpd unicode userlocales x86 xemacs xmms zlib elibc_glibc input_devices_mouse input_devices_keyboard kernel_linux userland_GNU video_cards_ati video_cards_vesa video_cards_fbdev"
Unset:  ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LDFLAGS, LINGUAS

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

gcc-config -l:

 [1] i686-pc-linux-gnu-3.3.4
 [2] i686-pc-linux-gnu-3.4.6 *
 [3] i686-pc-linux-gnu-3.4.6-hardenednopie
 [4] i686-pc-linux-gnu-3.4.6-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.6-hardenednossp
 [6] i686-pc-linux-gnu-3.4.6-vanilla

-----------------------------------------------------------------------------
Comment 1 Manfred Kroehnert 2006-03-31 05:05:58 UTC
Created attachment 83497 [details]
preprocessed sourcefile
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-03-31 07:48:38 UTC

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