Created attachment 210286 [details] only put libssp_nonshared.a in libc.so on i386 and power I believe libssp_nonshared.a serves a purpose only on i386 and powerpc, and would like to request an exp-run with the attached patch, which should avoid linking it on amd64. (The patch should have no effect on i386 and it can be omitted from the exp-run.)
Oops, I need to update the patch and will do so later today.
Created attachment 210290 [details] only put libssp_nonshared.a in libc.so on i386 and power also adjust bsd.libnames.mk
I don't understand this request, the failures pointed out in bug #229348 were happening on amd64
(In reply to Antoine Brodin from comment #3) Yes, but bug #229348 left /usr/lib/libssp_nonshared.a in /usr/lib/libc.so. AFAIK GCC and Clang will not actually emit calls to the __stack_chk_fail_local symbol that appears in libssp_nonshared.a and it is just not required on amd64.
Exp-run looks fine (only tested on amd64)
A commit references this bug: Author: emaste Date: Wed Feb 5 20:08:01 UTC 2020 New revision: 357592 URL: https://svnweb.freebsd.org/changeset/base/357592 Log: libssp_nonshared: use only on i386 and ppc libssp_nonshared.a defines one symbol, __stack_chk_fail_local. This is used only on i386 and powerpc; other archs emit calls directly to __stack_chk_fail. Simplify linking on other archs by omitting it. PR: 242941 [exp-run] Changes: head/lib/libc/Makefile head/share/mk/src.libnames.mk