public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/49810] New: [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
@ 2011-07-21 23:48 danglin at gcc dot gnu.org
  2011-07-22  0:06 ` [Bug bootstrap/49810] " danglin at gcc dot gnu.org
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-21 23:48 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49810

           Summary: [4.7 Regression] ld: Unsatisfied symbol
                    "strsignal(int)" in file collect2.o
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: danglin@gcc.gnu.org
              Host: hppa64-hp-hpux11.11
            Target: hppa64-hp-hpux11.11
             Build: hppa64-hp-hpux11.11


/test/gnu/gcc/objdir/./prev-gcc/g++ -B/test/gnu/gcc/objdir/./prev-gcc/
-B/opt/gn
u64/gcc/gcc-4.7/hppa64-hp-hpux11.11/bin/ -nostdinc++
-B/test/gnu/gcc/objdir/prev
-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-B/test/gnu/gcc/objdir/prev-hppa64-h
p-hpux11.11/libstdc++-v3/libsupc++/.libs
-I/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/include/hppa64-hp-hpux11.11
-I/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/include
-I/test/gnu/gcc/gcc/libstdc++-v3/libsupc++
-L/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/src/.libs
-L/test/gnu/gcc/objdir/prev-hppa64-hp-hpux11.11/libstdc++-v3/libsupc++/.libs 
-g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Werror -fno-common  -DHAVE_CONFIG_H -static-libstdc++
-static-libgcc  -o Tcollect2 \
                collect2.o collect2-aix.o tlink.o libcommon.a
../libcpp/libcpp.a   ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a  
ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
1 errors.
collect2: error: ld returned 1 exit status


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
  2011-07-21 23:48 [Bug bootstrap/49810] New: [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o danglin at gcc dot gnu.org
@ 2011-07-22  0:06 ` danglin at gcc dot gnu.org
  2011-07-22 10:51 ` rguenth at gcc dot gnu.org
                   ` (4 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-22  0:06 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49810

--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2011-07-22 00:05:29 UTC ---
This occurs in stage2.  It seems we are now using C++ by default but
there isn't a C++ version of libiberty.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
  2011-07-21 23:48 [Bug bootstrap/49810] New: [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o danglin at gcc dot gnu.org
  2011-07-22  0:06 ` [Bug bootstrap/49810] " danglin at gcc dot gnu.org
@ 2011-07-22 10:51 ` rguenth at gcc dot gnu.org
  2011-07-22 11:12 ` dave.anglin at bell dot net
                   ` (3 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: rguenth at gcc dot gnu.org @ 2011-07-22 10:51 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49810

Richard Guenther <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0

--- Comment #2 from Richard Guenther <rguenth at gcc dot gnu.org> 2011-07-22 10:50:10 UTC ---
You probably get different prototypes with C vs. C++ for strsignal.


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
  2011-07-21 23:48 [Bug bootstrap/49810] New: [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o danglin at gcc dot gnu.org
  2011-07-22  0:06 ` [Bug bootstrap/49810] " danglin at gcc dot gnu.org
  2011-07-22 10:51 ` rguenth at gcc dot gnu.org
@ 2011-07-22 11:12 ` dave.anglin at bell dot net
  2011-07-23 18:11 ` danglin at gcc dot gnu.org
                   ` (2 subsequent siblings)
  5 siblings, 0 replies; 7+ messages in thread
From: dave.anglin at bell dot net @ 2011-07-22 11:12 UTC (permalink / raw)
  To: gcc-bugs

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
  2011-07-21 23:48 [Bug bootstrap/49810] New: [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o danglin at gcc dot gnu.org
                   ` (2 preceding siblings ...)
  2011-07-22 11:12 ` dave.anglin at bell dot net
@ 2011-07-23 18:11 ` danglin at gcc dot gnu.org
  2011-07-23 22:28 ` pinskia at gcc dot gnu.org
  2011-07-28 21:25 ` sje at cup dot hp.com
  5 siblings, 0 replies; 7+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-07-23 18:11 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49810

John David Anglin <danglin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dj at redhat dot com
   Target Milestone|4.7.0                       |---

--- Comment #4 from John David Anglin <danglin at gcc dot gnu.org> 2011-07-23 18:11:11 UTC ---
Would it be possible to add a declaration check for strsignal and fix header?


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
  2011-07-21 23:48 [Bug bootstrap/49810] New: [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o danglin at gcc dot gnu.org
                   ` (3 preceding siblings ...)
  2011-07-23 18:11 ` danglin at gcc dot gnu.org
@ 2011-07-23 22:28 ` pinskia at gcc dot gnu.org
  2011-07-28 21:25 ` sje at cup dot hp.com
  5 siblings, 0 replies; 7+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-07-23 22:28 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49810

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Target Milestone|---                         |4.7.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Bug bootstrap/49810] [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o
  2011-07-21 23:48 [Bug bootstrap/49810] New: [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o danglin at gcc dot gnu.org
                   ` (4 preceding siblings ...)
  2011-07-23 22:28 ` pinskia at gcc dot gnu.org
@ 2011-07-28 21:25 ` sje at cup dot hp.com
  5 siblings, 0 replies; 7+ messages in thread
From: sje at cup dot hp.com @ 2011-07-28 21:25 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49810

Steve Ellcey <sje at cup dot hp.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |sje at cup dot hp.com
         Resolution|                            |FIXED

--- Comment #5 from Steve Ellcey <sje at cup dot hp.com> 2011-07-28 21:25:06 UTC ---
This is fixed now with this patch:


------------------------------------------------------------------------
r176747 | ro | 2011-07-25 07:24:59 -0700 (Mon, 25 Jul 2011) | 6 lines

        gcc:
        * system.h [__cplusplus]: Wrap C function declarations in extern "C".

        include:
        * xregex.h (regoff_t): Define.


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2011-07-28 21:25 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-07-21 23:48 [Bug bootstrap/49810] New: [4.7 Regression] ld: Unsatisfied symbol "strsignal(int)" in file collect2.o danglin at gcc dot gnu.org
2011-07-22  0:06 ` [Bug bootstrap/49810] " danglin at gcc dot gnu.org
2011-07-22 10:51 ` rguenth at gcc dot gnu.org
2011-07-22 11:12 ` dave.anglin at bell dot net
2011-07-23 18:11 ` danglin at gcc dot gnu.org
2011-07-23 22:28 ` pinskia at gcc dot gnu.org
2011-07-28 21:25 ` sje at cup dot hp.com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).