Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 577216 Details for
Bug 686248
>=cross-riscv64-unknown-linux-gnu/glibc-2.28 fails crossdev bootstrap (USE=headers-only): sysdeps/riscv/bits/wordsize.h:28:3: error: #error "rv32i-based targets are not supported"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
glibc-2.28-cppflags.patch
glibc-2.28-cppflags.patch (text/plain), 963 bytes, created by
Sergei Trofimovich (RETIRED)
on 2019-05-18 19:13:03 UTC
(
hide
)
Description:
glibc-2.28-cppflags.patch
Filename:
MIME Type:
Creator:
Sergei Trofimovich (RETIRED)
Created:
2019-05-18 19:13:03 UTC
Size:
963 bytes
patch
obsolete
>Fix 'make install-headers' when cross-compiler is not available yet. >Gentoo passes CPPFLAGS='-D__riscv_xlen=64 ... ' to work it around. > >Unfortunately depend file generation does not use $(CPPFLAGS). >This causes install to fail as: > >../sysdeps/riscv/bits/wordsize.h:22:3: error: #error unsupported ABI > 22 | # error unsupported ABI > | ^~~~~ >../sysdeps/riscv/bits/wordsize.h:28:3: error: #error "rv32i-based targets are not supported" > 28 | # error "rv32i-based targets are not supported" > | ^~~~~ > >The fix is to pass through 'CPPFLAGS' (and 'CFLAGS' while at it). > >Bug: https://bugs.gentoo.org/686248 >--- a/Makerules >+++ b/Makerules >@@ -1542,3 +1542,3 @@ $(stdio_lim:h=st): $(..)stdio-common/stdio_lim.h.in $(..)Rules \ > } | \ >- $(CC) -E -dM -MD -MP -MF $(@:st=dT) -MT '$(@:st=h) $(@:st=d)' \ >+ $(CC) $(CFLAGS) $(CPPFLAGS) -E -dM -MD -MP -MF $(@:st=dT) -MT '$(@:st=h) $(@:st=d)' \ > $(CPPUNDEFS) $(+includes) -xc - -o $(@:st=hT)
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 686248
:
577214
| 577216