I tried building the latest 4.4.0 snapshot on a Powerbook G4 (PPC) running OS X
10.4.11 with the latest developer tools for OS X 10.4.  The source directory
was the full gcc-4.4-20081107 drop and I ran configure with default options
only.  The build got quite far along, but failed in stage 3 with this at the
end of the terminal log:

libtool: link: /Volumes/LaCie/Developer/Sources/gcc-4.4-build/./gcc/xgcc
-B/Volumes/LaCie/Developer/Sources/gcc-4.4-build/./gcc/
-B/usr/local/powerpc-apple-darwin8.11.0/bin/
-B/usr/local/powerpc-apple-darwin8.11.0/lib/ -isystem
/usr/local/powerpc-apple-darwin8.11.0/include -isystem
/usr/local/powerpc-apple-darwin8.11.0/sys-include -dynamiclib  -o
.libs/libjavamath.dylib  .libs/gnu_java_math_GMP.o
../../../native/jni/classpath/.libs/jcl.o   /usr/local/lib/libgmp.a   
-install_name  /usr/local/lib/gcj-4.4.0-10/libjavamath.dylib 
-Wl,-single_module
/usr/libexec/gcc/powerpc-apple-darwin8/4.0.1/ld:
/usr/local/lib/libgmp.a(popcount.o) has local relocation entries in
non-writable section (__TEXT,__text)
collect2: ld returned 1 exit status
make[6]: *** [libjavamath.la] Error 1
make[5]: *** [all-recursive] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-target-libjava] Error 2
make: *** [all] Error 2

This system has fairly recent versions of gmp and mpfr installed, which are
sufficient to build gcc up through the latest snapshots of 3.3 without errors. 
Let me know if there is any specific information that I can provide that would
help diagnose the problem.


-- 
           Summary: error building libjavamath on OS X 10.4.11 PPC
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: libgcj
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: hal at oz dot net


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

Reply via email to