Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 651778 - dev-lang/ghc-8.0.4 doesn't build under musl
Summary: dev-lang/ghc-8.0.4 doesn't build under musl
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Gentoo musl team
URL:
Whiteboard:
Keywords:
: 712334 712338 (view as bug list)
Depends on:
Blocks:
 
Reported: 2018-03-27 19:16 UTC by chobaga
Modified: 2020-03-18 13:51 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description chobaga 2018-03-27 19:16:15 UTC
Build fails with the usual
> /var/tmp/portage/dev-lang/ghc-8.0.2/work/usr/lib/ghc-8.0.2/bin/ghc-pkg: No such file or directory
because the binaries used for bootstrapping are not fully statically linked and require glibc. Later unstable versions have the same problem.
Comment 1 Sergei Trofimovich gentoo-dev 2018-03-27 19:46:20 UTC
My understanding is it is not enough to have static ghc to be able to build ghc on foreign libc.

ghc comes with it's standard library (base, unix, rts) that use libc definitions gathered at ghc compile time. I expect them to be unlinkable on foreign libc.
Comment 2 Toralf Förster gentoo-dev 2020-03-13 19:49:02 UTC
*** Bug 712334 has been marked as a duplicate of this bug. ***
Comment 3 Toralf Förster gentoo-dev 2020-03-13 19:49:07 UTC
*** Bug 712338 has been marked as a duplicate of this bug. ***