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: Nix <nix at esperi dot org dot uk>
- To: Andreas Schwab <schwab at suse dot de>
- Cc: libc-alpha at sourceware dot org
- Date: Tue, 08 Mar 2016 21:50:57 +0000
- 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>
On 8 Mar 2016, Andreas Schwab verbalised:
> Nix <nix@esperi.org.uk> writes:
>
>> @@ -674,6 +674,7 @@ $(common-objpfx)linkobj/libc.so: link-libc-deps = # empty
>> # libraries.
>> $(common-objpfx)libc.so: $(elf-objpfx)soinit.os \
>> $(common-objpfx)libc_pic.os$(libc_pic_clean) \
>> + $(common-objpfx)libc_nonshared.a \
>
> Everything needed for libc.so should come from libc_pic.a.
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 (that's where it is
now and moving it seems likely to be problematic). How does one do that
in the glibc makefile scheme of things?
--
NULL && (void)