[Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
dave.anglin at bell dot net
gcc-bugzilla@gcc.gnu.org
Fri Jul 22 11:12:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49810
--- Comment #3 from dave.anglin at bell dot net 2011-07-22 11:12:01 UTC ---
On 22-Jul-11, at 6:50 AM, rguenth at gcc dot gnu.org wrote:
> You probably get different prototypes with C vs. C++ for strsignal.
The prototype has to come from libiberty since the system doesn't have
strsignal:
/* Return a signal message string for a signal number
(e.g., strsignal (SIGHUP) returns something like "Hangup"). */
/* This is commented out as it can conflict with one in system headers.
We still document its existence though. */
/*extern const char *strsignal (int);*/
Dave
--
John David Anglin dave.anglin@bell.net
More information about the Gcc-bugs
mailing list