When i'm trying to compile eclipse-sdk-3.1.1 with sun-jdk-1.5.0.06-r2 i get the following errormessage: [exec] os.c: In function `Java_org_eclipse_swt_internal_gtk_OS__1gdk_1x11_1screen_1get_1window_1manager_1name': [exec] os.c:4863: warning: passing arg 1 of `gdk_x11_screen_get_window_manager_name' makes pointer from integer without a cast [exec] /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: warning: creating a DT_TEXTREL in object. [exec] /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: xpcom.o: relocation R_X86_64_PC32 against `NS_InitEmbedding' can not be used when making a shared object; recompile with -fPIC [exec] /usr/lib/gcc/x86_64-pc-linux-gnu/3.4.5/../../../../x86_64-pc-linux-gnu/bin/ld: final link failed: Bad value [exec] collect2: ld returned 1 exit status [exec] make: *** [libswt-mozilla-gtk-3139.so] Error 1 BUILD FAILED /var/tmp/portage/eclipse-sdk-3.1.1/work/eclipse-sdk-3.1.1/build.xml:53: exec returned: 2 Total time: 5 minutes 20 seconds !!! ERROR: dev-util/eclipse-sdk-3.1.1 failed. !!! Function src_compile, Line 119, Exitcode 1 !!! Failed to compile Eclipse !!! If you need support, post the topmost build error, NOT this status message. To me this is looks like a problem with mozilla or firefox. This is my emerge info: Portage 2.1_pre3-r1 (default-linux/amd64/2005.0, gcc-3.4.5, glibc-2.3.6-r2, 2.6.15-gentoo x86_64) ================================================================= System uname: 2.6.15-gentoo x86_64 AMD Athlon(tm) 64 Processor 3200+ Gentoo Base System version 1.12.0_pre15 ccache version 2.4 [enabled] dev-lang/python: 2.3.5, 2.4.2 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-r1 sys-devel/binutils: 2.16.1-r1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=athlon64 -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d" CXXFLAGS="-march=athlon64 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig candy ccache distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://ftp.snt.utwente.nl/pub/linux/gentoo/ http://distfiles.gentoo.org 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/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X acpi alsa apache2 arts audiofile avi berkdb bitmap-fonts bluetooth bzip2 cdr crypt cups curl divx4linux dvd dvdr eds emboss encode esd exif expat fam ffmpeg fortran gdbm gif gimp glut gmp gphoto2 gstreamer gtk gtk2 gtkhtml hal idn imagemagick imap imlib ipv6 java jpeg junit kde kdeenablefinal lcms libwww lzw lzw-tiff mad maildir mhash mikmod mng mozilla mp3 mpeg mysql ncurses nls nsplugin ogg oggvorbis opengl oss pam pcre pda pdflib perl php pic png python qt quicktime readline real samba scanner sdl spell sqlite ssl tcpd tiff truetype truetype-fonts type1-fonts udev usb userlocales vcd vorbis xine xml2 xmms xpm xv xvid zlib elibc_glibc kernel_linux userland_GNU" Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS
I did some small research and now i'm able to compile eclipse-sdk. But I have to disable two USE flags mozilla and firefox. And I like to use eclipse with at least one of them. These are the versions of mozilla and mozilla-firefox: www-client/mozilla-firefox-1.5-r9 www-client/mozilla-1.7.12-r2 Hopefully this helps!
This still fails with USE="firefox" mozilla-firefox-1.5.0.1-r1 .oOo. ================================================================= System uname: 2.6.15.6 x86_64 AMD Opteron(tm) Processor 242 Gentoo Base System version 1.12.0_pre16 distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled] dev-lang/python: 2.3.5-r2, 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-r1 sys-devel/binutils: 2.16.1-r2 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r3 ACCEPT_KEYWORDS="amd64 ~amd64" AUTOCLEAN="yes" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=opteron -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/fax /usr/lib64/mozilla/defaults/pref /usr/share/config /var/qmail/control /var/spool/fax/etc" CONFIG_PROTECT_MASK="/etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c /etc/env.d" CXXFLAGS="-march=opteron -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="-j3" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="amd64 X a52 aac aalib accessibility acl acpi aim alsa apache2 arts audacious audiofile avi bash-completion berkdb bitmap-fonts bonobo browserplugin bzip2 cdda cddb cdparanoia cdr chroot crypt cups curl curlwrappers dbus dga dio directfb divx4linux dmx dri dv dvd dvdr dvdread eds emboss encode esd ethereal examples exif extrafilters fame fbcon ffmpeg firefox flac flash foomaticdb fortran gcj gd gd-external gdbm ggi gif gimp gimpprint glut gnome gnutils gphoto2 gpm gstreamer gtk gtk2 gtkhtml guile hal hardenedphp icq idn imagemagick imap imlib infopipe ipv6 irc jabber java javascript jikes jpeg jpeg2k junit kde kerberos lcms ldap libcaca libedit libvisual libwww lm_sensors lzo lzw lzw-tiff mad matroska mikmod mime ming mjpeg mmap mng mozcalendar mozilla mozsvg mp3 mpeg musepack musicbrainz mysql mysqli nas ncurses nls nptl nptlonly nsplugin odbc offensive ogg oggvorbis openal opengl oscar pam pcre pda pdflib perl php png portaudio posix postgres ppds python qt quicktime readline real rtc ruby samba sasl scanner sdk sdl session shorten simplexml skins slang slp sndfile snmp soap sockets sox speex spell spl sqlite ssl svg tckltk tcltk tcpd tetex theora threads tidy tiff tokenizer transcode truetype truetype-fonts type1-fonts udev unicode usb v4l v4l2 vcd vcdimager vchroot verbose vhosts videos visualization vorbis wma wmf wxgtk1 xcomposite xface xine xinerama xml xml2 xmlrpc xmms xpm xprint xscreensaver xsl xv xvid yahoo zeo zlib elibc_glibc kernel_linux userland_GNU video_cards_ati" Unset: ASFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, LANG, LC_ALL, LDFLAGS, LINGUAS
Seeing as the original issue is fixed... marking fixed. For the issue with firefox-1.5, see bug #126957