[Clfs-dev] Could not compile dropbear 2022.83 on i486-linux-musl
Alexander Jacocks
jjacocks at mac.com
Tue Aug 20 10:17:12 PDT 2024
On Sun Mar 24 17:06:55 PDT 2024 Michele Bucca <michele.bucca at gmail.com > wrote: > Ok, it seems that if the i486-linux-musl toolchain is built you can't > use -fstack-protector-all > https://github.com/GregorR/musl-cross/issues/45 > > So we have two solutions to build dropbear: > 1. We patch GCC by applying this: > https://git.alpinelinux.org/aports/tree/main/gcc/0017-Alpine-musl-package-provides-libssp_nonshared.a.-We-.patch > > 2. We disable stack protections by prepending CFLAGS="$CFLAGS > -fno-stack-protector" to configure > > Which one is better? IMO, the first. Unless it adds a ton of overhead, might as well. - Alex (I'm new here, as well)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-dev-clfs.org/attachments/20240820/41563040/attachment.htm>
More information about the Clfs-dev
mailing list