public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Build failure of GCC-3.0 branch on powerpc
@ 2001-02-19 14:49 Mark Wielaard
  2001-02-20 12:45 ` Mark Wielaard
  0 siblings, 1 reply; 2+ messages in thread
From: Mark Wielaard @ 2001-02-19 14:49 UTC (permalink / raw)
  To: gcc-help

Hi,

I am trying to build the GCC 3.0 branch on powerpc including gcj.
It is the CVS version of yesterday configured with --enable-languages=c++,java
It gives the following error:

make[6]: Entering directory `/opt/mark/gcc-obj/powerpc-unknown-linux-gnu/nof/libffi'
/bin/sh ./libtool --mode=link /opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include  -msoft-float -fPIC -mstrict-align -fexceptions -g -O2  -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o ffitest  ffitest.o libffi.la
/opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -msoft-float -fPIC -mstrict-align -fexceptions -g -O2 -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o .libs/ffitest ffitest.o
./.libs/libffi.so+-Wl,--rpath -Wl,/usr/local/gcc/lib/nof
/usr/bin/ld: warning: libgcc_s_nof.so.0, needed by ./.libs/libffi.so, not found (try using --rpath)
./.libs/libffi.so: undefined reference to `__extendsfdf2@GCC_3.0'
collect2: ld returned 1 exit status
make[6]: *** [ffitest] Error 1

Someone suggested that configuring with --disable-multilib could be a
workaround. But that gives me the following error:

make[3]: Entering directory
`/opt/mark/gcc-obj/powerpc-unknown-linux-gnu/libffi'/bin/sh ./libtool --mode=link /opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -fexceptions -g -O2   -o ffitest  ffitest.o libffi.la 
/opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -fexceptions -g -O2 -o .libs/ffitest ffitest.o  ./.libs/libffi.so -Wl,--rpath -Wl,/usr/local/gcc/lib
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__SBSS2_END__'
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__init'
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__SBSS_END__'
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__SDATA2_START__'
/usr/local/gcc/lib/libgcc_s.so.0: undefined reference to `__SDATA_START__'
collect2: ld returned 1 exit status
make[3]: *** [ffitest] Error 1

Could someone help me analyse this problem?
I can build a functional gcj compiler on i386.

Thanks,

Mark

-- 
Stuff to read:
    < http://www.toad.com/gnu/whatswrong.html >
  What's Wrong with Copy Protection, by John Gilmore

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

* Re: Build failure of GCC-3.0 branch on powerpc
  2001-02-19 14:49 Build failure of GCC-3.0 branch on powerpc Mark Wielaard
@ 2001-02-20 12:45 ` Mark Wielaard
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Wielaard @ 2001-02-20 12:45 UTC (permalink / raw)
  To: gcc-help

Hi,

On Mon, Feb 19, 2001 at 11:49:11PM +0100, Mark Wielaard wrote:
> 
> I am trying to build the GCC 3.0 branch on powerpc including gcj.
> It is the CVS version of yesterday configured with --enable-languages=c++,java
> It gives the following error:
> 
> make[6]: Entering directory `/opt/mark/gcc-obj/powerpc-unknown-linux-gnu/nof/libffi'
> /bin/sh ./libtool --mode=link /opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include  -msoft-float -fPIC -mstrict-align -fexceptions -g -O2  -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o ffitest  ffitest.o libffi.la
> /opt/mark/gcc-obj/gcc/xgcc -B/opt/mark/gcc-obj/gcc/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/bin/ -B/usr/local/gcc/powerpc-unknown-linux-gnu/lib/ -isystem /usr/local/gcc/powerpc-unknown-linux-gnu/include -msoft-float -fPIC -mstrict-align -fexceptions -g -O2 -msoft-float -fPIC -mstrict-align -msoft-float -fPIC -mstrict-align -o .libs/ffitest ffitest.o
> ./.libs/libffi.so+-Wl,--rpath -Wl,/usr/local/gcc/lib/nof
> /usr/bin/ld: warning: libgcc_s_nof.so.0, needed by ./.libs/libffi.so, not found (try using --rpath)
> ./.libs/libffi.so: undefined reference to `__extendsfdf2@GCC_3.0'
> collect2: ld returned 1 exit status
> make[6]: *** [ffitest] Error 1

Some updates. It still doesn't work :(
The libgcc_s_nof.so.0 file does exist.

I tried a clean build without gjc but with g++ (--enable-languages=c++).
That does seem to succeed but after I installed it I couldn't compile
even the simplest c++ program. I always get the following:

/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__SBSS2_END__'
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__init'
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__SBSS_END__'
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__SDATA2_START__'
/usr/local/gcc/lib/gcc-lib/powerpc-unknown-linux-gnu/3.0/../../../libgcc_s.so: undefined reference to `__SDATA_START__'
collect2: ld returned 1 exit status

The g++ compiler (also compiled from the same CVS source)
does work on my i386 machine.

Could someone help me getting this working on powerpc?
Does anybody have a working g++ and/or gcj compiler from recent
CVS (3.0 branch)?

Thanks,

Mark

-- 
Stuff to read:
    < http://www.toad.com/gnu/whatswrong.html >
  What's Wrong with Copy Protection, by John Gilmore

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

end of thread, other threads:[~2001-02-20 12:45 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-02-19 14:49 Build failure of GCC-3.0 branch on powerpc Mark Wielaard
2001-02-20 12:45 ` Mark Wielaard

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