[aarch64-port-dev ] RFR: GensrcMisc.gmk linker issue on windows
akashche at redhat.com
Thu Mar 9 13:46:31 UTC 2017
On 03/09/2017 01:04 PM, Michal Vala wrote:
> On 03/09/2017 08:24 AM, Michal Vala wrote:
>>> Have you tested that reverting this to the upstream jdk8u version
>>> doesn't break aarch64?
>>> I did a comparison of upstream jdk8u121-b14 with the current state of
>>> aarch64/jdk8u (attached)
>>> and all other changes do seem to be necessary for aarch64 (the test
>>> issue is a merge issue
>>> already resolved in the main jdk8u tree, but not jdk8u121-b14).
>> Haven't tried on aarch64, but I'll do.
> How you please got the patch? I just could find this huge merge
> changeset under the hash .
> If I tried to revert patch you sent "patch -R -p1 <
> ~/tmp/aarch64.jdk.patch" I got following error on aarch64:
> gmake: *** No rule to make target
> needed by
> With just LDEXE fix I sent, aarch64 build is ok.
I contributed the opposite change once for aarch32 . Just checked
with aarch64-jdk8u - proposed change breaks aarch64 cross-compilation
(on ubuntu 16.04 x86_64 with --openjdk-target=aarch64-linux-gnu )
causing the following error:
/usr/bin/ld: warning: cannot find entry symbol _start; defaulting to
In function `out':
genSocketOptionRegistry.c:(.text+0x10): undefined reference to `puts'
In function `emit':
genSocketOptionRegistry.c:(.text+0x48): undefined reference to `printf'
genSocketOptionRegistry.c:(.text+0x5c): undefined reference to `printf'
gensrc/GensrcMisc.gmk:74: recipe for target
Though this change is indeed required for windows builds, ojdkbuild
brings a local patch for it .
More information about the shenandoah-dev