Bug 490365 - compilation error during elaboration phase
Summary: compilation error during elaboration phase
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: ghdl
Version: rawhide
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Thomas Sailer
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-03-15 19:01 UTC by Jaroslaw Gorny
Modified: 2009-03-15 21:26 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2009-03-15 21:26:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Jaroslaw Gorny 2009-03-15 19:01:37 UTC
Description of problem:

Trying to elaborate module fails because linker can't find gnat-4.3 library. Rawhide has gnat-4.4, according to debug info (quoted below) ghdl was compiled with version 4.4.

Version-Release number of selected component (if applicable):

ghdl-0.27-0.110svn.3.fc11.1.i586


How reproducible:

always


Steps to Reproduce:
1. Analyse module (ghdl -a TB.vhdl) <- this works OK
2. Elaborate module (ghdl -e TB) <- this crashes

  
Actual results:
Elaborating design is not possible.


Expected results:
Elaborating design (ghdl -e <unit_name>) should work.

Additional info:

[jaroslav@moonstone foo]$ ghdl -e TB_inverter
/usr/bin/ld: cannot find -lgnat-4.3
collect2: ld returned 1 exit status
ghdl: compilation error

******************** GHDL Bug occured ****************************
Please report this bug on http://gna.org/projects/ghdl
GHDL release: GHDL 0.28dev (20080721) [Sokcho edition]
Compiled with GNAT Version: 4.4.0 20090219 (Red Hat 4.4.0-0.
In directory: /tmp/foo/
Command line:
ghdl -e TB_inverter
Exception STORAGE_ERROR raised
Exception information:
Exception name: STORAGE_ERROR
Message: stack overflow (or erroneous memory access)
Call stack traceback locations:
0x80feb7b
******************************************************************

Comment 1 Thomas Sailer 2009-03-15 21:26:44 UTC
Thanks for the report. Fixed in ghdl-0.27-0.110svn.4.fc11
http://koji.fedoraproject.org/koji/taskinfo?taskID=1242516

Alternatively, you can edit /usr/lib*/gcc/x86_64-fedora_ghdl-linux/4.3.1/vhdl/lib/grt.lst and replace gnat-4.3 with gnat-4.4


Note You need to log in before you can comment on or make changes to this bug.