Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 548378 - =dev-lang/ghc-7.6*: does not support ld.gold: --hash-size=31: unknown option
Summary: =dev-lang/ghc-7.6*: does not support ld.gold: --hash-size=31: unknown option
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo's Haskell Language team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: gold-tracker
  Show dependency tree
 
Reported: 2015-05-02 08:02 UTC by tharvik
Modified: 2015-09-24 08:31 UTC (History)
1 user (show)

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


Attachments
build.log (syb.log,3.16 KB, text/x-log)
2015-05-02 08:02 UTC, tharvik
Details
emerge --info =dev-haskell/syb-0.4.3 (syb.info,15.46 KB, application/x-info)
2015-05-02 08:02 UTC, tharvik
Details
emerge -pqv =dev-haskell/syb-0.4.3 (syb.pqv,78 bytes, text/plain)
2015-05-02 08:03 UTC, tharvik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description tharvik 2015-05-02 08:02:02 UTC
Created attachment 402422 [details]
build.log

=dev-haskell/syb-0.4.3 fail to build with ld.gold but works well with ld.bfd

Reproducible: Always
Steps to Reproduce:
1. binutils-config --linker ld.gold
2. emerge =dev-haskell/syb-0.4.3

Actual Results:  
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: --hash-size=31: unknown option
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.4/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status

Expected Results:  
Linking correctly
Comment 1 tharvik 2015-05-02 08:02:43 UTC
Created attachment 402424 [details]
emerge --info =dev-haskell/syb-0.4.3
Comment 2 tharvik 2015-05-02 08:03:20 UTC
Created attachment 402426 [details]
emerge -pqv =dev-haskell/syb-0.4.3
Comment 3 Sergei Trofimovich (RETIRED) gentoo-dev 2015-05-02 17:53:33 UTC
ghc-7.6 does not support gold in current form:
    https://bugs.gentoo.org/show_bug.cgi?id=536426
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2015-09-24 08:31:55 UTC
ghc-7.8.4 is stable everywhere: bug #524790

Should work better with gold.