On Mon, 9 Mar 2026 13:56:27 GMT, Matthias Baesken <[email protected]> wrote:

> When building headless on AIX (configure flag --enable-headless-only), we run 
> into this linker error :
> 
> 
> ld: 0711-317 ERROR: Undefined symbol: awt_GetDrawingSurface
> ld: 0711-317 ERROR: Undefined symbol: awt_FreeDrawingSurface
> ld: 0711-317 ERROR: Undefined symbol: awt_Lock
> ld: 0711-317 ERROR: Undefined symbol: awt_Unlock
> ld: 0711-317 ERROR: Undefined symbol: awt_GetComponent
> ld: 0711-317 ERROR: Undefined symbol: awt_CreateEmbeddedFrame
> ld: 0711-317 ERROR: Undefined symbol: awt_SetBounds
> ld: 0711-317 ERROR: Undefined symbol: awt_SynthesizeWindowActivation
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
> .ibm-clang: error: linker command failed with exit code 8 (use -v to see 
> invocation)
> 
> gmake[3]: *** [lib/AwtLibraries.gmk:442: 
> /open_jdk/build_aix_headless/support/modules_libs/java.desktop/libjawt.so] 
> Error 8
> 
> 
> Seems the C sources of libjawt missed the HEADLESS define, it was so far only 
> set on Linux.
> 
> Maybe we should set this define for all UNIX platforms ?

Thanks for the review.
So I guess we keep it as-is and do not worry much about BSD .

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

PR Comment: https://git.openjdk.org/jdk/pull/30145#issuecomment-4029603231

Reply via email to