public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/24859]  New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER
@ 2005-11-14 19:52 jgoerzen at complete dot org
  2005-11-14 19:56 ` [Bug bootstrap/24859] " pinskia at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: jgoerzen at complete dot org @ 2005-11-14 19:52 UTC (permalink / raw)
  To: gcc-bugs

Hello,

I am trying to bootstrap GCC 4.0.2 on AIX 5.1L (POWER architecture).  make
bootstrap runs for awhile, then dies with this error:

./xgcc -B./ -B/usr/local/powerpc-ibm-aix5.1.0.0/bin/ -isystem
/usr/local/powerpc-ibm-aix5.1.0.0/include -isystem
/usr/local/powerpc-ibm-aix5.1.0.0/sys-include
-L/home/jgoerzen/programs/gccbuild/objdir/gcc/../ld -O2  -DIN_GCC    -W -Wall
-Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition
 -isystem ./include   -g -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2
-D__GCC_FLOAT_NOT_NEEDED  -I. -I -I../../gcc-4.0.2/gcc -I../../gcc-4.0.2/gcc/
-I../../gcc-4.0.2/gcc/../include -I../../gcc-4.0.2/gcc/../libcpp/include 
-mcpu=power  -c ../../gcc-4.0.2/gcc/config/rs6000/darwin-ldouble.c -o
libgcc/power/darwin-ldouble.o
/tmp//cc5orZlk.s: Assembler messages:
/tmp//cc5orZlk.s:207: Error: Unrecognized opcode: `fmsub'
/tmp//cc5orZlk.s:293: Error: Unrecognized opcode: `fmsub'
make[3]: *** [libgcc/power/darwin-ldouble.o] Error 1
make[3]: Leaving directory `/home/jgoerzen/programs/gccbuild/objdir/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/home/jgoerzen/programs/gccbuild/objdir/gcc'
make[1]: *** [stage1_build] Error 2
make[1]: Leaving directory `/home/jgoerzen/programs/gccbuild/objdir/gcc'
make: *** [bootstrap] Error 2

I'm a little surprised to see RS6000 showing up there, since this is a 64-bit
POWER platform.

I'm using the GCC 4.0.2 directly from the gcc.gnu.org site.

I'm bootstrapping with gcc 3.3.2, which I had also compiled myself.

Using GNU binutils 2.14 20030612, also compiled myself.

GCC 3.3.2 seems to be working fine otherwise.

I'm happy to provide whatever additional information may be helpful.


-- 
           Summary: Unrecognized opcode bootstrapping gcc on AIX 5/POWER
           Product: gcc
           Version: 4.0.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: jgoerzen at complete dot org
 GCC build triplet: powerpc-ibm-aix5.1.0.0
  GCC host triplet: powerpc-ibm-aix5.1.0.0
GCC target triplet: powerpc-ibm-aix5.1.0.0


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


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

* [Bug bootstrap/24859] Unrecognized opcode bootstrapping gcc on AIX 5/POWER
  2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
@ 2005-11-14 19:56 ` pinskia at gcc dot gnu dot org
  2005-11-14 20:26 ` jgoerzen at complete dot org
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-14 19:56 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from pinskia at gcc dot gnu dot org  2005-11-14 19:55 -------
Using GNU binutils 2.14 20030612, also compiled myself.
That is your bug.  binutils is not complete for AIX 5 support at all.
rs6000 is there because that is the name of the target directory which supports
rs6000 and PowerPC 32/64.


-- 


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


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

