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

Bug 548378

Summary: =dev-lang/ghc-7.6*: does not support ld.gold: --hash-size=31: unknown option
Product: Gentoo Linux Reporter: tharvik
Component: [OLD] DevelopmentAssignee: Gentoo's Haskell Language team <haskell>
Status: RESOLVED OBSOLETE    
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: build.log
emerge --info =dev-haskell/syb-0.4.3
emerge -pqv =dev-haskell/syb-0.4.3

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.