This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: darwin & libgcj ?


Andrew Haley wrote:
Andreas Tobler writes:
> Can we enable libgcj on powerpc-darwin by default?
> > It builds with no problems out of the box with --enable-libgcj on both > 3.3 and trunk.
> > Any objections?

Testsuite results would be nice. I don't want it built if it doesn't
work.
Well, I agree here. I build it since a longer time. But unfortunately the results look pretty bad due to a multiple definition of read. Expect gets confused and dropps the test:

Running /Volumes/xufs/gcc-branch/gcc/libjava/testsuite/libjava.lang/lang.exp ...
Executing on host: /Volumes/reserved1/gcchfs/objdir/powerpc-apple-darwin6.3/libj
ava/testsuite/../libtool --silent --tag=GCJ --mode=link /Volumes/reserved1/gcchf
s/objdir/gcc/gcj -B/Volumes/reserved1/gcchfs/objdir/gcc/ --encoding=UTF-8 -B/Vol
umes/reserved1/gcchfs/objdir/powerpc-apple-darwin6.3//libjava/ /Volumes/xufs/gcc
-branch/gcc/libjava/testsuite/libjava.lang/ArrayStore.java -no-install --main=
ArrayStore -g -L/Volumes/reserved1/gcchfs/objdir/powerpc-apple-darwin6.3//libjav
a/.libs -L/Volumes/reserved1/gcchfs/objdir/powerpc-apple-darwin6.3//boehm-gc/.li
bs -o /Volumes/reserved1/gcchfs/objdir/powerpc-apple-darwin6.3/libjava/testsu
ite/ArrayStore.exe (timeout = 300)
/usr/bin/ld: warning multiple definitions of symbol _read^M
/Volumes/reserved1/gcchfs/objdir/powerpc-apple-darwin6.3//libjava/.libs/libgcj.a
(os_dep.o) definition of _read in section (__TEXT,__text)^M
/usr/lib/libm.dylib(read.So) definition of _read^M
output is:
/usr/bin/ld: warning multiple definitions of symbol _read^M
/Volumes/reserved1/gcchfs/objdir/powerpc-apple-darwin6.3//libjava/.libs/libgcj.a
(os_dep.o) definition of _read in section (__TEXT,__text)^M
/usr/lib/libm.dylib(read.So) definition of _read^M


FAIL: ArrayStore compilation from source
UNTESTED: ArrayStore execution from source compiled test
UNTESTED: ArrayStore output from source compiled test
PASS: ArrayStore byte compilation
ERROR: No `main' given in program ArrayStore

When I run the test by 'hand' it works fine.

Andreas


=== libjava Summary ===

# of expected passes 484
# of unexpected failures 238
# of unresolved testcases 159
# of untested testcases 751
runtest completed at Sat Jan 4 10:01:29 2003


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]