This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] testcases for -fstack-protector



On Apr 9, 2007, at 11:16 AM, Andrew Pinski wrote:


On 3/13/07, Eric Christopher <echristo@apple.com> wrote:
Here's a couple of quick tests to ensure that -fstack-protector is
working. I've got them enabled for native only.

Tested on x86_64-linux-gnu, x86-darwin, x86_64-darwin, mipsisa64-elf
(to make sure they didn't run).

These testcase fails if libc does not have ssp support and libssp is not installed already: /usr/bin/ld: cannot find -lssp_nonshared collect2: ld returned 1 exit status compiler exited with status 1 output is: /usr/bin/ld: cannot find -lssp_nonshared collect2: ld returned 1 exit status

FAIL: gcc.dg/ssp-1.c (test for excess errors)
Excess errors:
/usr/bin/ld: cannot find -lssp_nonshared

Hrm. Then how the heck did they not fail in my mipsisa64-elf test?


Anyhow, I'll look into it shortly.

-eric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]