Hi, On 2/24/25 18:02, John Paul Adrian Glaubitz wrote:
+export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed
That smells wrong, there should be no need for --no-as-needed, and without that, this can just be linked unconditionally everywhere.
It should be fixed upstream though, by making libatomic a PUBLIC dependency of libcommon.
Please see the attached patch. I have also included armel, m68k and sh4 in the architecture list as this should also be necessary on these architectures.
Probably also riscv.
PS: Would be nice if kicad could be built for any architecture.
The main problem would probably be below "thirdparty/libcontext", which has some assembler code.
Simon
OpenPGP_0xEBF67A846AABE354.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature