Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 444276 Details for
Bug 592268
sys-libs/musl on softfloat ARM: ldconfig 'doesn't work'
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
musl-armsoftfloat.patch (text/plain), 830 bytes, created by
Laine Gholson
on 2016-08-27 19:36:28 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Laine Gholson
Created:
2016-08-27 19:36:28 UTC
Size:
830 bytes
patch
obsolete
>--- /usr/portage/sys-libs/musl/musl-1.1.15.ebuild 2016-07-06 18:45:20.000000000 -0500 >+++ /usr/portage/sys-libs/musl/musl-1.1.15-r1.ebuild 2016-08-27 14:04:02.899994890 -0500 >@@ -57,6 +57,20 @@ > esac > } > >+arm_is_hardfloat() { >+ cat >"${T}"/arm-ext.c <<EOF >+ #ifdef __ARM_PCS_VFP >+ #error "VFP" >+ #endif >+ typedef int x; >+EOF >+ if ! $(tc-getCPP) "${T}"/arm-ext.c -o "${T}"/arm-ext.i >/dev/null 2>&1; then >+ return 0; >+ else >+ return 1; >+ fi >+} >+ > pkg_setup() { > if [ ${CTARGET} == ${CHOST} ] ; then > case ${CHOST} in >@@ -108,7 +122,7 @@ > local endian=$(musl_endian) > case ${target} in > amd64) arch="x86_64";; >- arm) arch="armhf";; # We only have hardfloat right now >+ arm) arm_is_hardfloat && arch="armhf" || arch="arm";; > mips) arch="mips${endian}";; > ppc) arch="powerpc";; > x86) arch="i386";;
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 592268
: 444276