[Bug 273753] [exp-run] Against llvm-17-update branch on GitHub

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 19 Nov 2023 20:10:46 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=273753

--- Comment #74 from commit-hook@FreeBSD.org ---
A commit in branch main references this bug:

URL:
https://cgit.FreeBSD.org/ports/commit/?id=242979f142ce076beb442e76560495e0c8a2031f

commit 242979f142ce076beb442e76560495e0c8a2031f
Author:     Dimitry Andric <dim@FreeBSD.org>
AuthorDate: 2023-11-19 20:06:14 +0000
Commit:     Dimitry Andric <dim@FreeBSD.org>
CommitDate: 2023-11-19 20:10:10 +0000

    databases/ldb15: fix build with lld 17

    Building databases/ldb15 with lld 17 results in the following link
    errors:

      ld: error: version script assignment of 'LDB_0.9.10' to symbol
'ldb_connect_backend' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.10' to symbol
'ldb_init_module_chain' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.10' to symbol
'ldb_load_modules_list' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_asq_init' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_paged_results_init' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_paged_searches_init' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_rdn_name_init' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_sample_init' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_server_sort_init' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_skel_init' failed: symbol not defined
      ld: error: version script assignment of 'LDB_0.9.18' to symbol
'ldb_tdb_init' failed: symbol not defined
      ld: error: version script assignment of 'local' to symbol '_end' failed:
symbol not defined
      ld: error: version script assignment of 'local' to symbol '__bss_start'
failed: symbol not defined
      ld: error: version script assignment of 'local' to symbol '_edata'
failed: symbol not defined

    Since the linker version scripts are generated dynamically, suppress
    errors with lld >= 17 due to these undefined symbols.

    PR:             273753
    MFH:            2023Q4

 databases/ldb15/Makefile | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

-- 
You are receiving this mail because:
You are on the CC list for the bug.