Dimitry Andric a2f61c3e68 java/openjdk8: fix build with lld 17
Building java/openjdk8 with lld 17 results in the following link error:

  Making SA debugger back-end...
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol 'ps_getpid' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol 'ps_lcontinue' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol 'ps_lgetxmmregs' failed: symbol not defined
  ld: error: version script assignment of 'SUNWprivate_1.1' to symbol 'ps_lsetxmmregs' failed: symbol not defined
  cc: error: linker command failed with exit code 1 (use -v to see invocation)

This is because lld 17 defaults to errors when undefined symbols are
referenced in linker version scripts. Since there are many of these in
openjdk 8, suppress the errors by adding -Wl,--undefined-version to the
--with-extra-ldflags configure option.

PR:		274106
Approved by:	maintainer timeout (10 days)
MFH:		2023Q4
2023-10-06 19:48:54 +02:00
..
2023-08-30 09:56:52 +02:00
2022-07-20 16:22:12 +02:00
2022-12-12 09:42:33 +03:00
2023-07-23 20:45:16 +02:00
2023-04-23 14:16:47 +02:00
2023-06-12 21:45:17 +02:00
2023-04-11 15:46:12 -05:00
2023-10-01 11:42:49 -07:00