Add -lssp_nonshared to GCC's LIB_SPEC unconditionally

Jeremie Le Hen jeremie at le-hen.org
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 libc.so 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/libc.so.6 /usr/lib/libc_nonshared.a  AS_NEEDED
> ( /lib/ld-linux.so.2 ) )

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

Thanks.
Regards,
-- Jeremie
Humans are born free and equal.  But some are more equal than others.
					    Coluche


More information about the freebsd-hackers mailing list