diff options
author | P. J. McDermott <pjm@nac.net> | 2011-12-30 22:44:44 (EST) |
---|---|---|
committer | P. J. McDermott <pjm@nac.net> | 2011-12-30 22:44:44 (EST) |
commit | a7563c9ecaba8ca0b813b8f185b5c20881565f5f (patch) | |
tree | 37b0143b465e5d6a6872f8736d0a0c7cd1216383 /system-software.txt | |
parent | 56cd680b605a16849b980e65b6df20efe53439de (diff) |
Fix linker errors when building EGLIBC.
We built the cross-compiling GCC without a Stack Smashing Protector
(SSP) by passing the option '--disable-libssp' to its configure script
because otherwise we'd get a configure error when building GCC (as
mentioned in section 5.5.1 of Linux From Scratch version 7.0 and
experienced first-hand by this author). However, EGLIBC's configure
script incorrectly detects support for SSP and prepares EGLIBC to be
linked with SSP symbols. As a result, NSCD (EGLIBC's Name Service Cache
Daemon) fails to link due to undefined references to symbol
'__stack_chk_guard'.
So, we need to pass 'libc_cv_ssp=no' to EGLIBC's configure script to
tell it explicitly that we don't have SSP support in our build of GCC.
Diffstat (limited to 'system-software.txt')
0 files changed, 0 insertions, 0 deletions