libera/#devuan-arm/ Thursday, 2021-09-30

hyrcanusgcc-10 is a trainwreck on aarch6408:56
hyrcanuswith libatomic08:56
hyrcanusany 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
hyrcanushttps://github.com/cloudius-systems/osv/issues/112909:02
hyrcanusadding -mno-outline-atomics still09: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
hyrcanussearch pulls up this https://gcc.gnu.org/legacy-ml/gcc-patches/2019-09/msg01036.html09: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
hyrcanusgcc --version09:23
hyrcanusgcc (Debian 10.3.0-11) 10.3.009:23
hyrcanusdebian's gcc is still BROKEN09:53
hyrcanushttps://www.spinics.net/lists/kvm-arm/msg41769.html09:53
hyrcanus> Disable the use of the out-of-line functions by compiling with09:54
hyrcanus> -mno-outline-atomics.09:54
hyrcanusdoes not work09:54
hyrcanuswho can fix this in devuan-arm?09:54
hyrcanusgcc-10.3.0/libgcc/ChangeLog:    * config/aarch64/lse-init.c (init_have_lse_atomics): Use __getauxval10:06
hyrcanusbroken by10:07
hyrcanus2020-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/!