https://bugs.freedesktop.org/show_bug.cgi?id=63693

--- Comment #1 from Javier Fernández <[email protected]> ---
My first impression is that the java option -d32 shouldn't be used in this
scenario, except if it's mandatory to use a 32 bits Java VM for technical
reasons. 

The Makefile's $(SDK_JAVA) environment variable is resolved by the
odk/settings/std.mk file, as follows:

SDK_JAVA="$(OO_SDK_JAVA_HOME)/$(JAVABIN)/java" $(JAVA_OPTIONS)

There is a test in the std.mk to check out the java VM arch target, which adds
the -d32 option to the JAVA_OPTIONS variable in case of 64 bits arch. 

JAVA_OPTIONS=
ifneq "$(OO_SDK_JAVA_HOME)" ""
JAVA_BITS := $(shell $(OO_SDK_JAVA_HOME)/$(JAVABIN)/java -version 2>&1 | tail
-1 | cut -d " " -f3)
ifeq "$(JAVA_BITS)" "64-Bit"
JAVA_OPTIONS=-d32
endif
endif

I guess this test is based on the assumption that the SDK was build for a 32
bit target, even using a 64 bits OS. I think it should also take into account
the SDK build target, since LO should work fine as well on 64 bit
architectures.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to