Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 494270 - sys-devel/binutils-2.23.1 - mishandles R_SPARC_TLS_LDM_CALL (was: dev-util/cmake-2.8.10.2-r2 fails to compile on sparc)
Summary: sys-devel/binutils-2.23.1 - mishandles R_SPARC_TLS_LDM_CALL (was: dev-util/cm...
Status: RESOLVED DUPLICATE of bug 492898
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL: https://sourceware.org/bugzilla/show_...
Whiteboard: fixed upstream
Keywords: PATCH
Depends on:
Blocks:
 
Reported: 2013-12-14 19:37 UTC by Agostino Sarubbo
Modified: 2013-12-16 06:26 UTC (History)
0 users

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


Attachments
build log (cmake-2.8.10.2-r2:20131214-185142.log,41.21 KB, text/x-log)
2013-12-14 19:37 UTC, Agostino Sarubbo
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Agostino Sarubbo gentoo-dev 2013-12-14 19:37:25 UTC
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"
Comment 1 Johannes Huber (RETIRED) gentoo-dev 2013-12-14 19:56:30 UTC
What about the stable candidate?
Comment 2 Agostino Sarubbo gentoo-dev 2013-12-14 20:13:05 UTC
same result
Comment 3 Johannes Huber (RETIRED) gentoo-dev 2013-12-14 20:14:12 UTC
(In reply to Agostino Sarubbo from comment #2)
> same result

Then please provide a patch or drop keywords. We have no hw to test.
Comment 4 Agostino Sarubbo gentoo-dev 2013-12-14 20:17:22 UTC
if you have time to work on it I can share my account on the sparc box (bender)
Comment 5 Chase Rayfield 2013-12-14 21:27:02 UTC
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"
Comment 6 Chase Rayfield 2013-12-14 21:41:22 UTC
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
Comment 7 Johannes Huber (RETIRED) gentoo-dev 2013-12-15 11:58:22 UTC
Move to toolchain then.
Comment 8 Agostino Sarubbo gentoo-dev 2013-12-15 16:52:26 UTC
in which binutils version should be the fix?
Comment 9 SpanKY gentoo-dev 2013-12-16 06:26:13 UTC

*** This bug has been marked as a duplicate of bug 492898 ***