snowleopard / hadrian

Hadrian: a new build system for the Glasgow Haskell Compiler. Now merged into the GHC tree!
https://gitlab.haskell.org/ghc/ghc/tree/master/hadrian
MIT License
208 stars 39 forks source link

RTS build error on AppVeyor: RSP_DELTA signed LEB128 encoding isn't 3 bytes #598

Closed snowleopard closed 6 years ago

snowleopard commented 6 years ago

See https://ci.appveyor.com/project/snowleopard/hadrian/build/1.0.1123

Error when running Shake build system:
* _build/stage1/lib/package.conf.d/rts-1.0.conf
* _build/stage1/rts/build/libHSrts-1.0_thr_debug.a
* _build/stage1/rts/build/c/StgCRun.thr_debug_o
user error (Development.Shake.cmd, system command failed
Command: C:/ghc/inplace/mingw/bin/gcc.exe -fno-stack-protector -E -MM -MG -MF _build/stage1/rts/build/c/StgCRun.thr_debug_o.d -MT _build/stage1/rts/build/c/StgCRun.o -Iincludes -I_build/generated -I_build/stage1/rts/build -I_build/stage1/rts/build/build -I_build/stage1/rts/build/../includes -I_build/stage1/rts/build/includes -I_build/stage1/rts/build/includes/dist-derivedconstants/header -Irts/build -Irts/../includes -Irts/includes -Irts/includes/dist-derivedconstants/header -x c rts/StgCRun.c -Irts -Wall -Wextra -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Winline -Waggregate-return -Wpointer-arith -Wmissing-noreturn -Wnested-externs -Wredundant-decls -Wundef -fno-strict-aliasing -I_build/stage1/rts/build "-DRtsWay=\"rts_thr_debug\"" -DFS_NAMESPACE=rts -O2 -DDEBUG -DTHREADED_RTS -w -Wno-return-local-addr -DWINVER=0x06000100
Exit code: 1
Stderr:
rts/StgCRun.c:499:2: error: #error "RSP_DELTA signed LEB128 encoding isn't 3 bytes"
 #error "RSP_DELTA signed LEB128 encoding isn't 3 bytes"
  ^~~~~
)
snowleopard commented 6 years ago

I think this has already been fixed.