hyrcanus | gcc-10 is a trainwreck on aarch64 | 08:56 |
---|---|---|
hyrcanus | with libatomic | 08:56 |
hyrcanus | any workarounds? | 08:56 |
hyrcanus | /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/libgcc.a(lse-init.o): in function `init_have_lse_atomics': | 08:57 |
hyrcanus | (.text.startup+0xc): undefined reference to `__getauxval' | 08:57 |
hyrcanus | https://github.com/cloudius-systems/osv/issues/1129 | 09:02 |
hyrcanus | adding -mno-outline-atomics still | 09:05 |
hyrcanus | /usr/bin/ld: /usr/lib/gcc/aarch64-linux-gnu/10/libgcc.a(lse-init.o): in function `init_have_lse_atomics': | 09:05 |
hyrcanus | (.text.startup+0xc): undefined reference to `__getauxval' | 09:05 |
hyrcanus | search pulls up this https://gcc.gnu.org/legacy-ml/gcc-patches/2019-09/msg01036.html | 09:06 |
hyrcanus | "Also, I have noticed that on Ubuntu 20.10 with GCC 10.2.0, compiling natively with -mno-outline-atomics does NOT remove the init_have_lse_atomics function which still gets executed by early ELF initialization logic. On Fedora with GCC 10.2.1, the init_have_lse_atomics is removed. I wonder why this happens." | 09:22 |
hyrcanus | gcc --version | 09:23 |
hyrcanus | gcc (Debian 10.3.0-11) 10.3.0 | 09:23 |
hyrcanus | debian's gcc is still BROKEN | 09:53 |
hyrcanus | https://www.spinics.net/lists/kvm-arm/msg41769.html | 09:53 |
hyrcanus | > Disable the use of the out-of-line functions by compiling with | 09:54 |
hyrcanus | > -mno-outline-atomics. | 09:54 |
hyrcanus | does not work | 09:54 |
hyrcanus | who can fix this in devuan-arm? | 09:54 |
hyrcanus | gcc-10.3.0/libgcc/ChangeLog: * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval | 10:06 |
hyrcanus | broken by | 10:07 |
hyrcanus | 2020-05-06 Kyrylo Tkachov <kyrylo.tkachov@arm.com> | 10:07 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!