`configure --disable-tables-next-to-code` + `default+debug_info` = linking errors
If I run:
./boot
./configure --disable-tables-next-to-code
hadrian/build --flavour=default+debug_info
I get:
/tmp/ghc452698_0/ghc_3.s: Assembler messages:
/tmp/ghc452698_0/ghc_3.s:193:0: error:
Error: symbol `.Lck_end' is already defined
|
193 | .Lck_end:
| ^
/tmp/ghc452698_0/ghc_3.s:194:0: error:
Error: symbol `.Lck_proc_end' is already defined
|
194 | .Lck_proc_end:
| ^
`cc' failed in phase `Assembler'. (Exit code: 1)
Command failed
Build failed.
Whereas I expect a compiler with DWARF enabled and no tables next to code. Why does this matter? Because I was trying to re-assess the performance of TNTC and I want DWARF symbols so that in perf I can gen annotated assembly.
...or...is this just expected behavior?