BFD will work instead >>> Compiling source in /var/tmp/portage/dev-haskell/hslua-0.3.13/work/hslua-0.3.13 ... ./setup build Building hslua-0.3.13... Preprocessing library hslua-0.3.13... [1 of 2] Compiling Scripting.Lua ( dist/build/Scripting/Lua.hs, dist/build/Scripting/Lua.o ) src/Scripting/Lua.hsc:183:1: warning: [-Wdodgy-imports] Module ‘Prelude’ does not export ‘catch’ /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld.gold: fatal error: cannot mix -r with dynamic object /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/libpthread.so collect2: error: ld returned 1 exit status <no location info>: error: `x86_64-pc-linux-gnu-gcc' failed in phase `Linker'. (Exit code: 1) * ERROR: dev-haskell/hslua-0.3.13::gentoo failed (compile phase): * setup build failed
Created attachment 591460 [details] hslua-0.3.13:20191001-061333.log buildlog
Created attachment 591462 [details] info emerge --info