Building openjdk 7 on Mac OX 10.6.8

Greg Lewis glewis at eyesbeyond.com
Thu Feb 2 08:50:53 PST 2012


On Wed, Feb 01, 2012 at 11:29:50AM -0800, m silverstri wrote:
> Hi,
> 
> I am trying to following the steps here to build openjdk 7 on Mac OS 10.6.8.
> https://wikis.oracle.com/display/OpenJDK/Darwin10Build
> 
> But I am getting this error:
> 
> rm -f bsd_x86_32.o
> /usr/bin/gcc -c -x assembler-with-cpp -m32 -march=i586 -mstackrealign
> -MMD -MP -MF ../generated/dependencies/bsd_x86_32.o.d -o bsd_x86_32.o
> /Users/scheung/Src/openjdk/bsd-port/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_32.s
> /Users/scheung/Src/openjdk/bsd-port/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_32.s:27:Unknown
> pseudo-op: .type
> /Users/scheung/Src/openjdk/bsd-port/hotspot/src/os_cpu/bsd_x86/vm/bsd_x86_32.s:27:Rest
> of line ignored. 1st junk character valued 95 (_).
> make[6]: *** [bsd_x86_32.o] Error 1
> make[5]: *** [the_vm] Error 2
> make[4]: *** [product] Error 2
> make[3]: *** [generic_build2] Error 2
> make[2]: *** [product] Error 2
> make[1]: *** [hotspot-build] Error 2
> make: *** [build_product_image] Error 2
> 
> Does anyone know how to fix it?
> 
> Thank you.

At this point you're likely to be much better off using the macosx-port
repo for building on MacOS X rather than the bsd-port repo.

-- 
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