This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
- From: "dave.anglin at bell dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 22 Jul 2011 11:12:04 +0000
- Subject: [Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
- Auto-submitted: auto-generated
- References: <bug-49810-4@http.gcc.gnu.org/bugzilla/>
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