This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: /cvs/libc/nscd/connections.c:1008: undefined reference to `__stack_chk_guard'
- From: Roland McGrath <roland at redhat dot com>
- To: Andreas Jaeger <aj at suse dot de>
- Cc: libc-alpha at sources dot redhat dot com
- Date: Thu, 21 Jul 2005 22:35:40 -0700 (PDT)
- Subject: Re: /cvs/libc/nscd/connections.c:1008: undefined reference to `__stack_chk_guard'
The link doesn't use -lgcc either, because it doesn't use -nostdlib.
So gcc should be supplying -lssp, which it will with -fstack-protector.
I've tweaked the makefile so it should include the options in the linking run.
Please test it.