On 2021-08-28, Philip Webb wrote:

> As part of updating to the latest stable Xscreensaver,
> I tried to emerge its requirement Motif, which failed with this message :
[...]
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../lib64/libfl.a(libmain.o):
> relocation R_X86_64_PC32 against symbol `exit@@GLIBC_2.2.5' can not be
> used when making a PIE object; recompile with -fPIE
> /usr/lib/gcc/x86_64-pc-linux-gnu/10.2.0/../../../../x86_64-pc-linux-gnu/bin/ld:
> final link failed: bad value
> collect2: error: ld returned 1 exit status
> make: *** [Makefile:502: wmluiltok] Error 1
> make: Leaving directory
> '/var/tmp/portage/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8-abi_x86_64.amd64/tools/wml'
>  * ERROR: x11-libs/motif-2.3.8-r2::gentoo failed (compile phase):
>  *   emake failed
>
> -- end of Portage output --
>
> This looks as if the problem is with Gcc flags, which is rather technical.
>
> Has anyone else run into this ?  Does anyone have suggestions ?

As the error involves libfl.a, from sys-devel/flex, I'd try rebuilding
that package. See bug 583842,

    https://bugs.gentoo.org/show_bug.cgi?id=583842

-- 
Nuno Silva


Reply via email to