* [Bug bootstrap/24859] Unrecognized opcode bootstrapping gcc on AIX 5/POWER
  2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
  2005-11-14 19:56 ` [Bug bootstrap/24859] " pinskia at gcc dot gnu dot org
@ 2005-11-14 20:26 ` jgoerzen at complete dot org
  2005-11-16 16:18 ` jgoerzen at complete dot org
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jgoerzen at complete dot org @ 2005-11-14 20:26 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from jgoerzen at complete dot org  2005-11-14 20:26 -------
I am retrying this build with IBM ld and as.

If memoery serves, I had to install GNU binutils because IBM binutils caused
trouble with version 3.3.2.  I will post a comment here when the build is
complete (or fails, whichever comes first).


-- 


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


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

* [Bug bootstrap/24859] Unrecognized opcode bootstrapping gcc on AIX 5/POWER
  2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
  2005-11-14 19:56 ` [Bug bootstrap/24859] " pinskia at gcc dot gnu dot org
  2005-11-14 20:26 ` jgoerzen at complete dot org
@ 2005-11-16 16:18 ` jgoerzen at complete dot org
  2005-11-16 16:19 ` pinskia at gcc dot gnu dot org
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jgoerzen at complete dot org @ 2005-11-16 16:18 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from jgoerzen at complete dot org  2005-11-16 16:18 -------
Well, it got farther, but then it died with literally hundreds of messages like
this:

BFD: ../libsupc++/.libs/libsupc++convenience.a(tinfo2.o): Unrecognized storage
class 111 for .text symbol `_ZTSN10__cxxabiv117__pbase_type_infoE'
BFD: ../libsupc++/.libs/libsupc++convenience.a(tinfo2.o): Unrecognized storage
class 111 for .text symbol `_ZTSN10__cxxabiv119__pointer_type_infoE'
BFD: ../libsupc++/.libs/libsupc++convenience.a(tinfo2.o): Unrecognized storage
class 111 for .text symbol `_ZTSN10__cxxabiv129__pointer_to_member_type_infoE'
BFD: ../libsupc++/.libs/libsupc++convenience.a(tinfo2.o): Unrecognized storage
class 111 for .text symbol `_ZTSv'
BFD: ../libsupc++/.libs/libsupc++convenience.a(tinfo2.o): Unrecognized storage
class 111 for .text symbol `_ZTSPv'
BFD: ../libsupc++/.libs/libsupc++convenience.a(tinfo2.o): Unrecognized storage
c

Followed by hundreds of messages like this;

ld: 0711-201 SEVERE ERROR: External symbol vtable for
__cxxabiv1::__function_type_info, defined in member tinfo2.o
        of archive ../libsupc++/.libs/libsupc++convenience.a, was not found in
the archive's global symbol table.
ld: 0711-201 SEVERE ERROR: External symbol vtable for
__cxxabiv1::__enum_type_info, defined in member tinfo2.o
        of archive ../libsupc++/.libs/libsupc++convenience.a, was not found in
the archive's global symbol table.
ld: 0711-201 SEVERE ERROR: External symbol vtable for
__cxxabiv1::__pbase_type_info, defined in member tinfo2.o
        of archive ../libsupc++/.libs/libsupc++convenience.a, was not found in
the archive's global symbol table.
ld: 0711-201 SEVERE ERROR: External symbol vtable for
__cxxabiv1::__pointer_type_info, defined in member tinfo2.o
        of archive ../libsupc++/.libs/libsupc++convenience.a, was not found in
the archive's global symbol table.
ld: 0711-201 SEVERE ERROR: External symbol vtable for
__cxxabiv1::__pointer_to_member_type_info, defined in member tinfo2.o
        of archive ../libsupc++/.libs/libsupc++convenience.a, was not found in
the archive's global symbol table.
ld: 0711-201 SEVERE ERROR: External symbol
__cxxabiv1::__pbase_type_info::__pointer_catch(__cxxabiv1::__pbase_type_info
const*, void**, unsigned int) const, defined in member tinfo2.o
        of archive ../libsupc++/.libs/libsupc++convenience.a, was not found in
the archive's global symbol table.
collect2: ld returned 12 exit status
make[4]: *** [libstdc++.la] Error 1
make[4]: Leaving directory
`/home/jgoerzen/programs/gccbuild/objdir/powerpc-ibm-aix5.1.0.0/libstdc++-v3/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory
`/home/jgoerzen/programs/gccbuild/objdir/powerpc-ibm-aix5.1.0.0/libstdc++-v3'
make[2]: *** [all] Error 2
make[2]: Leaving directory
`/home/jgoerzen/programs/gccbuild/objdir/powerpc-ibm-aix5.1.0.0/libstdc++-v3'
make[1]: *** [all-target-libstdc++-v3] Error 2
make[1]: Leaving directory `/home/jgoerzen/programs/gccbuild/objdir'
make: *** [bootstrap-lean] Error 2


-- 

jgoerzen at complete dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jgoerzen at complete dot org


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


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

* [Bug bootstrap/24859] Unrecognized opcode bootstrapping gcc on AIX 5/POWER
  2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
                   ` (2 preceding siblings ...)
  2005-11-16 16:18 ` jgoerzen at complete dot org
