Just for completeness,

I've done a bisection between SVN r142 and 150:
r147 builds, and exhibits the same behaviour as 150,
r142-146 don't build for x86_64 Darwin (various different problems)

Cheers, and thanks to the group for working on GHDL,
J.

On 29 January 2013 22:59, D. Jeff Dionne <[email protected]> wrote:
> Hi All,
>
> I've been using the prepackaged mcode r142 version built for Mac OS
> for a while.  I really will need foreign functions shortly, so I
> decided to see what the state of the latest code was.
>
> I used gnat-gpl-2012-x86_64-apple-darwin10.8.0-bin.tar.gz from 
> libre.adacore.com
>
> Building was actually quite simple, and I was able to build from the
> SVN checkout, using the basic method given by David Koontz, but of
> course for x86_64:
>
> svn co svn://svn.gna.org/svn/ghdl/trunk ghdl
> cd ghdl/translate/ghdldrv
> make target=x86_64-apple-darwin
> ln -s ghdl_mcode ghdl
> make target=x86_64-apple-darwin install.mcode
>
> The result is able to analyze, but upon elaboration or run:
>
> ******************** GHDL Bug occured ****************************
> Please report this bug on http://gna.org/projects/ghdl
> GHDL release: GHDL 0.30dev (20100112) [Sokcho edition]
> Compiled with GNAT Version: GPL 2012 (20120509)
> In directory: /Users/jeff/work/bitlink-afe-rc5/
> Command line:
> ghdl -r enc_tb
> Exception CONSTRAINT_ERROR raised
> Exception information:
> Exception name: CONSTRAINT_ERROR
> Message: ortho_code-x86-emits.adb:767 range check failed
> Call stack traceback locations:
> 0x1031ff55e 0x10320229e 0x103202dd6 0x1032037ea 0x1031dab10
> 0x1032d05ae 0x1032d63fa 0x10331b992 0x10331bc6f 0x10330a86c
> 0x10331d5c1 0x103323597 0x1033226e2 0x1031d29b4 0x103166702
> ******************************************************************
>
> Unfortunately, the bundled gdb seems unable to read any symbols from
> the system shared libraries, and doesn't seem to produce useful output
> (ghdl still catches this itself and exits).  If there is somewhere I
> can set a breakpoint, I'm happy to do that.
>
> Tristan, is r150 still a WIP, and if so how can I debug for you / or
> should I check out a different version?  If not, can you point me in
> the right direction with this issue (older ada maybe)?
>
> Cheers,
> J.

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

Reply via email to