--- wikisrc/users/maya/vax-gcc.mdwn 2019/08/29 21:57:38 1.7 +++ wikisrc/users/maya/vax-gcc.mdwn 2019/08/30 04:49:49 1.9 @@ -1,5 +1,7 @@ # Various GCC/vax issues and invesigation # +[WIP tree](gcc-mirror/) + ## libgomp crash with -O2 ## Repro: @@ -64,4 +66,21 @@ This errors out with: during RTL pass: vregs /home/fly/oacc/decl.ii:17:1: internal compiler error: in extract_insn, at recog.c:2310 -Providing a trivial scheduling will avoid subregs of mem. +Providing a trivial scheduling will avoid subregs of mem. +However, this doesn't work for us. Our crash and mem subregs happen at a too early pass, most likely. + +## DWARF ## + + flag_dwarf2_cfi_asm = 0; + +is kind of a big deal. We should probably get rid of it, but [binutils hates that.](https://github.com/NetBSD/src/commit/1df57dce3744cf4743358b098728a0658b80b8fb) + + ld: warning: dynamic relocation to `?' in readonly section `.eh_frame' + ld: warning: dynamic relocation to `?' in readonly section `.eh_frame' + ld: warning: creating a DT_TEXTREL in a shared object + ld: .eh_frame_hdr refers to overlapping FDEs + ld: final link failed: bad value + +## review comments ## + +Jeff Law [provided some feedback](https://gcc.gnu.org/ml/gcc/2019-04/msg00281.html). More of it should be addressed.