Add -lssp_nonshared to GCC's LIB_SPEC unconditionally

Jeremie Le Hen jeremie at
Thu Aug 5 19:14:57 UTC 2010

On Tue, Aug 03, 2010 at 11:46:51AM -0400, Alexander Kabaev wrote:
> I have no objection, but think we should cave in and investigate the
> possibility of using linker script wrapping in FreeBSD-9.0:
> Below is Linux' counterpart:
> /* GNU ld script
>    Use the shared library, but some functions are only in
>    the static library, so try that secondarily.  */
> OUTPUT_FORMAT(elf32-i386)
> GROUP ( /lib/ /usr/lib/libc_nonshared.a  AS_NEEDED
> ( /lib/ ) )

Ok.  For now can you commit the proposed modification.  I'll try to make
a patch with your proposal.

-- Jeremie
Humans are born free and equal.  But some are more equal than others.

More information about the freebsd-hackers mailing list