GHC issueshttps://gitlab.haskell.org/ghc/ghc/-/issues2019-07-07T18:40:50Zhttps://gitlab.haskell.org/ghc/ghc/-/issues/9336binutils gold linker detection does not work when called via gcc and selected...2019-07-07T18:40:50Zslomobinutils gold linker detection does not work when called via gcc and selected by commandline parametersThe binutils gold detection does not work if it is called via gcc and only selected via commandline parameters (i.e. -fuse-ld=gold). Reason is that the "linker" (actually compiler) is called without its commandline parameters.
Attached ...The binutils gold detection does not work if it is called via gcc and only selected via commandline parameters (i.e. -fuse-ld=gold). Reason is that the "linker" (actually compiler) is called without its commandline parameters.
Attached patch fixes that.
<details><summary>Trac metadata</summary>
| Trac field | Value |
| ---------------------- | ------------ |
| Version | 7.8.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | Compiler |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture | |
</details>
<!-- {"blocked_by":[],"summary":"binutils gold linker detection does not work when called via gcc and selected by commandline parameters","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"7.8.3","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"The binutils gold detection does not work if it is called via gcc and only selected via commandline parameters (i.e. -fuse-ld=gold). Reason is that the \"linker\" (actually compiler) is called without its commandline parameters.\r\n\r\nAttached patch fixes that.","type_of_failure":"OtherFailure","blocking":[]} -->7.8.4