On Sun, 2014-11-02 at 10:00 +0100, Tristan Gingold wrote: > On 02/11/14 08:16, Trond Danielsen wrote: > > Hi. > > > > I am not sure if this is supposed to work, but I get a segmentation fault > > from GCC when building the GHDL mcode version on OS X Yosemite: > > > > Tronds-iMac:ghdldrv trondd$ make > > gcc -c -g -DWITH_GNAT_RUN_TIME -o amd64.o ../grt/config/amd64.S > > make: *** [amd64.o] Segmentation fault: 11 > > Tronds-iMac:ghdldrv trondd$ hg identify > > fef6491df8fb+ tip > > > > Target is: > > target=x86_64-apple-darwin > > > > And compiler is: > > gnat-gpl-2014-x86_64-darwin-bin > > gnat-gpl-2014 was released before Yosemite and doesn't work on Yosemite. > Someone on comp.lang.ada has built a version of gcc-4.9 (with gnat) for > Yosemite. I don't know the URL, but a search engine would certainly > find it. Do not hesitate to post the answer. > > Tristan.
Probably Simon Wright. He put it on Sourceforge at https://sourceforge.net/projects/gnuada/files/GNAT_GCC%20Mac%20OS% 20X/4.9.1/ Tn any case, isn't the mcode version expected to fail on amd64? It's a JIT compiler for x686 (32-bit). David K and I looked at the possibility of building a 64-bit version and gave up. - Brian _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
