This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
On Wednesday 25 April 2012 10:18:07 Joseph S. Myers wrote: > As discussed lately, we'd like to avoid the glibc build depending on > libgcc_s (or more generally on any bit of libgcc that requires > anything from glibc to be installed in order to build) in order to > make bootstraps easier. > > One dependency is that the configure test for ld --as-needed uses > -lgcc_s, and there isn't really anything else it could use; testing > --as-needed requires a shared library to link with using that option. > But --as-needed was added to ld in 2004, long before any version now > supported for building glibc, so this configure test is unnecessary > (and we don't need to use a more complicated process involving > building a shared library just to link with it with --as-needed). > > I propose this patch to remove this configure test and unconditionally > assume that --as-needed support is present. Tested x86_64. SGTM -mike
Attachment:
signature.asc
Description: This is a digitally signed message part.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |