gcj compile problems on powerpc (3.0 branch)

Mark Wielaard mark@klomp.org
Tue Feb 20 12:57:00 GMT 2001


Hi,

(continued from a build problem discussion on java-patches
http://gcc.gnu.org/ml/java-patches/2001-q1/msg00299.html )

On Mon, Feb 19, 2001 at 10:48:22AM -0500, Jeff Sturm wrote:
> 
> It might be constructive to link a test c++ program with and without
> -msoft-float, and report any problems to the gcc list.

I cannot even get a simple c++ program to compile on powerpc :(
I always get the following errors:

mark@multatuli:~$ g++ hello.cc 
/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

I posted on gcc-help but nobody could help me (but I keep trying :).
http://gcc.gnu.org/ml/gcc-help/2001-02/msg00160.html
http://gcc.gnu.org/ml/gcc-help/2001-02/msg00175.html

Does anybody have a working (recent CVS from the branch) gcj on powerpc?

Cheers,

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



More information about the Java mailing list