Skip to content

Test failures on FreeBSD and Mac (x86_64) #97

@hasufell

Description

@hasufell

On the branch release-ci, I run into the following test failures:

To reproduce, build the stuff:

  • checkout the release-ci branch
  • make CABAL=_build/stage0/bin/cabal CABAL_BUILD_ARGS="-v" _build/bindist/ghc.tar.gz _build/bindist/cabal.tar.gz _build/bindist/tests.tar.gz
  • unpack all 3 tarballs into one directory
  • go to the directory and the subdir testsuite/ and then run PATH=$(pwd)/../bin:$PATH THREADS=14 gmake TEST=T7040_ghci to run the offending test
  • if you want to examine the exact calls to commands and reproduce manually without make, you need to edit testsuite/config/ghc and add
    •  config.verbose = 3
       config.cleanup = False
      
  • now you can see the invocations and mess with the temporary build artifacts and e.g. pass -fPIC instead of -fno-PIC

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions