On Tue, Nov 06, 2012 at 08:26:05PM +0100, Lluís Batlle i Rossell wrote:
> Ah I think I understood how to fix the Makefiles, finally. I'll test that in 
> the
> next hours.

I think all works fine in my makefiles, and now I've to merge the work with
that of Brian. I'll try to do that the next days.

> On the other hand, I know that Brian has seen some documentation that 
> recommends
> not building a bootstrapped compiler, but in Nixpkgs we have been providing 
> ghdl
> 0.29 for gcc 4.3 always with a bootstrapped C compiler (not a bootstrapped
> gnat).

Ok, I can build a non-bootstrapped ghdl. There are no make rules to make ghdl
use the gnat built in previous stages of a bootstrap. It took me a while to
figure this out. :)

Nevertheless, I hit a bug trying to build the unisim_VPKG.vhd (and also some
other private vhdl files). Maybe Brian can try to fix it? Maybe it is related 
to bad
building?

These are my commands. Notice that unisim_VCOMP.vhd builds fine. All these files
build fine with ghdl 0.29 for gcc 4.3 or 4.4:
-----
$ ghdl -a --work=unisim --ieee=synopsys -g -Wc,-O2 --warn-no-vital-generic 
-fexplicit unisims/unisim_VCOMP.vhd
$ ghdl -a --work=unisim --ieee=synopsys -g -Wc,-O2 --warn-no-vital-generic 
-fexplicit unisims/unisim_VPKG.vhd
unisims/unisim_VPKG.vhd: In function ‘unisim__vpkg__ELAB_SPEC’:
unisims/unisim_VPKG.vhd:1458:0: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.
-----

(The unisim files are available for free from Xilinx, I think)

Regards,
Lluís.

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to