[MacPorts] #20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
MacPorts
noreply at macports.org
Wed Nov 3 14:33:04 PDT 2010
#20956: openjdk6: build fails on Snow Leopard with error during "corba-build"
------------------------------------+---------------------------------------
Reporter: dmz@… | Owner: landonf@…
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 1.8.0
Keywords: | Port: openjdk6
------------------------------------+---------------------------------------
Comment(by johnsonlaucn@…):
Replying to [comment:48 landonf@…]:
> Regarding FORCE_32BIT_JDK, I believe we should (upstream, in OpenJDK)
support the use of ARCH_DATA_MODEL to override this value. The problem is
that we rely on uname -m to determine whether to build amd64/i586, but
that only returns x86-64 if the kernel is 64-bit itself.
>
> So really, it should be (pseudo-code):
>
> {{{
> if ((arch == i586 || arch == x86-64) && ARCH_DATA_MODEL == 64) {
> /* build for amd64 */
> };
> }}}
>
>
> Additionally, MacPorts itself has an internal notion of what target
architecture to build for (via supported_arches and the ${build_arch}
variable) that we can rely on here.
Totally agreed.[[BR]]
Taking ARCH_DATA_MODEL as a variant between 32bit / 64bit is a better idea
than introducing another variable.[[BR]]
> Instead of ucontext.h/stdint.h patches, we can use the following in
vm.make (pulled from later upstream openjdk7 work):
Agreed.
--
Ticket URL: <https://trac.macports.org/ticket/20956#comment:50>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list