I get this warning when statically linking with libunwind.a.
/usr/bin/ld: <...>/libunwind.a(Los-linux.o): in function _ULx86_local_resume:x86/Gos-linux.c:299: warning: warning: sigreturn is not implemented and will always fail
Seems like at least one other person is having this problem.
I searched the mailing list and couldn't find anything. Libunwind was built using the latest source on the git repo. The expected results were produced by 'make check'.
Should this warning be anything to worry? If not, is there a good way to silence it?
$ uname -a
Linux vm 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686 GNU/Linux
$ gcc --version
gcc (Debian 4.4.5-8) 4.4.5
$ ld --version
GNU gold (GNU Binutils for Debian 2.20.1-system.20100303) 1.9
(I get the same error with plain GNU ld 2.20)
Thanks