stack-protector configure test and MIPS64
Carlos O'Donell
carlos@systemhalted.org
Sun May 20 19:35:00 GMT 2012
On Sat, May 19, 2012 at 2:40 PM, Joseph S. Myers
<joseph@codesourcery.com> wrote:
> The check for implicit -fstack-protector breaks on MIPS64 with an error:
>
> configure: error: unexpected symbols in test: __gnu_local_gp
> foobar
>
> (__gnu_local_gp is a symbol handled specially by the linker on MIPS.)
>
> The patch below allows the build to continue. But maybe we should just
> allow arbitrary extra undefined symbols rather than whitelisting
> architecture-specific symbols either here or in preconfigure fragments?
>
> 2012-05-19 Joseph Myers <joseph@codesourcery.com>
>
> * configure.in (libc_cv_predef_stack_protector): Remove
> __gnu_local_gp from libc_undefs.
> * configure: Regenerated.
I would like to see us move away from having machine-specific support
in the top-level configure.in.
Including config.h.in, which is BZ#14068.
Which would allow 3rd parties to contribute machine ports without
needing to touch the core code.
http://sourceware.org/bugzilla/show_bug.cgi?id=14068
Cheers,
Carlos.
More information about the Libc-alpha
mailing list