Created attachment 365340 [details] build log Portage 2.2.1 (default/linux/sparc/13.0, gcc-4.7.3, glibc-2.15-r3, 3.10.7-gentoo-r1 sparc64) ================================================================= System uname: Linux-3.10.7-gentoo-r1-sparc64-sun4u-with-gentoo-2.2 KiB Mem: 4153056 total, 559384 free KiB Swap: 1052248 total, 1052248 free Timestamp of tree: Sat, 14 Dec 2013 02:15:01 +0000 ld GNU ld (GNU Binutils) 2.23.1 app-shells/bash: 4.2_p45 dev-lang/python: 2.7.5-r3, 3.2.5-r3 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.69 sys-devel/automake: 1.13.4 sys-devel/binutils: 2.23.1 sys-devel/gcc: 4.5.4, 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 Repositories: gentoo ACCEPT_KEYWORDS="sparc" ACCEPT_LICENSE="*" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=ultrasparc -pipe" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/sandbox.d /etc/terminfo" CXXFLAGS="-O2 -mcpu=ultrasparc -pipe" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--with-bdeps y --keep-going y -1" FCFLAGS="" FEATURES="assume-digests binpkg-logs collision-protect config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms split-log strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="" GENTOO_MIRRORS="http://distfiles.gentoo.org" LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu" PKGDIR="/root/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="" USE="acl berkdb bzip2 cli cracklib crypt cxx dri fortran gcc64 gdbm iconv ipv6 minizip modules mudflap ncurses nls nptl openmp pam pcre readline session sparc ssl tcpd unicode zlib" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-3 php5-4 php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_2" RUBY_TARGETS="ruby18 ruby19 ruby20" USERLAND="GNU" USE_PYTHON="2.7 3.2"
What about the stable candidate?
same result
(In reply to Agostino Sarubbo from comment #2) > same result Then please provide a patch or drop keywords. We have no hw to test.
if you have time to work on it I can share my account on the sparc box (bender)
I was experiencing this I believe http://forums.gentoo.org/viewtopic-p-7411850.html segfault in libstdc++ There is a fix in newer binutils I emerged world and glibc and it worked after that I imagine mileage may vary with the masked binutils otherwise though I can't seem to built icedtea with it thought I can get pretty far along. Problem identified here: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55909 Portage 2.2.1 (default/linux/sparc/13.0, gcc-4.7.3, glibc-2.15-r3, 3.9.11-gentoo-r1 sparc64) ================================================================= System uname: Linux-3.9.11-gentoo-r1-sparc64-sun4v-with-gentoo-2.2 KiB Mem: 16497936 total, 7517160 free KiB Swap: 0 total, 0 free Timestamp of tree: Fri, 13 Dec 2013 18:30:01 +0000 ld GNU ld (Linux/GNU Binutils) 2.23.52.0.2.20130423 app-shells/bash: 4.2_p45 dev-java/java-config: 2.2.0 dev-lang/python: 2.7.5-r3, 3.2.5-r3 dev-util/cmake: 2.8.12.1-r1 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.11.8 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.13.4 sys-devel/binutils: 2.23.52.0.2 sys-devel/gcc: 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.9 (virtual/os-headers) sys-libs/glibc: 2.15-r3 ACCEPT_KEYWORDS="sparc" ACCEPT_LICENSE="* -@EULA" CBUILD="sparc-unknown-linux-gnu" CFLAGS="-O2 -mcpu=niagara -pipe" CHOST="sparc-unknown-linux-gnu"
I believe the patches to binutils are located here aslo but I haven't tried applying them. https://sourceware.org/bugzilla/show_bug.cgi?id=15056
Move to toolchain then.
in which binutils version should be the fix?
*** This bug has been marked as a duplicate of bug 492898 ***