Summary: | sun-j2sdk does not compile on a new installed gentoo, x86, development-sources | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Philipp Riegger <bugs+gentoo> |
Component: | [OLD] Development | Assignee: | Java team <java> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Philipp Riegger
2004-10-25 12:42:15 UTC
The first /error/ ./Xm.msg:2: unknown directive `': line ignored ./Xm.msg:16: unknown directive `': line ignored is known and is harmless (caused by glibc changes). A workaround is in place and did kick in for your build. The actual error is that java crashed (Error 139 is a segmentation fault normally) I have no solution, probably some weirdo local thing on your machine (works fine here). I just tried to reproduce this problem; I successfully built and installed for me (dev-java/sun-j2sdk-1.4.2). emerge info output: Portage 2.0.51-r2 (default-x86-2004.0, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.9-gentoo-r1 i686) ================================================================= System uname: 2.6.9-gentoo-r1 i686 AMD Athlon(tm) XP 2600+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r5 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.14.90.0.8-r1 Headers: sys-kernel/linux-headers-2.4.21-r1 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-O2 -march=athlon-xp -fomit-frame-pointer -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /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=athlon-xp -fomit-frame-pointer -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache distlocks fixpackages sandbox" GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.llarian.net/ http://128.213.5.34/gentoo/ http://gentoo.chem.wisc.edu/gentoo/ http://gentoo.seren.com/gentoo" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://opti.askneil.com/gentoo-portage" USE="3dnow X aalib acl alsa apache2 apm arts avi berkdb bitmap-fonts cdr crypt cups dga directfb doc dvd encode esd foomaticdb gdbm gif gimpprint gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml imagemagick imap imlib innodb java jpeg kde libg++ libwww mad mikmod mmx mng motif mozilla mpeg mysql ncurses nls oggvorbis opengl oss pam pda pdflib perl png postgres ppds python qt quicktime readline scanner sdl slang spell ssl svga tcpd tiff truetype wmf x86 xinerama xml2 xmms xv zlib video_cards_nvidia" Just noticed: CFLAGS="-march=pentium2 -O3 -pipe -fomit-frame-pointer -fPIC" Please remove -fPIC from there, having it there is very broken. (A real no no) grsec in kernel might also be a source of problems as it interfers with userspace; but I do not know much about that stuff. |