Hm, things are not right.
This is correct and expected in 4.5:
$ gcc-4.5 -U_FORTIFY_SOURCE -O2 test.c -o test $ hardening-check test ... Fortify Source functions: no, not found!
This is not right for 4.6:
$ gcc-4.6 -U_FORTIFY_SOURCE -O2 test.c -o test $ hardening-check test ... Fortify Source functions: yes
Hm, things are not right.
This is correct and expected in 4.5:
$ gcc-4.5 -U_FORTIFY_SOURCE -O2 test.c -o test
$ hardening-check test
...
Fortify Source functions: no, not found!
This is not right for 4.6:
$ gcc-4.6 -U_FORTIFY_SOURCE -O2 test.c -o test
$ hardening-check test
...
Fortify Source functions: yes