Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 380369 - sys-devel/gcc-4.5.2-r00.1 fails to build with USE="gcj" on sparc-solaris
Summary: sys-devel/gcc-4.5.2-r00.1 fails to build with USE="gcj" on sparc-solaris
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: Prefix Support (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Prefix
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-23 13:04 UTC by Chí-Thanh Christopher Nguyễn
Modified: 2011-08-25 18:24 UTC (History)
0 users

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


Attachments
gcc-4.5.2-pthread.patch (gcc-4.5.2-pthread.patch,1.18 KB, text/plain)
2011-08-23 13:04 UTC, Chí-Thanh Christopher Nguyễn
Details
build.log.xz (build.log.xz,172.05 KB, application/x-xz)
2011-08-23 13:06 UTC, Chí-Thanh Christopher Nguyễn
Details
gcc-4.5.2-pthread.patch (gcc-4.5.2-pthread.patch,786 bytes, patch)
2011-08-23 13:10 UTC, Chí-Thanh Christopher Nguyễn
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Chí-Thanh Christopher Nguyễn gentoo-dev 2011-08-23 13:04:27 UTC
Created attachment 284353 [details]
gcc-4.5.2-pthread.patch

The symbol issue (bug 222625, upstream http://sourceware.org/bugzilla/show_bug.cgi?id=2524) appears in the gcj build of gcc-4.5 in my sparc-solaris prefix.

/home/pub/lib/gentoo-prefix/usr/sparc-sun-solaris2.10/bin/ld: ./.libs/libgcj.so: msync: invalid version 2 (max 0)
./.libs/libgcj.so: could not read symbols: Bad value
collect2: ld returned 1 exit status
Comment 1 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-08-23 13:06:11 UTC
Created attachment 284355 [details]
build.log.xz
Comment 2 Chí-Thanh Christopher Nguyễn gentoo-dev 2011-08-23 13:10:09 UTC
Created attachment 284357 [details, diff]
gcc-4.5.2-pthread.patch

With this patch, the build completes fine.
Comment 3 Fabian Groffen gentoo-dev 2011-08-25 18:15:17 UTC
did you send this patch upstream?
Comment 4 Fabian Groffen gentoo-dev 2011-08-25 18:17:03 UTC
next time diff configure.ac before configure :)
Comment 5 Fabian Groffen gentoo-dev 2011-08-25 18:24:09 UTC
patch committed