RFR: 8256829: GNU hash style is not available on MIPS

Aleksey Shipilev shade at openjdk.java.net
Sun Nov 22 14:24:31 UTC 2020


For fun, I tried to build `linux-mips64el-zero-fastdebug`, and it cannot be built, because linker complains:


collect2: error: ld returned 1 exit status

I believe it is a regression in 16, as GNU hash style was forced with [JDK-8200738](https://bugs.openjdk.java.net/browse/JDK-8200738). The way out is to special-case MIPS hash-style to `sysv`. This enumerates all MIPS targets that `make/autoconf/platform.m4` knows about.

Testing:
 - [x] Linux mipsel zero fastdebug build (requires additional unrelated fixes)
 - [x] Linux mips64el zero fastdebug build

-------------

Commit messages:
 - 8256829: GNU hash style is not available on MIPS

Changes: https://git.openjdk.java.net/jdk/pull/1374/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=1374&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8256829
  Stats: 11 lines in 1 file changed: 10 ins; 0 del; 1 mod
  Patch: https://git.openjdk.java.net/jdk/pull/1374.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/1374/head:pull/1374

PR: https://git.openjdk.java.net/jdk/pull/1374



More information about the build-dev mailing list