Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 695952

Summary: dev-haskell/hslua-0.3.13 - ld.gold: fatal error: cannot mix -r with dynamic object /usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../lib64/libpthread.so
Product: Gentoo Linux Reporter: Alessandro Barbieri <lssndrbarbieri>
Component: Current packagesAssignee: Gentoo's Haskell Language team <haskell>
Status: UNCONFIRMED ---    
Severity: normal CC: esigra
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 269315    
Attachments: hslua-0.3.13:20191001-061333.log
info

Description Alessandro Barbieri 2019-10-01 07:32:08 UTC
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
Comment 1 Alessandro Barbieri 2019-10-01 07:33:25 UTC
Created attachment 591460 [details]
hslua-0.3.13:20191001-061333.log

buildlog
Comment 2 Alessandro Barbieri 2019-10-01 07:33:46 UTC
Created attachment 591462 [details]
info

emerge --info