Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 332959 - [java-overlay] dev-java/icedtea-1.6.1.8.1-r1 fails compilation on test_gamma
Summary: [java-overlay] dev-java/icedtea-1.6.1.8.1-r1 fails compilation on test_gamma
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Java (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Java team
URL: http://icedtea.classpath.org/bugzilla...
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker
  Show dependency tree
 
Reported: 2010-08-16 08:31 UTC by onip
Modified: 2011-10-19 14:43 UTC (History)
0 users

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


Attachments
bzipped build.log and hotspot hs_error file (icedtea.tar.bz2,156.68 KB, application/octet-stream)
2010-08-16 08:34 UTC, onip
Details

Note You need to log in before you can comment on or make changes to this bug.
Description onip 2010-08-16 08:31:19 UTC
emerging icedtea is failing (also other 1.6.8 releases, not only the one in subject). This is similar to #329263 , but I don't have PaX enabled. build.log and icedtea log to follow

Reproducible: Always

Steps to Reproduce:
Comment 1 onip 2010-08-16 08:34:19 UTC
Created attachment 243169 [details]
bzipped build.log and hotspot hs_error file
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-08-26 23:01:25 UTC
emerge --info please
Comment 3 Andrew John Hughes 2010-08-26 23:23:17 UTC
This is not related to 329263, except in that test_gamma is involved.  test_gamma is killed by PaX in 329263, but here the just-built VM is faulty.

With regard to the recent fix for 329263, it is only relevant on a PaX enabled kernel.  test_gamma is still run if the kernel is not PaX enabled.

I'd suggest posting this to icedtea.classpath.org/bugzilla with environment details, including gcc, binutils versions etc. (emerge --info would be helpful).

I've not seen this failure and don't have an x86 box on which to replicate it.

Can you see if it emerges with USE="-hs16"?  It may be an issue relating to HotSpot 16.
Comment 4 onip 2010-08-27 07:40:01 UTC
(In reply to comment #2)
> emerge --info please
> 

emerge --info
Portage 2.1.8.3 (default/linux/x86/10.0/desktop/gnome, gcc-4.4.3, glibc-2.11.2-r0, 2.6.32-tuxonice-r7 i686)
=================================================================
System uname: Linux-2.6.32-tuxonice-r7-i686-Intel-R-_Core-TM-2_Duo_CPU_P8600_@_2.40GHz-with-gentoo-1.12.13
Timestamp of tree: Thu, 26 Aug 2010 09:45:01 +0000
app-shells/bash:     4.0_p37
dev-java/java-config: 2.1.11
dev-lang/python:     2.6.5-r3, 3.1.2-r4
dev-util/cmake:      2.8.1-r2
sys-apps/baselayout: 1.12.13
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.4.3-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
sys-devel/make:      3.81-r2
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -march=i686 -mmmx -msse -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--binpkg-respect-use=y"
FEATURES="assume-digests buildpkg distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.wheel.sk/ http://mirrors.ludost.net/gentoo/ http://gentoo.mneisen.org/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--hash-style=gnu"
LINGUAS="it"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/var/lib/layman/sunrise /var/lib/layman/java-overlay /var/lib/layman/science /usr/local/portage /var/lib/layman/gechi"
SYNC="rsync://192.168.1.7/gentoo-portage"
USE="X a52 aac aalib acpi alsa apache2 audiofile avahi berkdb branding bzip2 cairo cddb cdparanoia cdr cli consolekit cracklib crypt cups curl cxx dbus dga dri dts dvb dvd dvdr dvdread eds emboss encode evo exif fam fbcon ffmpeg firefox flac fortran ftp gdbm gdu gif gnome gnome-keyring gpm gstreamer gtk gtk2 gtkhtml hal iconv imagemagick imlib java jikes jpeg jpeg2k lame laptop lcms ldap libnotify mad mikmod mmx mng modules mono mp3 mp4 mpeg mudflap musepack musicbrainz nautilus ncurses networkmanager nls nptl nptlonly offensive ogg openal opengl openmp pam pango pcre pdf perl png policykit ppds pppd python quicktime readline reflection rtmp ruby samba schroedinger sdl session smp sndfile spell spl sse sse2 ssl ssse3 startup-notification svg sysfs tcpd theora threads tiff truetype udev unicode usb v4l v4l2 vaapi vcd vdpau vorbis vpx win32codecs wmf x264 x86 xinerama xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="nvidia" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 onip 2010-08-27 08:08:59 UTC
(In reply to comment #3)
> Can you see if it emerges with USE="-hs16"?  It may be an issue relating to
> HotSpot 16.
> 

same error on test_gamma
Comment 6 onip 2010-08-27 08:58:28 UTC
(In reply to comment #3)
> I'd suggest posting this to icedtea.classpath.org/bugzilla with environment
> details, including gcc, binutils versions etc. (emerge --info would be
> helpful).

Done,
http://icedtea.classpath.org/bugzilla/show_bug.cgi?id=533

Comment 7 Andrew John Hughes 2010-08-27 09:40:20 UTC
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--hash-style=gnu"

Can you try with just the defaults (LDFLAGS="-Wl,-O1 -Wl,--as-needed" AFAICS)
Comment 8 onip 2010-08-27 10:48:23 UTC
(In reply to comment #7)
> LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,-z,now -Wl,--hash-style=gnu"
> 
> Can you try with just the defaults (LDFLAGS="-Wl,-O1 -Wl,--as-needed" AFAICS)
> 

always the same
Comment 9 onip 2010-09-10 08:50:10 UTC
The problem lies in CFLAGS (and CXXFLAGS, they are the same), unsetting those from make.conf made icedtea-1.6.9 compile (and possibly run, I've used netbeans and glassfish for checking) just fine.

Digging gentoo bugzilla I've found bug #316543 and tried setting -mstackrealign, icedtea, again, compiled and run fine.

I think there are 2 things to be done:
a) close this one as a duplicate (can I, the reporter, do this or just developers can? )
b) add a workaround in the ebuild to either strip sse flags or ad -mstackrealign to the ebuild until this is (if it will) fixed upstream
Comment 10 Miroslav Šulc gentoo-dev 2011-10-19 14:25:55 UTC
this version is not available anymore. if the problem persists with latest version, please reopen this bug.