[GHC] #8926: GHC makes unsound references in object code

GHC ghc-devs at haskell.org
Sat Sep 5 04:04:54 UTC 2015


#8926: GHC makes unsound references in object code
-------------------------------------+-------------------------------------
        Reporter:  anton.dubovik     |                   Owner:  ezyang
            Type:  bug               |                  Status:  closed
        Priority:  normal            |               Milestone:
       Component:  Compiler          |                 Version:  7.6.3
      Resolution:  fixed             |                Keywords:
Operating System:  Unknown/Multiple  |            Architecture:
 Type of failure:  GHC rejects       |  Unknown/Multiple
  valid program                      |               Test Case:
      Blocked By:                    |                Blocking:
 Related Tickets:                    |  Differential Revisions:
-------------------------------------+-------------------------------------
Changes (by ezyang):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 Fixed in GHC 7.10:

 {{{
 ezyang at sabre:~/Dev/labs/ghc_linker_error$ env
 PATH=$HOME/Dev/ghc-7.10.1/usr/bin/:$PATH ./run.sh
 Warning: The package list for 'hackage.haskell.org' is 16 days old.
 Run 'cabal update' to get the latest list of available packages.
 Resolving dependencies...
 Configuring FooPackage-0.1...
 Building FooPackage-0.1...
 Preprocessing library FooPackage-0.1...
 [1 of 1] Compiling FooPackage       ( src/FooPackage.hs,
 dist/build/FooPackage.o )
 In-place registering FooPackage-0.1...
 Creating package registration file: /tmp/pkgConf-FooPackage-026451.1
 Installing library in
 /home/ezyang/.cabal/lib/x86_64-linux-
 ghc-7.10.1/FooPackage-0.1-6k6XRTbGJ6GNsmBvgCmwhc
 Registering FooPackage-0.1...
 Installed FooPackage-0.1
 [1 of 3] Compiling QuxClient        ( QuxClient.hs, obj/QuxClient.o )
 [2 of 3] Compiling BarClient        ( BarClient.hs, obj/BarClient.o )
 [3 of 3] Compiling Client1          ( Client1.hs, obj/Client1.o )
 Linking exes/Client1.exe ...
 [2 of 2] Compiling Client2          ( Client2.hs, obj/Client2.o )
 Linking exes/Client2.exe ...
 }}}

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


More information about the ghc-tickets mailing list