MACOSX support
Geert Bevin
gbevin@uwyn.com
Thu Feb 20 08:50:00 GMT 2003
I just fetch the current GCC 3.3 branch from cvs and tried to build it.
During the 'make bootstrap-lean' I get the following error :
/Users/gbevin/gcc/out/gcc/xgcc -shared-libgcc
-B/Users/gbevin/gcc/out/gcc/ -nostdinc++
-L/Users/gbevin/gcc/out/powerpc-apple-darwin6.4/soft-float/libstdc++-
v3/src
-L/Users/gbevin/gcc/out/powerpc-apple-darwin6.4/soft-float/libstdc++-
v3/src/.libs -B/opt/gcc-cvs/powerpc-apple-darwin6.4/bin/
-B/opt/gcc-cvs/powerpc-apple-darwin6.4/lib/ -isystem
/opt/gcc-cvs/powerpc-apple-darwin6.4/include -msoft-float
-DHAVE_CONFIG_H -I. -I../../../../libjava -I./include -I./gcj
-I../../../../libjava -Iinclude -I../../../../libjava/include
-I../../../../libjava/../boehm-gc/include -DSILENT=1 -DNO_SIGNALS=1
-DNO_EXECUTE_PERMISSION=1 -DALL_INTERIOR_POINTERS=1
-DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1 -DATOMIC_UNCOLLECTABLE=1
-I../../../../libjava/libltdl -I../../../../libjava/libltdl
-I../../../../libjava/.././libjava/../gcc -I../../../../libjava/../zlib
-I../../../../libjava/../libffi/include -I../libffi/include -fno-rtti
-fnon-call-exceptions -fdollars-in-identifiers -Wswitch-enum
-I/usr/X11R6/include -W -Wall -D_GNU_SOURCE -DPREFIX=\"/opt/gcc-cvs\"
-g -O2 -msoft-float -MD -MT gnu/gcj/runtime/natNameFinder.lo -MF
gnu/gcj/runtime/natNameFinder.pp -c
../../../../libjava/gnu/gcj/runtime/natNameFinder.cc -o
gnu/gcj/runtime/natNameFinder.o
../../../../libjava/gnu/gcj/runtime/natNameFinder.cc: In member
function `
java::lang::StackTraceElement*
gnu::gcj::runtime::NameFinder::dladdrLookup(gnu::gcj::RawData*,
__java_int)
':
../../../../libjava/gnu/gcj/runtime/natNameFinder.cc:68: error:
`Dl_info'
undeclared (first use this function)
../../../../libjava/gnu/gcj/runtime/natNameFinder.cc:68: error: (Each
undeclared identifier is reported only once for each function it
appears
in.)
../../../../libjava/gnu/gcj/runtime/natNameFinder.cc:68: error: parse
error
before `;' token
../../../../libjava/gnu/gcj/runtime/natNameFinder.cc:70: error:
`dl_info'
undeclared (first use this function)
../../../../libjava/gnu/gcj/runtime/natNameFinder.cc:70: error: `dladdr'
undeclared (first use this function)
make[5]: *** [gnu/gcj/runtime/natNameFinder.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [multi-do] Error 1
make[2]: *** [all-multi] Error 2
make[1]: *** [all-target-libjava] Error 2
make: *** [bootstrap-lean] Error 2
This is on a hfs+ (journalling) filesystem running MacOSX 10.2.4.
I head the same error with the head cvs co from yesterday.
Is there some configuration issue that causes this?
Thanks for all the help,
Geert
On donderdag, feb 20, 2003, at 09:30 Europe/Brussels, Andreas Tobler
wrote:
> So,
>
> first of all gcj for MACOSX is WIP.
> We're working on and beside some testing it is not useful yet.
> The version you mention 3.2.2 may build a hello World native &
> interpreted.
> And also a few testcases will pass. But I doubt if you can use it for
> more.
>
> A recent snapshot of 3.3 will show you much more working code. Though,
> not
> completed yet.
>
> From my view it will probably go in in a 3.4 release. (means enable by
> default)
> For 3.3 it is too late since we're lacking some functionalities which
> are
> not yet merged. (boehm-gc)
> Too late in the regard of the release date for 3.3 which will be soon.
>
> Regarding ufs/hfs+, this issue was solved about a year ago. I just
> verified
> last night that building on hfs+ still works. The source is on ufs. Now
> I run a build with both src and objdir on a hfs+.
>
> I think at least the fs should be a hfs+ (extended) and NOT hfs.
> So you don't have to reformat.
>
> If you try to build it, pick a 3.3 snapshot, it has much improvements
> in.
>
> Hope it helps,
> Andreas
>
>
>
>
--
Geert Bevin Uwyn
"Use what you need" Lambermontlaan 148
http://www.uwyn.com 1030 Brussels
gbevin@uwyn.com Tel & Fax +32 2 245 41 06
PGP Fingerprint : 4E21 6399 CD9E A384 6619 719A C8F4 D40D 309F D6A9
Public PGP key : available at servers pgp.mit.edu, wwwkeys.pgp.net
More information about the Java
mailing list