You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When building mold 1.1.1 for Fedora on aarch64, the tls-gd-mcmodel-large test case fails because GCC does not support the combination of -mcmodel=large with -fPIC. This is documented here: https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.html
I tried replacing gcc with clang as a quick fix, but Clang doesn't know the -mtls-dialect=gnu option.
Curiously, the test case contains an explicit if-branch for setting the correct TLS dialect on aarch64. Does this mean that it worked at some point in the past? The sentence
The -mcmodel=large option is incompatible with -mabi=ilp32, -fpic and -fPIC.
When building mold 1.1.1 for Fedora on aarch64, the
tls-gd-mcmodel-large
test case fails because GCC does not support the combination of-mcmodel=large
with-fPIC
. This is documented here: https://gcc.gnu.org/onlinedocs/gcc/AArch64-Options.htmlOutput of instrumented test case:
I tried replacing
gcc
withclang
as a quick fix, but Clang doesn't know the-mtls-dialect=gnu
option.Curiously, the test case contains an explicit
if
-branch for setting the correct TLS dialect on aarch64. Does this mean that it worked at some point in the past? The sentencewas added in the documentation for GCC 10; it was not yet present in the GCC 9 documentation.
The text was updated successfully, but these errors were encountered: