
#12169: libraries/base/dist-install/build/HSbase-4.9.0.0.o: unknown symbol `stat' -------------------------------------+------------------------------------- Reporter: thomie | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime | Version: 8.0.1 System (Linker) | Keywords: | Operating System: Unknown/Multiple Architecture: | Type of failure: None/Unknown Unknown/Multiple | Test Case: | Blocked By: Blocking: | Related Tickets: Differential Rev(s): | Wiki Page: -------------------------------------+------------------------------------- When I make the following change: {{{ --- a/mk/flavours/validate.mk +++ b/mk/flavours/validate.mk @@ -2,7 +2,7 @@ SRC_HC_OPTS = -O0 -H64m SRC_HC_OPTS_STAGE1 = -fllvm-fill-undef-with-garbage # See Trac 11487 GhcStage1HcOpts = -O -DDEBUG GhcStage2HcOpts = -O -dcore-lint -GhcLibHcOpts = -O -dcore-lint +GhcLibHcOpts = -O0 -dcore-lint BUILD_PROF_LIBS = NO SplitObjs = NO HADDOCK_DOCS = YES }}} And push to Travis (`DYNAMIC_GHC_PROGRAMS = NO`, `GhcLibWays = v`), a [https://api.travis-ci.org/jobs/136229053/log.txt?deansi=true gazillion tests fail] with: {{{ libraries/base/dist-install/build/HSbase-4.9.0.0.o: unknown symbol `stat' }}} Originally reported in https://github.com/snowleopard/hadrian/issues/259. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12169 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler