Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 488480 - dev-lang/ghc will not build with ld.gold because of unknown option
Summary: dev-lang/ghc will not build with ld.gold because of unknown option
Status: RESOLVED FIXED
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: https://ghc.haskell.org/trac/ghc/tick...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-10-18 12:22 UTC by Alexey Kharlamov
Modified: 2014-08-11 15:13 UTC (History)
1 user (show)

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


Attachments
config.log (config.log,10.52 KB, text/plain)
2013-10-18 12:23 UTC, Alexey Kharlamov
Details
build.log (file_488480.txt,4.87 KB, text/plain)
2013-10-18 12:25 UTC, Alexey Kharlamov
Details
package-info.txt (file_488480.txt,5.39 KB, text/plain)
2013-10-18 12:25 UTC, Alexey Kharlamov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexey Kharlamov 2013-10-18 12:22:54 UTC
I am not sure If it is Gentoo bug or not, but It seems to be fixed in mainstream: http://ghc.haskell.org/trac/ghc/ticket/4862

/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: --hash-size=31: unknown option
/usr/lib/gcc/x86_64-pc-linux-gnu/4.8.1/../../../../x86_64-pc-linux-gnu/bin/ld: use the --help option for usage information
collect2: error: ld returned 1 exit status
configure: error: Building ghc-pwd failed

Everything is OK with ld.bfd
Comment 1 Alexey Kharlamov 2013-10-18 12:23:33 UTC
Created attachment 361220 [details]
config.log
Comment 2 Alexey Kharlamov 2013-10-18 12:25:17 UTC
Created attachment 361222 [details]
build.log
Comment 3 Alexey Kharlamov 2013-10-18 12:25:46 UTC
Created attachment 361224 [details]
package-info.txt
Comment 4 Sergei Trofimovich (RETIRED) gentoo-dev 2014-08-11 15:13:42 UTC
I believe ghc-7.8.3 tries to support it.
Our ebuild might still pass incompatible ldflags though.

Please test it and reopen if fails.