Gentoo Archives: gentoo-user

From: nunojsilva@×××××××.pt
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: Motif compile fails
Date: Tue, 31 Aug 2021 09:08:19
Message-Id: sgkrhk$11db$1@ciao.gmane.io
In Reply to: [gentoo-user] Motif compile fails by Philip Webb
1 On 2021-08-28, Philip Webb wrote:
2
3 > As part of updating to the latest stable Xscreensaver,
4 > I tried to emerge its requirement Motif, which failed with this message :
5 [...]
6 > /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
7 > /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libfl.a(libmain.o):
8 > relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be
9 > used when making a PIE object; recompile with -fPIE
10 > /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
11 > final link failed: bad value
12 > collect2: error: ld returned 1 exit status
13 > make: *** [Makefile:502: wmluiltok] Error 1
14 > make: Leaving directory
15 > '/var/tmp/portage/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8-abi_x86_64.amd64/tools/wml'
16 > * ERROR: x11-libs/motif-2.3.8-r2::gentoo failed (compile phase):
17 > * emake failed
18 >
19 > -- end of Portage output --
20 >
21 > This looks as if the problem is with Gcc flags, which is rather technical.
22 >
23 > Has anyone else run into this ? Does anyone have suggestions ?
24
25 As the error involves libfl.a, from sys-devel/flex, I'd try rebuilding
26 that package. See bug 583842,
27
28 https://bugs.gentoo.org/show_bug.cgi?id=583842
29
30 --
31 Nuno Silva

Replies

Subject Author
Re: [gentoo-user] Re: Motif compile fails Philip Webb <purslow@××××××××.net>