From a7563c9ecaba8ca0b813b8f185b5c20881565f5f Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 30 Dec 2011 22:44:44 -0500 Subject: 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. --- (limited to 'system-software.txt') -- cgit v0.9.1