On Mon, Nov 12, 2012 at 06:53:46PM +0000, Brian Drummond wrote: > On Mon, 12 Nov 2012 17:47:47 +0100, you wrote: > > >Just a short one, I forgot to mention, that it's obviously division > >expressions in the vhdl code (the (exp) below) that trigger the segfault. > > > >Just to summarize what is (0: not), (1: working) here: > > > > -O0 -O2 > >-------------------------------------------- > >my native build (ia64) | (1) (1) > >cross gcc(mingw32) | (0) (0) > >Brian/Lluis build: | (1) (0) > > > >Is that correct? > > Possibly. I believe your (cross) failures occurred building standard library > files? > I have never seen failures building these files, but I have never tried with > -O2. I don't know if Lluis has. > The failures we know so far are in other files (Xilinx Unisims vpkg for one)
I tried to build the ghdl standard libs (with Brian's patches) with -O2, and it crashes too. This is x86_64-linux. ../../../src/std/textio_body.v93: In function 'std__textio__writeO5': ../../../src/std/textio_body.v93:33:0: internal compiler error: Segmentation fault So, only very simple vhd files build fine for me with -O2. Regards, Lluís. _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
