On 2015-09-30, Tristan Gingold wrote: > On 30/09/15 13:04, Joris van Rantwijk wrote: > > When building the LLVM backend on i386, I get compiler errors.
> Should be fixed now. Sorry, I didn't try this configuration after > the changes in config/ Yes, fixed. Thanks. Next problem. So far I see this only with LLVM backend on i386. During building of the IEEE library, GHDL fails: ../../../../ghdl_llvm -a --GHDL1=ghdl1-llvm -g --std=87 -P../std --work=ieee ../../src/ieee/numeric_bit-body.v87 ******************** GHDL Bug occured **************************** Please report this bug on http://gna.org/projects/ghdl GHDL release: GHDL 0.33dev (20141104) [Dunoon edition] Compiled with GNAT Version: 4.9.2 In directory: /home/joris/ghdl/lib/ghdl/v87/ieee/ Command line: /home/joris/ghdl/ghdl1-llvm -g --std=87 -P../std --work=ieee -P../std/ -P/home/joris/ghdl/lib/ghdl/v87/std/ -P/home/joris/ghdl/lib/ghdl/v87/ieee/ -c -o numeric_bit-body.o ../../src/ieee/numeric_bit-body.v87 Exception PROGRAM_ERROR raised Exception information: Exception name: PROGRAM_ERROR Message: ortho_llvm.adb:1708 explicit raise Call stack traceback locations: 0x80a5501 0x80a52a6 0x81bbbb2 0x81a4e4a 0x81bc997 0x816f04e 0x81c8f0b 0x80aad75 0x8075c73 0xb7035a61 0x807511d ****************************************************************** ../../../../ghdl_llvm: compilation error Decoded addresses: /home/joris/ghdl/src/ortho/llvm/ortho_llvm.adb:1708 /home/joris/ghdl/src/ortho/llvm/ortho_llvm.adb:1675 /home/joris/ghdl/src/vhdl/translate/trans-chap2.adb:657 (discriminator 6) /home/joris/ghdl/src/vhdl/translate/trans-chap4.adb:2224 /home/joris/ghdl/src/vhdl/translate/trans-chap2.adb:817 /home/joris/ghdl/src/vhdl/translate/translation.adb:288 /home/joris/ghdl/src/vhdl/translate/ortho_front.adb:407 /home/joris/ghdl/src/ortho/llvm/ortho_code_main.adb:282 (discriminator 1) /home/joris/ghdl/b~ortho_code_main.adb:487 On casual inspection of trans-chap2.adb, Translate_Subprogram_Body, it appears that the variable Is_Ortho_Func may be used uninitialized. Joris. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
