Is this one of those ‘Doctor it hurts when I do that’ moments? originally defined in grt_sigsegv_handler() found in linux.c:
ucontext_t *uctxt = (ucontext_t *)ptr; Note the comment on line 88 of jumps.c saying grt_sigsegv_hander() is only used by mcode. Without more research I couldn’t tell you whether or not you need it in i386 on Linux (or whether or not an i386 llvm based ghdl makes any sense). I was curious about the missing declaration. > On 1/10/2015, at 12:04 am, Joris van Rantwijk <[email protected]> wrote: > > On 2015-09-29, Tristan Gingold wrote: >> I'd like to build the release this week. Can you confirm that >> your favorite testbench/testsuite works with the tip ? > > When building the LLVM backend on i386, I get compiler errors. > > src/grt/config/jumps.c: In function ‘grt_sigsegv_handler’: > src/grt/config/jumps.c:92:7: error: ‘uctxt’ undeclared (first use in this > function) > if (uctxt->uc_mcontext.gregs[REG_TRAPNO] == 4) > ^ > src/grt/config/jumps.c:92:7: note: each undeclared identifier is reported > only once for each function it appears in > src/grt/config/jumps.c:92:32: error: ‘REG_TRAPNO’ undeclared (first use in > this function) > if (uctxt->uc_mcontext.gregs[REG_TRAPNO] == 4) > ^ > src/grt/Makefile.inc:110: recipe for target 'jumps.o' failed > > -- > Joris. > > _______________________________________________ > Ghdl-discuss mailing list > [email protected] > https://mail.gna.org/listinfo/ghdl-discuss _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
