Building openjdk 7 on Mac OX 10.6.8

Mike Swingler swingler at apple.com
Thu Feb 2 09:41:51 PST 2012


On Feb 2, 2012, at 8:50 AM, Greg Lewis wrote:

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

The macosx-port repo is shut down. All the work is in 7u-osx right now, and will be migrated to 7u4 shortly. See here for the latest instructions:
<https://wikis.oracle.com/display/OpenJDK/Mac+OS+X+Port>

Regards,
Mike Swingler
Apple Inc.




More information about the bsd-port-dev mailing list