[GHC] #7452: [GNU gold] ld: error: cannot find [...]/Types__1.o

GHC ghc-devs at haskell.org
Sun Jul 20 14:39:34 UTC 2014


#7452: [GNU gold] ld: error: cannot find [...]/Types__1.o
-------------------------------------+-------------------------------------
              Reporter:  mrothe      |             Owner:
                  Type:  bug         |            Status:  infoneeded
              Priority:  normal      |         Milestone:  7.10.1
             Component:  Build       |           Version:  7.6.1
  System                             |          Keywords:
            Resolution:              |  Operating System:  Linux
Differential Revisions:              |   Type of failure:  Building GHC
          Architecture:  x86_64      |  failed
  (amd64)                            |         Test Case:
            Difficulty:  Unknown     |          Blocking:
            Blocked By:              |
       Related Tickets:              |
-------------------------------------+-------------------------------------

Comment (by slomo):

 The attached patch against 7.8.3 works around this by always putting
 absolute paths to the .o files into the linker script. Works with gold but
 should also just work fine with bfd (but I didn't test that).

--
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/7452#comment:8>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list