On Thu, 21 May 2026 00:54:20 GMT, Yasumasa Suenaga <[email protected]> wrote:

> I tried to build devkit for Linux x86_64, but I couldn't with following 
> message:
> 
> 
> configure: error: I suspect your system does not have 32-bit development 
> libraries (libc and headers). If you have them, rerun configure with 
> --enable-multilib. If you do not have them, and want to build a 64-bit-only 
> compiler, rerun configure with --disable-multilib.
> 
> 
> Similar issue has been reported in 
> [JDK-8373624](https://bugs.openjdk.org/browse/JDK-8373624). We can remove 32 
> bit support based on [JEP 503: Remove the 32-bit x86 
> Port](https://openjdk.org/jeps/503), it means "disabling multilib" in 
> configure error.
> 
> ---------
> - [x] I confirm that I make this contribution in accordance with the [OpenJDK 
> Interim AI Policy](https://openjdk.org/legal/ai).

make/devkit/Tools.gmk line 268:

> 266: ifeq ($(ARCH),x86_64)
> 267:   # Enable mixed mode.
> 268:   RPM_ARCHS += i386 i686

Does this needed after the 32bit x86 has been removed.

make/devkit/Tools.gmk line 373:

> 371: # Create a TARGET bfd + libiberty only.
> 372: # Configure one or two times depending on mulitlib arch.
> 373: # If multilib, the second should be 32-bit, and we resolve

Does this comment needed

make/devkit/Tools.gmk line 519:

> 517: # c,c++
> 518: # shared libs
> 519: # multilib (-m32/-m64 on x64)

Comments about -m32/m64 maybe not needed

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

PR Review Comment: https://git.openjdk.org/jdk/pull/31227#discussion_r3279992581
PR Review Comment: https://git.openjdk.org/jdk/pull/31227#discussion_r3279999036
PR Review Comment: https://git.openjdk.org/jdk/pull/31227#discussion_r3280007299

Reply via email to