@ 2005-11-16 16:19 ` pinskia at gcc dot gnu dot org
  2005-11-18 19:01 ` [Bug bootstrap/24859] SEVERE ERROR " jgoerzen at complete dot org
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-16 16:19 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2005-11-16 16:19 -------
(In reply to comment #3)
> Well, it got farther, but then it died with literally hundreds of messages like
> this:

That is because GNU ld does not work fully for AIX 5 with weak symbols.  So you
have to remove GNU ld also.


-- 


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


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

* [Bug bootstrap/24859] SEVERE ERROR bootstrapping gcc on AIX 5/POWER
  2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
                   ` (3 preceding siblings ...)
  2005-11-16 16:19 ` pinskia at gcc dot gnu dot org
@ 2005-11-18 19:01 ` jgoerzen at complete dot org
  2005-11-18 20:00 ` pinskia at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: jgoerzen at complete dot org @ 2005-11-18 19:01 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #6 from jgoerzen at complete dot org  2005-11-18 19:01 -------
I have completely obliterated every possible GNU ld from the system now, and am
still getting the SEVERE ERROR I posted as the most recent item.

Please note that the 0711-201 means that this is absolutely coming from the AIX
ld.  GNU ld would never issue a code like that.


-- 

jgoerzen at complete dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Unrecognized opcode         |SEVERE ERROR bootstrapping
                   |bootstrapping gcc on AIX    |gcc on AIX 5/POWER
                   |5/POWER                     |


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


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

* [Bug bootstrap/24859] SEVERE ERROR bootstrapping gcc on AIX 5/POWER
  2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
                   ` (4 preceding siblings ...)
  2005-11-18 19:01 ` [Bug bootstrap/24859] SEVERE ERROR " jgoerzen at complete dot org
@ 2005-11-18 20:00 ` pinskia at gcc dot gnu dot org
  2005-11-21  1:34 ` pinskia at gcc dot gnu dot org
  2006-01-13 19:58 ` dje at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-18 20:00 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #7 from pinskia at gcc dot gnu dot org  2005-11-18 20:00 -------
BFD: ../libsupc++/.libs/libsupc++convenience.a(tinfo2.o): Unrecognized storage

can you alsotry to wipe out binutils ar also?


-- 


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


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

* [Bug bootstrap/24859] SEVERE ERROR bootstrapping gcc on AIX 5/POWER
  2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
                   ` (5 preceding siblings ...)
  2005-11-18 20:00 ` pinskia at gcc dot gnu dot org
@ 2005-11-21  1:34 ` pinskia at gcc dot gnu dot org
  2006-01-13 19:58 ` dje at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-11-21  1:34 UTC (permalink / raw)
  To: gcc-bugs



-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |WAITING


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


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

* [Bug bootstrap/24859] SEVERE ERROR bootstrapping gcc on AIX 5/POWER
  2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
                   ` (6 preceding siblings ...)
  2005-11-21  1:34 ` pinskia at gcc dot gnu dot org
@ 2006-01-13 19:58 ` dje at gcc dot gnu dot org
  7 siblings, 0 replies; 9+ messages in thread
From: dje at gcc dot gnu dot org @ 2006-01-13 19:58 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #8 from dje at gcc dot gnu dot org  2006-01-13 19:58 -------
no feedback.  apparently GNU Binutils is the problem.


-- 

dje at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
         Resolution|                            |WORKSFORME


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


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

end of thread, other threads:[~2006-01-13 19:58 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-14 19:52 [Bug bootstrap/24859] New: Unrecognized opcode bootstrapping gcc on AIX 5/POWER jgoerzen at complete dot org
2005-11-14 19:56 ` [Bug bootstrap/24859] " pinskia at gcc dot gnu dot org
2005-11-14 20:26 ` jgoerzen at complete dot org
2005-11-16 16:18 ` jgoerzen at complete dot org
2005-11-16 16:19 ` pinskia at gcc dot gnu dot org
2005-11-18 19:01 ` [Bug bootstrap/24859] SEVERE ERROR " jgoerzen at complete dot org
2005-11-18 20:00 ` pinskia at gcc dot gnu dot org
2005-11-21  1:34 ` pinskia at gcc dot gnu dot org
2006-01-13 19:58 ` dje at gcc dot gnu dot org

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).