Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 518048 - sys-libs/glibc: stop disabling NPTL for sparc32
Summary: sys-libs/glibc: stop disabling NPTL for sparc32
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: Sparc Linux
: Normal normal (vote)
Assignee: Gentoo Toolchain Maintainers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-24 23:56 UTC by Chase Rayfield
Modified: 2014-07-28 06:30 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 Chase Rayfield 2014-07-24 23:56:59 UTC
In  portage/sys-libs/glibc/files/eblits/common.eblit the commented lines need to be removed. These checks are no longer valid.

I have been running sparc32 without segfauts in QEMU and on an SS20... occasional deadlocks but that seems to be a kernel issue. Regardless enabling NTPL for sparc is extremely unlikely to break anyone's box these days ;-) and it gets me closer to being able to use portage out of the box on Sparc v8.

want_nptl() {
        [[ -z ${LT_VER} ]] && return 0
        want_tls || return 1
        use nptl || return 1

        # Only list the arches that cannot do NPTL
        case $(tc-arch) in
                m68k) return 1;;
                #sparc)
                #       # >= v9 is needed for nptl.
                #       [[ ${PROFILE_ARCH} == "sparc" ]] && return 1
                #;;
        esac

        return 0
}

And below that... 

want__thread() {
        want_tls || return 1

        # For some reason --with-tls --with__thread is causing segfaults on sparc32.
        #[[ ${PROFILE_ARCH} == "sparc" ]] && return 1
Comment 1 SpanKY gentoo-dev 2014-07-28 05:46:55 UTC
since sparc32 isn't really supported anymore, i don't care :).  deleted!

http://sources.gentoo.org/sys-libs/glibc/files/eblits/common.eblit?r1=1.35&r2=1.36
Comment 2 Joshua Kinard gentoo-dev 2014-07-28 06:30:35 UTC
(In reply to SpanKY from comment #1)
> since sparc32 isn't really supported anymore, i don't care :).  deleted!
> 
> http://sources.gentoo.org/sys-libs/glibc/files/eblits/common.eblit?r1=1.
> 35&r2=1.36

Seems sparc32 isn't completely dead:
http://www.spinics.net/lists/sparclinux/msg11838.html