Gentoo Archives: gentoo-dev

From: Manoj Gupta <manojgupta@××××××.com>
To: gentoo-dev@l.g.o
Cc: Manoj Gupta <manojgupta@××××××.com>
Subject: [gentoo-dev] [PATCH] sys-libs/db: Remove --default-symver usage.
Date: Fri, 27 Sep 2019 19:31:55
Message-Id: 20190927193143.196168-1-manojgupta@google.com
1 sys-libs/db-18.1.32 can builds without "--default-symver"
2 linker flag. This fixes the build issue when using LLD linker
3 which does not support this flag.
4
5 Given that sys-libs/db is the only Gentoo package using
6 "--default-symver" linker, it is probably not a terrible idea to
7 drop use of "--default-symver" flag.
8
9 Signed-off-by: Manoj Gupta <manojgupta@××××××.com>
10 ---
11 sys-libs/db/{db-18.1.32.ebuild => db-18.1.32-r1.ebuild} | 6 ------
12 1 file changed, 6 deletions(-)
13 rename sys-libs/db/{db-18.1.32.ebuild => db-18.1.32-r1.ebuild} (97%)
14
15 diff --git a/sys-libs/db/db-18.1.32.ebuild b/sys-libs/db/db-18.1.32-r1.ebuild
16 similarity index 97%
17 rename from sys-libs/db/db-18.1.32.ebuild
18 rename to sys-libs/db/db-18.1.32-r1.ebuild
19 index be515fd043e..c23babeb9d9 100644
20 --- a/sys-libs/db/db-18.1.32.ebuild
21 +++ b/sys-libs/db/db-18.1.32-r1.ebuild
22 @@ -146,12 +146,6 @@ multilib_src_configure() {
23 is-flagq -O[s123] || append-flags -O2
24 fi
25
26 - # Add linker versions to the symbols. Easier to do, and safer than header file
27 - # mumbo jumbo.
28 - if use userland_GNU ; then
29 - append-ldflags -Wl,--default-symver
30 - fi
31 -
32 # use `set` here since the java opts will contain whitespace
33 if multilib_is_native_abi && use java ; then
34 myconf+=(
35 --
36 2.23.0.444.g18eeb5a265-goog

Replies