For some reason, you end up in the defined RTS_SSP_SYMBOLS, I believe and
then the RTS wants __stack_chk symbols. Which it can’t find when linking.
Replacing
#if !defined(mingw32_HOST_OS) && !defined(DYNAMIC)
#define RTS_SSP_SYMBOLS\
SymI_NeedsProto(__stack_c
thanks. What specifically do I comment out?
From: Moritz Angermann
Sent: 14 July 2020 12:00
To: Simon Peyton Jones
Cc: ghc-devs@haskell.org
Subject: Re: HEAD doesn't build. Totally stalled.
This was my fault. Not sure why this wasn’t caught in CI.
It’s due to the addition of the symbols here
This was my fault. Not sure why this wasn’t caught in CI.
It’s due to the addition of the symbols here
https://github.com/ghc/ghc/commit/686e72253aed3880268dd6858eadd8c320f09e97#diff-03f5bc5a50fd8ae13e902782c4392c38R1159
You should be able to just comment them out. I’ll prepare a proper fix.
Che
I'm getting this failure in a clean HEAD build. Any ideas?I'm totally
stalled because I can't build GHC any more.
I'm using Windows Subsystem for Linux (WSL).
Help help!
Thanks
Simon
/home/simonpj/code/HEAD-9/rts/dist/build/libHSrts_thr_p.a(RtsSymbols.thr_p_o):
RtsSymbols.c:rtsSyms: error: u