Created attachment 719481 [details] Build log Full build log attached >>> Compiling source in /var/tmp/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8 ... * abi_x86_64.amd64: running multilib-minimal_abi_src_compile make -j5 -C tools/wml CC=x86_64-pc-linux-gnu-gcc LIBS=-lfl wmluiltok make: Entering directory '/var/tmp/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8-abi_x86_64.amd64/tools/wml' x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I/var/tmp/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8/tools/wml -I../../include -I../../lib/Xm -I../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8/tools/wml/../../lib -I/var/tmp/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8/tools/wml/../../include -I/usr/include/uuid -I/usr/include/freetype2 -march=sandybridge -maes --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=3072 -O2 -pipe -frecord-gcc-switches -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/uuid -I/usr/include/freetype2 -c -o wmluiltok.o /var/tmp/portage/x11-libs/motif-2.3.8-r2/work/motif-2.3.8/tools/wml/wmluiltok.c /bin/sh ../../libtool --tag=CC --mode=link x86_64-pc-linux-gnu-gcc -march=sandybridge -maes --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=3072 -O2 -pipe -frecord-gcc-switches -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/uuid -I/usr/include/freetype2 -Wl,-O1 -Wl,--as-needed -Wl,--defsym=__gentoo_check_ldflags__=0 -o wmluiltok wmluiltok.o -lfl -lfl libtool: link: x86_64-pc-linux-gnu-gcc -march=sandybridge -maes --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=3072 -O2 -pipe -frecord-gcc-switches -fno-strict-aliasing -Wall -fno-strict-aliasing -Wno-unused -Wno-comment -I/usr/include/uuid -I/usr/include/freetype2 -Wl,-O1 -Wl,--defsym=__gentoo_check_ldflags__=0 -o wmluiltok wmluiltok.o -Wl,--as-needed -lfl /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../lib64/libfl.a(libmain.o): warning: relocation against `exit@@GLIBC_2.2.5' in read-only section `.text.startup' /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.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/9.3.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/x11-libs/motif-2.3.8-r2/work/motif-2.3.8-abi_x86_64.amd64/tools/wml'
This may be a duplicate of bug 583842. Can you recompile sys-devel/flex and then try again?
(In reply to Ulrich Müller from comment #1) > This may be a duplicate of bug 583842. Can you recompile sys-devel/flex and > then try again? I did "emerge -1 -j1 sys-devel/flex x11-libs/motif" and that worked without error. I guess that confirms your theory. I'll close as a duplicate for you. Please re-open if that was too eager or a misunderstanding. Thanks! *** This bug has been marked as a duplicate of bug 583842 ***