Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Sep 2023 17:09:20 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 274146] databases/tdb: fix build with lld 17
Message-ID:  <bug-274146-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D274146

            Bug ID: 274146
           Summary: databases/tdb: fix build with lld 17
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: timur@FreeBSD.org
          Reporter: dim@FreeBSD.org
          Assignee: timur@FreeBSD.org
             Flags: maintainer-feedback?(timur@FreeBSD.org)

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

11:57:13 runner ['cc',
'-Wl,--version-script=3D/wrkdirs/usr/ports/databases/tdb/work/tdb-1.4.7/bin=
/default/tdb.vscript',
'-shared', '-Wl,-h,libtdb.so.1', 'lib/replace/replace.c.2.o',
'lib/replace/strptime.c.2.o', 'lib/replace/xattr.c.2.o', 'common/check.c.1.=
o',
'common/error.c.1.o', 'common/tdb.c.1.o', 'common/traverse.c.1.o',
'common/freelistcheck.c.1.o', 'common/lock.c.1.o', 'common/dump.c.1.o',
'common/freelist.c.1.o', 'common/io.c.1.o', 'common/open.c.1.o',
'common/transaction.c.1.o', 'common/hash.c.1.o', 'common/summary.c.1.o',
'common/rescue.c.1.o', 'common/mutex.c.1.o',
'-o/wrkdirs/usr/ports/databases/tdb/work/tdb-1.4.7/bin/default/libtdb.so',
'-Wl,-Bstatic', '-Wl,-Bdynamic', '-lpthread', '-fstack-protector-strong',
'-Wl,-no-undefined']
ld: error: version script assignment of 'TDB_1.2.1' to symbol 'tdb_do_delet=
e'
failed: symbol not defined
ld: error: version script assignment of 'local' to symbol '_end' failed: sy=
mbol
not defined
ld: error: version script assignment of 'local' to symbol '__bss_start' fai=
led:
symbol not defined
ld: error: version script assignment of 'local' to symbol '_edata' failed:
symbol not defined
cc: error: linker command failed with exit code 1 (use -v to see invocation)

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

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-274146-7788>