* RE: RE: Building gcc 3.4.3 on AIX 5.2 hangs
@ 2005-03-22 14:10 Wheeler, Richard
2005-03-25 19:01 ` cross compiler for i386-pc-solaris2.9 fails on solaris sparc Kevin Nomura
0 siblings, 1 reply; 2+ messages in thread
From: Wheeler, Richard @ 2005-03-22 14:10 UTC (permalink / raw)
To: gcc-help; +Cc: cmchugh
Check your applied APARS for IY53606
http://gcc.gnu.org/install/specific.html#powerpc*-*-*
Building libstdc++.a requires a fix for an AIX Assembler bug APAR IY26685
(AIX 4.3) or APAR IY25528 (AIX 5.1). It also requires a fix for another AIX
Assembler bug and a co-dependent AIX Archiver fix referenced as APAR IY53606
(AIX 5.2) or a APAR IY54774 (AIX 5.1)
-----Original Message-----
From: Wheeler, Richard
Sent: Tuesday, March 22, 2005 8:45 AM
To: 'gcc-help@gcc.gnu.org'
Cc: 'cmchugh@callixa.com'
Subject: RE: Building gcc 3.4.3 on AIX 5.2 hangs
Hi,
I am having the same problem that particular step has been running 96+ hours
for me so far.
I was curious if you got past the problem?
My Platform is simlar to yours:
make -v
GNU Make 3.80
Platform: powerpc-ibm-aix5.2.0.0
GCC version: 3.3.2
Configure: --enable-threads=aix --disable-nls
Make: bootstrap-lean
R.
------------------------
You previously wrote:
>> Hi,
>>
>> I have been unable to build gcc 3.4.3 on AIX 5.2; on each attempt, when
it gets to compiling a particular file, it hangs:
>>
>> /export/work/gcc-3.4.3/objdir/gcc/xgcc -shared-libgcc
>> -B/export/work/gcc-3.4.3/objdir/gcc/ -nostdinc++
>> -L/export/work/gcc-3.4.3/objdir/powerpc-ibm-aix5.2.0.0/pthread/libstd
>> c++-v3/src
>> -L/export/work/gcc-3.4.3/objdir/powerpc-ibm-aix5.2.0.0/pthread/libstd
>> c++-v3/src/.libs -B/usr/local/powerpc-ibm-aix5.2.0.0/bin/
>> -B/usr/local/powerpc-ibm-aix5.2.0.0/lib/ -isystem
>> /usr/local/powerpc-ibm-aix5.2.0.0/include -isystem
>> /usr/local/powerpc-ibm-aix5.2.0.0/sys-include -pthread
>> -I/export/work/gcc-3.4.3/objdir/powerpc-ibm-aix5.2.0.0/pthread/libstd
>> c++-v3/include/powerpc-ibm-aix5.2.0.0
>> -I/export/work/gcc-3.4.3/objdir/powerpc-ibm-aix5.2.0.0/pthread/libstd
>> c++-v3/include
>> -I/export/work/gcc-3.4.3/gcc-3.4.3/libstdc++-v3/libsupc++ -O2 -g -O2
>> -g -O2 -pthread -fno-implicit-templates -Wall -W -Wwrite-strings
>> -Wcast-qual -fdiagnostics-show-location=once
>> -I/export/work/gcc-3.4.3/objdir/powerpc-ibm-aix5.2.0.0/pthread/libstd
>> c++-v3/include/backward -Wno-deprecated -c
>> ../../../../../gcc-3.4.3/libstdc++-v3/src/strstream.cc -DPIC -o
>> .libs/strstream.o
>>
>> (note: /export/work is where I put the source).
>>
>> This is my environment and configuration:
>>
>> make version: GNU make 3.80
>> gcc version for the build: tried with both 2.9-aix51-020209 and 3.3.3
>> config shell: /usr/bin/bash
>> platform: powerpc-ibm-aix5.2.0.0
>> OS: AIX 5.2
>> configure arguments: --enable-languages=c,c++ --enable-threads=aix
>> --disable-nls make arguments: tried both bootstrap and -j 2 bootstrap
>> (it's a dual processor box)
>>
>>
>> I copied the config from http://gcc.gnu.org/ml/gcc/2004-10/msg00724.html
which details a successful build.
>>
>> Anyone experienced anything like this ?
>>
>> C.
^ permalink raw reply [flat|nested] 2+ messages in thread
* cross compiler for i386-pc-solaris2.9 fails on solaris sparc
2005-03-22 14:10 RE: Building gcc 3.4.3 on AIX 5.2 hangs Wheeler, Richard
@ 2005-03-25 19:01 ` Kevin Nomura
0 siblings, 0 replies; 2+ messages in thread
From: Kevin Nomura @ 2005-03-25 19:01 UTC (permalink / raw)
To: gcc-help
Hi,
I successfully built a cross compiler to i386-pc-solaris2.9 target
from a linux host. gcc 3.4.2 or 3.4.3, binutils 2.15.
When I try the same configure and build on a solaris 2.8 sparc host
the compile of gcrt1.s fails:
sed -e '/^!/d' </u/nomura/dl/gcc-3.4.2/gcc/config/i386/sol2-gc1.asm
>gcrt1.s
sparc-sun-solaris2.8-as -o gcrt1.o gcrt1.s
/bin/sh /u/nomura/dl/gcc-3.4.2/gcc/move-if-change tmp-mlib.h multilib.h
echo "NULL};" >> tmp-gtyp.h
echo "static const char *const all_files[] = {" >> tmp-gtyp.h
gcrt1.s: Assembler messages:
gcrt1.s:13: Error: Unknown opcode: `pushl'
gcrt1.s:14: Error: Unknown opcode: `pushl'
gcrt1.s:15: Error: Illegal operands
gcrt1.s:18: Error: Unknown opcode: `pushl'
gcrt1.s:21: Error: Illegal operands
gcrt1.s:22: Error: Unknown opcode: `testl'
gcrt1.s:23: Error: Unknown opcode: `je'
gcrt1.s:24: Error: Unknown opcode: `pushl'
I.e. it's trying to use the local assembler instead of the cross
assembler.
Cross binutils 2.15 has been built and installed in the prefix dir.
On solaris (fails):
# /u/nomura/dl/gcc-3.4.2/configure --target=i386-pc-solaris2.9 --prefix=/x/sim/nomura/root.solaris/i386-pc-solaris2.9-gcc-3.4.2 --enable-languages=c,c++ --with-sysroot=/x/sim/nomura/root.solaris/i386-pc-solaris2.9-gcc-3.4.2/sysroot --with-gnu-as --with-gnu-ld
On linux (succcessful):
# /u/nomura/dl/gcc-3.4.2/configure --target=i386-pc-solaris2.9 --prefix=/x/sim/nomura/root.linux/i386-pc-solaris2.9-gcc-3.4.2 --enable-languages=c,c++ --with-sysroot=/x/sim/nomura/root.linux/i386-pc-solaris2.9-gcc-3.4.2/sysroot --with-gnu- as --with-gnu-ld
Since these look the same I suppose it is something else in the
environment. Thanks in advance for any tips.
Kevin Nomura
Network Appliance
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-03-25 18:56 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-22 14:10 RE: Building gcc 3.4.3 on AIX 5.2 hangs Wheeler, Richard
2005-03-25 19:01 ` cross compiler for i386-pc-solaris2.9 fails on solaris sparc Kevin Nomura
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).