Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 317343 - dev-java/icedtea-6 fails to build with gcc-4.5
Summary: dev-java/icedtea-6 fails to build with gcc-4.5
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Java team
URL: http://icedtea.classpath.org/bugzilla...
Whiteboard:
Keywords:
Depends on:
Blocks: icedtea-tracker gcc-4.5
  Show dependency tree
 
Reported: 2010-04-26 18:42 UTC by Maciej Piechotka
Modified: 2010-05-03 12:34 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Piechotka 2010-04-26 18:42:04 UTC
Similar error for 6.1.8.0:

g++ -DLINUX -D_GNU_SOURCE -DAMD64 -DPRODUCT -I. -I../generated/adfiles -I../generated/jvmtifiles -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/asm -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/ci -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/classfile -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/code -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/compiler -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/g1 -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/parallelScavenge -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/concurrentMarkSweep -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/parNew -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_implementation/shared -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/gc_interface -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/interpreter -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/libadt -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/memory -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/oops -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/opto -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/prims -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/runtime -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/services -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/shark -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/utilities -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/cpu/x86/vm -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/os/linux/vm -I/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/os_cpu/linux_x86/vm -I../generated -DHOTSPOT_RELEASE_VERSION="\"16.0-b13\"" -DHOTSPOT_BUILD_TARGET="\"product\"" -DHOTSPOT_BUILD_USER="\"root\"" -DHOTSPOT_LIB_ARCH=\"amd64\" -DJRE_RELEASE_VERSION="\"1.6.0_17-b17\"" -DHOTSPOT_VM_DISTRO="\"OpenJDK\"" -DDERIVATIVE_ID="\"IcedTea6 1.7.3\"" -DDISTRIBUTION_ID="\"Built on Gentoo Base System release 2.0.1 (Mon Apr 26 19:28:03 BST 2010)\"" -O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block -DCOMPILER2  -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m64 -pipe -g -DCOMPILER2 -fpic -fno-rtti -fno-exceptions -D_REENTRANT -fcheck-new -m64 -pipe -g -O3 -fno-strict-aliasing -DVM_LITTLE_ENDIAN -D_LP64=1 -fno-omit-frame-pointer -Werror -Wpointer-arith -Wsign-compare    -DDTRACE_ENABLED -c -o jni.o /var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/prims/jni.cpp 
cc1plus: warnings being treated as errors
/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/prims/jni.cpp: In function '_jobject* jni_NewDirectByteBuffer(JNIEnv*, void*, jlong)':
/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/src/share/vm/prims/jni.cpp:2726:7: error: converting to non-pointer type 'long int' from NULL
make[6]: *** [jni.o] Error 1
make[6]: *** Waiting for unfinished jobs....
make[6]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product'
make[5]: *** [the_vm] Error 2
make[5]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/build/linux-amd64/hotspot/outputdir/linux_amd64_compiler2/product'
make[4]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/build/linux-amd64/hotspot/outputdir'
make[4]: *** [product] Error 2
make[3]: *** [generic_build2] Error 2
make[3]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/make'
make[2]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk/hotspot/make'
make[2]: *** [product] Error 2
make[1]: *** [hotspot-build] Error 2
make[1]: Leaving directory `/var/tmp/paludis/dev-java-icedtea-6.1.7.3/work/icedtea6-1.7.3/openjdk'
make: *** [stamps/icedtea.stamp] Error 2


Package dev-java/icedtea-6.1.7.3:6::java-overlay:

        >>> Running ebuild phase killold as portage:portage...
        >>> Starting builtin_killold
        >>> Done builtin_killold
        >>> Completed ebuild phase killold
        >>> Running ebuild phases initmisc infovars as portage:portage...
        >>> Starting builtin_initmisc
        >>> Done builtin_initmisc
        >>> Starting builtin_infovars
        ACCEPT_KEYWORDS=amd64
        CBUILD=x86_64-pc-linux-gnu
        CFLAGS=-O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block
        CHOST=x86_64-pc-linux-gnu
        CONFIG_PROTECT= 
        CONFIG_PROTECT_MASK= 
        CPPFLAGS=
        CTARGET=
        CXXFLAGS=-O2 -pipe -ggdb -march=native -msahf -mcx16 -fgcse-sm -fgcse-las -fgcse-after-reload -ftracer -floop-interchange -floop-strip-mine -floop-block
        DISTDIR=/var/tmp/distfiles
        FEATURES=
        FFLAGS=
        GENTOO_MIRRORS=
        INSTALL_MASK=
        LANG=
        LC_ALL=C
        LDFLAGS=-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=both -Wl,--sort-common
        LINGUAS=en en_GB pl
        MAKEOPTS=-j2
        PORTAGE_COMPRESS=
        PORTAGE_COMPRESS_FLAGS=
        PORTAGE_CONFIGROOT=
        PORTAGE_RSYNC_EXTRA_OPTS=
        PORTAGE_RSYNC_OPTS=
        PORTAGE_TMPDIR=/var/tmp/paludis
        PORTDIR=/usr/portage
        PORTDIR_OVERLAY=
        SYNC=
        USE=doc hs16 javascript nio2 npplugin nsplugin nss pulseaudio systemtap xrender amd64 alsa_cards_ali5451 alsa_cards_als4000 alsa_cards_atiixp alsa_cards_atiixp-modem alsa_cards_bt87x alsa_cards_ca0106 alsa_cards_cmipci alsa_cards_emu10k1x alsa_cards_ens1370 alsa_cards_ens1371 alsa_cards_es1938 alsa_cards_es1968 alsa_cards_fm801 alsa_cards_hda-intel alsa_cards_intel8x0 alsa_cards_intel8x0m alsa_cards_maestro3 alsa_cards_trident alsa_cards_usb-audio alsa_cards_via82xx alsa_cards_via82xx-modem alsa_cards_ymfpci alsa_pcm_plugins_adpcm alsa_pcm_plugins_alaw alsa_pcm_plugins_asym alsa_pcm_plugins_copy alsa_pcm_plugins_dmix alsa_pcm_plugins_dshare alsa_pcm_plugins_dsnoop alsa_pcm_plugins_empty alsa_pcm_plugins_extplug alsa_pcm_plugins_file alsa_pcm_plugins_hooks alsa_pcm_plugins_iec958 alsa_pcm_plugins_ioplug alsa_pcm_plugins_ladspa alsa_pcm_plugins_lfloat alsa_pcm_plugins_linear alsa_pcm_plugins_meter alsa_pcm_plugins_mmap_emul alsa_pcm_plugins_mulaw alsa_pcm_plugins_multi alsa_pcm_plugins_null alsa_pcm_plugins_plug alsa_pcm_plugins_rate alsa_pcm_plugins_route alsa_pcm_plugins_share alsa_pcm_plugins_shm alsa_pcm_plugins_softvol apache2_modules_actions apache2_modules_alias apache2_modules_auth_basic apache2_modules_authn_alias apache2_modules_authn_anon apache2_modules_authn_dbm apache2_modules_authn_default apache2_modules_authn_file apache2_modules_authz_dbm apache2_modules_authz_default apache2_modules_authz_groupfile apache2_modules_authz_host apache2_modules_authz_owner apache2_modules_authz_user apache2_modules_autoindex apache2_modules_cache apache2_modules_dav apache2_modules_dav_fs apache2_modules_dav_lock apache2_modules_deflate apache2_modules_dir apache2_modules_disk_cache apache2_modules_env apache2_modules_expires apache2_modules_ext_filter apache2_modules_file_cache apache2_modules_filter apache2_modules_headers apache2_modules_include apache2_modules_info apache2_modules_log_config apache2_modules_logio apache2_modules_mem_cache apache2_modules_mime apache2_modules_mime_magic apache2_modules_negotiation apache2_modules_rewrite apache2_modules_setenvif apache2_modules_speling apache2_modules_status apache2_modules_unique_id apache2_modules_userdir apache2_modules_usertrack apache2_modules_vhost_alias elibc_glibc input_devices_evdev input_devices_keyboard input_devices_mouse kernel_linux lcd_devices_bayrad lcd_devices_cfontz lcd_devices_cfontz633 lcd_devices_glk lcd_devices_hd44780 lcd_devices_lb216 lcd_devices_lcdm001 lcd_devices_mtxorb lcd_devices_ncurses lcd_devices_text linguas_en linguas_en_GB linguas_pl ruby_targets_jruby ruby_targets_ruby18 userland_GNU video_cards_intel amd64 
        >>> Done builtin_infovars
        >>> Completed ebuild phases initmisc infovars
        >>> Running ebuild phase tidyup as portage:portage...
        >>> Starting builtin_tidyup
        rm -fr /var/tmp/paludis/dev-java-icedtea-6.1.7.3-info
        >>> Done builtin_tidyup
        >>> Completed ebuild phase tidyup
Comment 1 Maciej Piechotka 2010-04-30 17:38:37 UTC
Fixed upstream.
Comment 2 Vlastimil Babka (Caster) (RETIRED) gentoo-dev 2010-05-03 12:34:03 UTC
Fixed in both overlay (thanks Andrew) and main tree.