[Clfs-support] Problem with EGLIBC in 10.7 on x86_64-Pure64

Chris J. Breisch chris at breisch.org
Thu Jan 17 07:31:39 PST 2013


On 1/16/2013 5:51 PM, William Harrington wrote:
>
> On Jan 16, 2013, at 6:47 AM, Chris J. Breisch wrote:
>
>> /native/eglibc/build/resolv/libresolv_pic.a(gethnamaddr.os): In 
>> function `getanswer':
>> /native/eglibc/eglibc-2.15/resolv/gethnamaddr.c:180: undefined 
>> reference to `__stack_chk_guard'
>> /native/eglibc/eglibc-2.15/resolv/gethnamaddr.c:483: undefined 
>> reference to `__stack_chk_guard'
>> /native/eglibc/build/resolv/libresolv_pic.a(gethnamaddr.os): In 
>> function `res_gethostbyaddr':
>> /native/eglibc/eglibc-2.15/resolv/gethnamaddr.c:644: undefined 
>> reference to `__stack_chk_guard'
>> /native/eglibc/eglibc-2.15/resolv/gethnamaddr.c:783: undefined 
>> reference to `__stack_chk_guard'
>> /native/eglibc/build/resolv/libresolv_pic.a(gethnamaddr.os): In 
>> function `__GI_res_gethostbyname2':
>> /native/eglibc/eglibc-2.15/resolv/gethnamaddr.c:510: undefined 
>> reference to `__stack_chk_guard'
>> /native/eglibc/build/resolv/libresolv_pic.a(res_debug.os):/native/eglibc/eglibc-2.15/resolv/res_debug.c:287: 
>> more undefined references to `__stack_chk_guard' follow
>
> Hello,
>
> I just went through it without issues.
>
> Verify your config.log and build log with mine:
>
> http://cross-lfs.org/~kb0iic/support/eglibc.config 
> <http://cross-lfs.org/%7Ekb0iic/support/eglibc.config>
>
> http://cross-lfs.org/~kb0iic/support/eglibc.log 
> <http://cross-lfs.org/%7Ekb0iic/support/eglibc.log>
>
>
Same issue today after re-build from scratch. The log files look pretty 
good to me. I can attach mine if you like.

BTW, I think that there's an error on the 10.7 EGLIBC page, too. It was 
one of the things that caused me to have issues with /lib64.

I'm pretty sure that configparms needs to be in the source tree, not the 
build tree, so the statement:
echo "slibdir=/lib" >> configparms

needs to be before:
mkdir -v ../eglibc-build
cd ../eglibc-build

Anyway, I have just turned off -fstack-protector (libc_cv_ssp=no) and 
have moved on. I will be doing another build from scratch this weekend 
as I further fine-tune my scripts, so if there's anything else you'd 
like me to try or re-examine, please let me know.

-- 

Chris J. Breisch<http://www.sports-gazer.com>



More information about the Clfs-support mailing list