Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 53953 - sys-devel/gcc-3.4.0-r6 fails to emerge with USE=java gcj
Summary: sys-devel/gcc-3.4.0-r6 fails to emerge with USE=java gcj
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All All
: High normal (vote)
Assignee: AMD64 Project
Depends on:
Reported: 2004-06-15 00:45 UTC by Jeremy Huddleston (RETIRED)
Modified: 2004-06-16 13:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Jeremy Huddleston (RETIRED) gentoo-dev 2004-06-15 00:45:26 UTC
mkdir .libs
/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build/gcc/xgcc -shared-libgcc -B/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build/gcc/ -nostdinc++ -L/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src -L/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build/x86_64-pc-linux-gnu/32/libstdc++-v3/src/.libs -B/usr/x86_64-pc-linux-gnu/bin/ -B/usr/x86_64-pc-linux-gnu/lib/ -isystem /usr/x86_64-pc-linux-gnu/include -isystem /usr/x86_64-pc-linux-gnu/sys-include -m32 -DHAVE_CONFIG_H -I. -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava -I./include -I./gcj -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava -Iinclude -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/include -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/boehm-gc/include -DGC_LINUX_THREADS=1 -D_REENTRANT=1 -DTHREAD_LOCAL_ALLOC=1 -DSILENT=1 -DNO_SIGNALS=1 -DALL_INTERIOR_POINTERS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1 -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/libltdl -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/libltdl -I../libstdc++-v3/include -I../libstdc++-v3/include/x86_64-pc-linux-gnu -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/../libstdc++-v3/libsupc++ -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/.././libjava/../gcc -I/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/../libffi/include -I../libffi/include -O2 -pipe -O2 -fno-rtti -fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum -ffloat-store -fno-omit-frame-pointer -I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFIX=\"/usr\" -DLIBDIR=\"/usr/lib\" -DBOOT_CLASS_PATH=\"/usr/share/gcc-data/x86_64-pc-linux-gnu/3.4/java/libgcj-3.4.0.jar\" -pipe -O2 -D_GNU_SOURCE -m32 -Wp,-MD,.deps/prims.pp -c /mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/  -fPIC -DPIC -o .libs/prims.o
/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/ In function `jint _Jv_CreateJavaVM(void*)':
/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/ error: `SYS_sigaction' undeclared (first use this function)
/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/gcc-3.4.0/libjava/ error: (Each undeclared identifier is reported only once for each function it appears in.)
./include/java-signal-aux.h: At global scope:
./include/java-signal-aux.h:125: warning: 'void restore()' declared `static' but never defined
make[5]: *** [prims.lo] Error 1
make[5]: Leaving directory `/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build/x86_64-pc-linux-gnu/32/libjava'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build/x86_64-pc-linux-gnu/32/libjava'
make[3]: *** [multi-do] Error 1
make[3]: Leaving directory `/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build/x86_64-pc-linux-gnu/libjava'
make[2]: *** [all-multi] Error 2
make[2]: Leaving directory `/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build/x86_64-pc-linux-gnu/libjava'
make[1]: *** [all-target-libjava] Error 2
make[1]: Leaving directory `/mnt/raid0/tmp/portage/gcc-3.4.0-r6/work/build'
make: *** [profiledbootstrap] Error 2

!!! ERROR: sys-devel/gcc-3.4.0-r6 failed.
!!! Function src_compile, Line 637, Exitcode 2
!!! (no error message)

Portage 2.0.50-r8 (gcc34-amd64-2004.1, gcc-3.4.0, glibc-2.3.3_pre20040529-r0, 2.6.5-gentoo-r1)
System uname: 2.6.5-gentoo-r1 x86_64 4
Gentoo Base System version 1.4.16
distcc 2.13 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.5
CFLAGS="-O2 -pipe -fomit-frame-pointer"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /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="-O2 -pipe -fomit-frame-pointer"
FEATURES="autoaddcvs ccache cvs fixpackages sandbox userpriv usersandbox"
USE="3ds S3TC X X509 Xaw3d aac aalib accessibility acl acpi activefilter afs aim alsa altivec amd amd64 apache2 apm ardour-ksi arts artswrappersuid atlas audiofile autofs avantgo avi berkdb bidi bindist caps cdr chroot clamav clanJavaScript clanVoice clearpasswd clisp cmucl crypt cscope cups curl dbcp dedicated dga directfb divx4linux dnd doc dv dvd dvdr eim emacs emacs-w3 encode esd ethereal evms2 evo expat ext-png ext-zlib f77 faac faad fam fax fbcon fbdev ffmpeg flac flash fltk fluidsynth foomaticdb freetype fs fullrpc gb gcj gcl gd gd-external gdbm ggi gif gimp gimpprint glade glut gmp gmtfull gmthigh gmtsuppl gmttria gnome gnomedb gnuplot gphoto2 gpm gps gstreamer gtk gtk2 gtkhtml guile hbci icq idl image imagemagick imap imlib imlib2 innodb ipalias ipv6 jabber jack jack-caps java javacomm javamail javascript jbig jikes joystick jp2 jpeg js junit justify kde ladcca lcd lcms libdsk libg libg++ libgda libwww lids lmtp log4j ltsp lua lucid lzw lzw-tiff maildir make-busybox-symlinks makecheck mcal md5sum menu mikmod milter mixer mng mono motif mozcalendar mozctl mozilla mozinterfaceinfo mozp3p mozsvg mozxmlterm mpeg mpeg4 mpi mplayer msn mule multilib music mysql nas native ncurses neXt nls nogcj nptl nvidia nviz oav objc oci8 odbc offensive ofx oggvorbis oldworld openal opengl oscar oss pam parse-clocks passfile pcap pcmcia pcre pda pdflib perl php pic pie plotutils png pnp portaudio ppds prelude propolice psyco python qhull qt quicktime readline regexp rplay ruby samba sasl sdk sdl skey slang slp sndfile socks5 sox speex spell sqlite src ssl svg tcltk tcpd tetex theora tiff timidity transcode transparent-proxy truetype trusted type1 ucs2 usb v4l v4l2 vda vhosts videos vim-with-x virus-scan wmf wsconvert wxwin wxwindows xchattext xemacs xface xforms xfs xine xinerama xml xml2 xmms xosd xprint xv xvid yahoo zeo zlib"

I had to set FEATURES=-sandbox when emerging because of another reported bug.
Comment 1 Travis Tilley (RETIRED) gentoo-dev 2004-06-15 13:17:18 UTC
this is not a gcc-porting bug...

and gcj is known not to compile with multilib enabled. it probably wont be fixed until we have proper multilib dependencies in portage and can get rid of the multilib disable hack in glibc :/
Comment 2 Danny van Dyk (RETIRED) gentoo-dev 2004-06-16 13:04:42 UTC
CANTFIX at the moment...