problem building openjdk on macos 10.5.5
Greg Lewis
glewis at eyesbeyond.com
Sat Dec 13 08:16:55 PST 2008
On Thu, Dec 11, 2008 at 07:27:45AM -0500, Michael Franz wrote:
> Petr,
>
> This is already a couple months old, but I have been using this to build the
> OS X version of the OpenJDK.
> http://landonf.bikemonkey.org/code/java/OpenJDK_7_Binaries.20080820.html I
> have never use Soylatte.
That would work too :).
> The last time I was able to build was a pull from November 24, 2008. Some
> merges occurred after related to the hotspot that have prevent me from
> building.
Whats your build set up like? I did some local changes to get around the
merge problems, but now the compile dies on some of the assembler in
copy_bsd_i486.inline.hpp
and that hasn't changed for quite some time.
Do you normally build a 32 bit or 64 bit JVM? Any special flags, what
compiler versions?
> It would be nice to have binary updates on a regular basis, not sure who
> would do that.
>
> Michael
>
> On Thu, Dec 11, 2008 at 4:01 AM, Petr Jiricka <Petr.Jiricka at sun.com> wrote:
>
> > BTW, would it be possible to just publish a binary build once in a
> > while? Preferably also for Mac OS 10.4. This would allow many more
> > eyes to look at it and test it.
> >
> > Petr
> >
> > On Dec 11, 2008, at 1:32 AM, Stephen Bannasch wrote:
> >
> > > I'm getting this error:
> > >
> > > ld: library not found for -ljvm
> > > collect2: ld returned 1 exit status
> > >
> > > This is on MacOS X 10.5.5, (core 2 duo) using soylatte to build.
> > >
> > > Here's a bunch more detail including the build output echoed to the
> > > shell:
> > >
> > > http://pastie.org/336305
> > >
> > > Here's just the end of the build output where the error occurs.
> > >
> > > Rebuilding
> > > /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/lib/i386/
> > > libioser12.so
> > > because of
> > > /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/tmp/sun/
> > > com.sun.corba.se.internal.io/ioser12/obj/.files_compiled
> > > mapfile-vers
> > > /usr/bin/gcc -O2 -fno-strict-aliasing -fPIC -W -Wall -Wno-unused
> > > -Wno-parentheses -fno-omit-frame-pointer -D_LITTLE_ENDIAN
> > > -mstackrealign -Di586 -DARCH='"i586"' -D_ALLBSD_SOURCE
> > > -DRELEASE='"1.7.0-internal"' -D_LARGEFILE64_SOURCE -D_GNU_SOURCE
> > > -D_REENTRANT -I.
> > > -I/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/tmp/sun/
> > > com.sun.corba.se.internal.io/ioser12/CClassHeaders
> > > -I../../../../src/solaris/javavm/export
> > > -I../../../../src/share/javavm/export
> > > -I../../../../src/share/javavm/include
> > > -I../../../../src/solaris/javavm/include -ICClassHeaders
> > > -I/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/include
> > > -I/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/
> > > include/darwin
> > > -I../../../../src/share/native/common
> > > -I../../../../src/solaris/native/common
> > > -I../../../../src/share/native/com/sun/corba/se/internal/io
> > > -I../../../../src/solaris/native/com/sun/corba/se/internal/io
> > > -L/Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/lib/i386
> > > -dynamiclib -o
> > > /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/lib/i386/
> > > libioser12.so
> > > /Users/stephen/dev/java/src/bsd-port/build/bsd-i586/corba/tmp/sun/
> > > com.sun.corba.se.internal.io/ioser12/obj/ioser.o
> > > -L/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/jre/
> > > lib/i386/server
> > > -ljvm
> > > -L/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/jre/
> > > lib/i386
> > > -ljava
> > > -L/Users/stephen/dev/java/src/soylatte/control/build/bsd-amd64/jre/
> > > lib/i386/server
> > > -ljvm
> > > ld: library not found for -ljvm
> > > collect2: ld returned 1 exit status
> > >
> >
> >
> >
>
--
Greg Lewis Email : glewis at eyesbeyond.com
Eyes Beyond Web : http://www.eyesbeyond.com
Information Technology FreeBSD : glewis at FreeBSD.org
More information about the bsd-port-dev
mailing list