On Sun, Dec 7, 2008 at 4:26 PM, Charles Oliver Nutter < [EMAIL PROTECTED]> wrote:
> Ben Evans wrote: > > > I'm a bit out of my depth here, and someone should definitely check my > > assertion that the patches to array.hpp, debug.cpp, etc really don't > > need to be applied against the bsd-port tree. > > > > I'm going to post this same compile fail to the bsd-port-dev list as > > well - anyone else got any ideas? > > At a glance it almost looks like it's doubling something else up...some > code that already exists elsewhere (in that file or in another file) > getting applied and conflicting. Can you search for some of those redefs > and see if maybe it's another piece that exists already? > OK, looking at this last part of the error: /Users/boxcat/projects/jdk7-b40-bsd/sources/hotspot/src/cpu/x86/vm/interp_masm_x86_32.hpp: In member function 'void InterpreterMacroAssembler::empty_expression_stack()': /Users/boxcat/projects/jdk7-b40-bsd/sources/hotspot/src/cpu/x86/vm/interp_masm_x86_32.hpp:123: error: call of overloaded 'movptr(Address, int)' is ambiguous /Users/boxcat/projects/jdk7-b40-bsd/sources/hotspot/src/cpu/x86/vm/assembler_x86.hpp:2099: note: candidates are: void MacroAssembler::movptr(Address, intptr_t) /Users/boxcat/projects/jdk7-b40-bsd/sources/hotspot/src/cpu/x86/vm/assembler_x86.hpp:2101: note: void MacroAssembler::movptr(Address, RegisterImpl*) make[6]: *** [incls/_precompiled.incl.gch] 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 I think this is the same as a build issue reported on the bsd-port-dev list. My understanding is that the underlying issue is that OpenJDK codebase assumes that int32_t and intptr_t are the same, whereas OS X has intptr_t as a 64-bit quantity. Once this is fixed, it may resolve more of the errors above it in the error trace I posted. Thanks, Ben
_______________________________________________ mlvm-dev mailing list [email protected] http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev
