Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 695952 - 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
Summary: dev-haskell/hslua-0.3.13 - ld.gold: fatal error: cannot mix -r with dynamic o...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: systemwide-gold
  Show dependency tree
 
Reported: 2019-10-01 07:32 UTC by Alessandro Barbieri
Modified: 2019-10-01 17:55 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
hslua-0.3.13:20191001-061333.log (hslua-0.3.13:20191001-061333.log,8.59 KB, text/plain)
2019-10-01 07:33 UTC, Alessandro Barbieri
Details
info (info,14.62 KB, text/plain)
2019-10-01 07:33 UTC, Alessandro Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
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