Re: build system: gcc_cv_libc_provides_ssp and NATIVE_SYSTEM_HEADER_DIR

2008-10-10 Thread Thorsten Glaser
Joseph S. Myers dixit: >It's desirable to be able to configure GCC correctly in the presence of >installed headers and only a dummy libc.so, so as to get a GCC that can be >used to build the full glibc. Ah, right, the GNU case. Sorry, I totally did not have that one in mind, even though I know

Re: build system: gcc_cv_libc_provides_ssp and NATIVE_SYSTEM_HEADER_DIR

2008-10-10 Thread Thorsten Glaser
Thomas Schwinge dixit: >Ideally, IMO, this test (for stack-smashing-protection support in glibc) >should not be done by grepping through SYSROOT's features.h, but instead >by using the CPP for doing that. Why not just autoconf? Check for the presence of __stack_smash_handler() in libc… or am I m

Re: build system: gcc_cv_libc_provides_ssp and NATIVE_SYSTEM_HEADER_DIR

2008-10-08 Thread Thorsten Glaser
Thomas Schwinge dixit: >First, the check for gcc_cv_libc_provides_ssp is not complete, as has >already pointed out (with patches!) before, but is still not fixed on >trunk. Let me revisit that: in configure.ac it is being checked for >``case "$target" in *-*-linux*)'' which should rather match ``