This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 10/18] Link libc.so with libc_nonshared.a to pull in __stack_chk_fail_local.
- From: Andreas Schwab <schwab at suse dot de>
- To: Nix <nix at esperi dot org dot uk>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 09 Mar 2016 09:13:05 +0100
- Subject: Re: [PATCH 10/18] Link libc.so with libc_nonshared.a to pull in __stack_chk_fail_local.
- Authentication-results: sourceware.org; auth=none
- References: <1457445064-7107-1-git-send-email-nix at esperi dot org dot uk> <1457445064-7107-11-git-send-email-nix at esperi dot org dot uk> <mvm1t7luit9 dot fsf at hawking dot suse dot de> <87fuw0oczi dot fsf at esperi dot org dot uk>
Nix <nix@esperi.org.uk> writes:
> That means we have to build __stack_check_fail_local into two libraries
> at once, since it also has to be in libc_nonshared.a
libc.so and libc_nonshared.a are variants of the same library.
> How does one do that in the glibc makefile scheme of things?
You can create it under a new name and put it in shared-only-routines.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."