containers icon indicating copy to clipboard operation
containers copied to clipboard

seq-properties build failures with `ghc-9.10.1` and later

Open erikd opened this issue 1 year ago • 3 comments

Running the tests as cabal test seq-properties with different versions of GHC I get:

  • ghc-9.6.4 - Pass
  • ghc-9.8.2 - Pass
  • ghc-9.10.1 - Link failure
> cabal test seq-properties
Build profile: -w ghc-9.10.1 -O1
In order, the following will be built (use -v for more details):
 - containers-tests-0 (test:seq-properties) (cannot read state cache)
Preprocessing test suite 'seq-properties' for containers-tests-0...
Building test suite 'seq-properties' for containers-tests-0...
[1 of 1] Compiling Main             ( tests/seq-properties.hs, /home/erikd/Git/Haskell/containers/dist-newstyle/build/x86_64-linux/ghc-9.10.1/containers-tests-0/t/seq-properties/build/seq-properties/seq-properties-tmp/Main.o )
<no location info>: error:
    /home/erikd/Git/Haskell/containers/dist-newstyle/build/x86_64-linux/ghc-9.10.1/binary-0.8.9.2/build/libHSbinary-0.8.9.2-inplace-ghc9.10.1.so: undefined symbol: containerszm0zi7zminplace_DataziSetziInternal_zdwascLinkTop_info

This same link error happens with ghc-9.12 comiled from the newly created ghc-9.12 branch in git.

erikd avatar Oct 09 '24 04:10 erikd

Don't scare me like that! I thought you meant the property tests failed. How confident are you that you don't have something corrupted on your end? Can you reproduce the problem on a different installation?

treeowl avatar Oct 09 '24 05:10 treeowl

I don't see any issues on my system (also x86_64-linux) or on our CI with 9.10.1.

meooow25 avatar Oct 09 '24 13:10 meooow25

@erikd what's your build plan? You can pipe dist-newstyle/cache/plan.json into cabal-plan.

Bodigrim avatar Oct 09 '24 22:10 Bodigrim

@erikd do you have any more information on this? Are you still seeing the failure?

meooow25 avatar Oct 26 '24 10:10 meooow25

Please reopen if you have information.

meooow25 avatar Nov 09 '24 09:11 meooow25