Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 416857 - sys-devel/gcc-4.6.2[gcj] failure in libjava with sys-libs/glibc-2.15
Summary: sys-devel/gcc-4.6.2[gcj] failure in libjava with sys-libs/glibc-2.15
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: http://gcc.gnu.org/bugzilla/show_bug....
Whiteboard:
Keywords: PATCH
: 417461 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-05-21 07:14 UTC by Alexey Kretov
Modified: 2012-11-24 23:12 UTC (History)
5 users (show)

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


Attachments
Fix gcc failure in libjava (file_416857.txt,1.44 KB, patch)
2012-05-21 07:14 UTC, Alexey Kretov
Details | Diff
build.log (sys-devel/gcc-4.4.6-r1) (build.log.xz,152.90 KB, application/x-xz)
2012-10-01 10:56 UTC, Dennis Schridde
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Kretov 2012-05-21 07:14:58 UTC
Created attachment 312457 [details, diff]
Fix gcc failure in libjava

gcc-4.6.2 failure in libjava against glibc-2.15-r2
To reproduce:
USE="gcj" emerge -v1Oa =sys-devel/gcc-4.6.2

libtool: link: ( cd ".libs" && rm -f "libgcj_bc.la" && ln -s "../libgcj_bc.la" "libgcj_bc.la" )
./.libs/libgcj.so: undefined reference to `__cxa_call_unexpected'
collect2: ld returned 1 exit status

Attachment as /etc/portage/patches/sys-devel/gcc-4.6.2/85_all_gcj-4.6.patch
fix it. BTW upstream already done it in 4.6.3
http://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=ebff413581d368a8593ad29920abd6eb1633b4b4
Comment 1 Alexey Kretov 2012-05-21 07:18:46 UTC
Portage 2.2.0_alpha101-r2 (default/linux/amd64/10.0/desktop/gnome, gcc-4.6.3, glibc-2.15-r2, 3.3.4-gentoodomini x86_64)
=================================================================
System uname: Linux-3.3.4-gentoodomini-x86_64-Intel-R-_Core-TM-_i7-3820_CPU_@_3.60GHz-with-gentoo-2.1
Timestamp of tree: Sat, 19 May 2012 19:45:01 +0000
ccache version 3.1.7 [enabled]
app-shells/bash:          4.2_p28
dev-java/java-config:     2.1.11-r3
dev-lang/python:          2.7.3-r2
dev-util/ccache:          3.1.7
dev-util/cmake:           2.8.8-r2
dev-util/pkgconfig:       0.26
sys-apps/baselayout:      2.1-r1
sys-apps/openrc:          0.9.9.3
sys-apps/sandbox:         2.5
sys-devel/autoconf:       2.13, 2.69
sys-devel/automake:       1.9.6-r3, 1.10.3, 1.11.5
sys-devel/binutils:       2.22-r1
sys-devel/gcc:            4.5.3-r2, 4.6.2, 4.6.3::hardened-dev, 4.7.0::hardened-dev
sys-devel/gcc-config:     1.7.1
sys-devel/libtool:        2.4.2
sys-devel/make:           3.82-r3
sys-kernel/linux-headers: 3.3 (virtual/os-headers)
sys-libs/glibc:           2.15-r2
Repositories: gentoo my_local_overlay kde science moonrise sunrise java-overlay gentoo-haskell multilib gnome hardened-dev proaudio lottanzb
Installed sets: @kde-live
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /etc/entropy /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.0/conf /usr/share/openvpn/easy-rsa /usr/share/themes/oxygen-gtk/gtk-2.0 /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/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"
CPPFLAGS="-O2 -pipe -march=native"
CXXFLAGS="-O2 -pipe -march=native -fpermissive"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs buildpkg buildsyspkg ccache compress-build-logs distlocks ebuild-locks fakeroot fixlafiles force-multilib installsources lmirror metadata-transfer mirror multilib-strict news parallel-fetch parallel-install parse-eapi-ebuild-head prelink-checksums preserve-libs python-trace sandbox selinux sesandbox sfperms sign skiprocheck split-elog split-log splitdebug suidctl test-fail-continue unknown-features-filter unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg xattr"
FFLAGS="-O2 -pipe -march=native"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
INSTALL_MASK=""
LANG="ru_RU.UTF-8"
LC_ALL=""
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru en en_US en_GB ru"
MAKEOPTS="-j9"
PKGDIR="/usr/portage/packages"
PORTAGE_BUNZIP2_COMMAND="/usr/bin/pbunzip2 --ignore-trailing-garbage=1"
PORTAGE_BZIP2_COMMAND="/usr/bin/pbzip2"
PORTAGE_COMPRESS="/usr/bin/pbzip2"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_EXTRA_OPTS="--progress"
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="/usr/local/portage /var/lib/layman/kde /var/lib/layman/science /var/lib/layman/moonrise /var/lib/layman/sunrise /var/lib/layman/java-overlay /var/lib/layman/haskell /var/lib/layman/multilib-portage /var/lib/layman/gnome /var/lib/layman/hardened-development /var/lib/layman/pro-audio /var/lib/layman/lottanzb"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
Comment 2 Michael Weber (RETIRED) gentoo-dev 2012-05-22 10:16:52 UTC
Imho, this report should be considered as don't stable <sys-devel/gcc-4.6.3:4.6.
Comment 3 SpanKY gentoo-dev 2012-05-22 14:08:29 UTC
i already queued the fix for this to the 4.6.2 patchset

sources.gentoo.org/gentoo/src/patchsets/gcc/4.6.2/gentoo/27_all_gcj-glibc-2.15-pr50888.patch
Comment 4 SpanKY gentoo-dev 2012-05-29 00:38:48 UTC
*** Bug 417461 has been marked as a duplicate of this bug. ***
Comment 5 Dennis Schridde 2012-10-01 10:56:39 UTC
Created attachment 325456 [details]
build.log (sys-devel/gcc-4.4.6-r1)

This seems to affect 4.4.6-r1 as well.
Comment 6 SpanKY gentoo-dev 2012-11-24 23:12:11 UTC
also added to 4.3.6