Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 425178 Details for
Bug 573872
sys-libs/glibc: rework sparc target selection to leverage $ABI
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Revision 2
common.eblit.patch (text/plain), 2.99 KB, created by
Alex McWhirter
on 2016-02-11 01:02:16 UTC
(
hide
)
Description:
Revision 2
Filename:
MIME Type:
Creator:
Alex McWhirter
Created:
2016-02-11 01:02:16 UTC
Size:
2.99 KB
patch
obsolete
>--- common.eblit >+++ common.eblit >@@ -113,68 +113,71 @@ > # Note: Should we factor in -Wa,-AvXXX flags too ? Or -mvis/etc... ? > > local cpu >- case ${CTARGET} in >- sparc64-*) >- case $(get-flag mcpu) in >- niagara[234]) >- if version_is_at_least 2.8 ; then >- cpu="sparc64v2" >- elif version_is_at_least 2.4 ; then >- cpu="sparc64v" >- elif version_is_at_least 2.2.3 ; then >- cpu="sparc64b" >+ case $(get-flag mcpu) in >+ niagara[234]) >+ if version_is_at_least 2.8 ; then >+ if [[ ${ABI} == "sparc32" ]] ; then >+ cpu=sparcv9v2 >+ else >+ cpu=sparc64v2 > fi >- ;; >- niagara) >- if version_is_at_least 2.4 ; then >- cpu="sparc64v" >- elif version_is_at_least 2.2.3 ; then >- cpu="sparc64b" >+ elif version_is_at_least 2.4 ; then >+ if [[ ${ABI} == "sparc32" ]] ; then >+ cpu=sparcv9v >+ else >+ cpu=sparc64v > fi >- ;; >- ultrasparc3) >- cpu="sparc64b" >- ;; >- *) >- # We need to force at least v9a because the base build doesn't >- # work with just v9. >- # https://sourceware.org/bugzilla/show_bug.cgi?id=19477 >- [[ -z ${cpu} ]] && append-flags "-Wa,-xarch=v9a" >- ;; >- esac >- ;; >- sparc-*) >- case $(get-flag mcpu) in >- niagara[234]) >- if version_is_at_least 2.8 ; then >- cpu="sparcv9v2" >- elif version_is_at_least 2.4 ; then >- cpu="sparcv9v" >- elif version_is_at_least 2.2.3 ; then >- cpu="sparcv9b" >+ elif version_is_at_least 2.2.3 ; then >+ if [[ ${ABI} == "sparc32" ]] ; then >+ cpu=sparcv9b >+ else >+ cpu=sparc64b >+ fi >+ fi >+ ;; >+ niagara) >+ if version_is_at_least 2.4 ; then >+ if [[ ${ABI} == "sparc32" ]] ; then >+ cpu=sparcv9v > else >- cpu="sparcv9" >+ cpu=sparc64v > fi >- ;; >- niagara) >- if version_is_at_least 2.4 ; then >- cpu="sparcv9v" >- elif version_is_at_least 2.2.3 ; then >- cpu="sparcv9b" >+ elif version_is_at_least 2.2.3 ; then >+ if [[ ${ABI} == "sparc32" ]] ; then >+ cpu=sparcv9b > else >- cpu="sparcv9" >+ cpu=sparc64b > fi >- ;; >- ultrasparc3) >- cpu="sparcv9b" >- ;; >- v9|ultrasparc) >- cpu="sparcv9" >- ;; >- v8|supersparc|hypersparc|leon|leon3) >- cpu="sparcv8" >- ;; >- esac >+ fi >+ ;; >+ ultrasparc3) >+ if [[ ${ABI} == "sparc32" ]] ; then >+ cpu=sparcv9b >+ else >+ cpu=sparc64b >+ fi >+ ;; >+ ultrasparc) >+ if [[ ${ABI} == "sparc32" ]] ; then >+ cpu=sparcv9 >+ else >+ cpu=sparc64 >+ fi >+ ;; >+ v9) >+ if [[ ${ABI} == "sparc32" ]] ; then >+ cpu=sparcv9 >+ else >+ cpu=sparc64 >+ >+ # We need to force at least v9a because the base build doesn't >+ # work with just v9. >+ # https://sourceware.org/bugzilla/show_bug.cgi?id=19477 >+ [[ -z ${cpu} ]] && append-flags "-Wa,-xarch=v9a" >+ fi >+ ;; >+ v8|supersparc|hypersparc|leon|leon3) >+ cpu="sparcv8" > ;; > esac > [[ -n ${cpu} ]] && CTARGET_OPT="${cpu}-${CTARGET#*-}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 573872
:
424628
|
424698
| 425178