[Pkg-electronics-devel] Bug#1098791: kicad: Please include patch to link against libatomic on powerpc

Simon Richter sjr at debian.org
Mon Feb 24 10:37:49 GMT 2025


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_0xEBF67A846AABE354.asc
Type: application/pgp-keys
Size: 9675 bytes
Desc: OpenPGP public key
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20250224/58110a11/attachment.asc>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: OpenPGP_signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://alioth-lists.debian.net/pipermail/pkg-electronics-devel/attachments/20250224/58110a11/attachment.sig>


More information about the Pkg-electronics-devel mailing list