/usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: .libs/vlc_x86.o: relocation R_386_GOTOFF against preemptible symbol dv_parse_bit_end cannot be used when making a shared object /usr/lib/gcc/x86_64-pc-linux-gnu/9.3.0/../../../../x86_64-pc-linux-gnu/bin/ld: error: .libs/idct_block_mmx.o: relocation R_386_GOTOFF against preemptible symbol preSC cannot be used when making a shared object collect2: error: ld returned 1 exit status make[3]: *** [Makefile:563: libdv.la] Error 1 make[3]: Leaving directory /var/tmp/portage/media-libs/libdv-1.0.0-r4/work/libdv-1.0.0-abi_x86_32.x86/libdv make[2]: *** [Makefile:484: all] Error 2 ------------------------------------------------------------------- This is an unstable amd64 chroot image at a tinderbox (==build bot) name: 17.1_hardened-abi32+64-20200503-182741 ------------------------------------------------------------------- gcc-config -l: [1] x86_64-pc-linux-gnu-9.3.0 * clang version 10.0.0 Target: x86_64-pc-linux-gnu Thread model: posix InstalledDir: /usr/lib/llvm/10/bin /usr/lib/llvm/10 10.0.0 Available Python interpreters, in order of preference: [1] python3.6 [2] python3.8 (fallback) [3] python3.7 (fallback) [4] python2.7 (fallback) [5] pypy3 (fallback) Available Ruby profiles: [1] ruby24 (with Rubygems) [2] ruby25 (with Rubygems) * The following VMs are available for generation-2: *) AdoptOpenJDK 8.252_p09 [openjdk-bin-8] Available Java Virtual Machines: [1] openjdk-bin-8 system-vm The Glorious Glasgow Haskell Compilation System, version 8.0.2 timestamp(s) of HEAD at this tinderbox image: /var/db/repos/gentoo Thu 07 May 2020 07:36:16 AM UTC emerge -qpvO media-libs/libdv [ebuild N ] media-libs/libdv-1.0.0-r4 ABI_X86="32 (64) (-x32)"
Created attachment 636682 [details] emerge-info.txt
Created attachment 636684 [details] emerge-history.txt
Created attachment 636686 [details] environment
Created attachment 636688 [details] etc.portage.tbz2
Created attachment 636690 [details] logs.tbz2
Created attachment 636692 [details] media-libs:libdv-1.0.0-r4:20200507-093907.log
Created attachment 636694 [details] temp.tbz2
I'm hitting this bug when linking with Gold. As a work-around, force BFD using LDFLAGS="${LDFLAGS} -Wl,-fuse-ld=bfd" in a package-specific environment file. This bug should block #269315.
*** This bug has been marked as a duplicate of bug 622662 ***