Bug 490365 - compilation error during elaboration phase
compilation error during elaboration phase
Status: CLOSED CURRENTRELEASE
Product: Fedora
Classification: Fedora
Component: ghdl (Show other bugs)
rawhide
All Linux
low Severity medium
: ---
: ---
Assigned To: Thomas Sailer
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2009-03-15 15:01 EDT by Jaroslaw Gorny
Modified: 2009-03-15 17:26 EDT (History)
1 user (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2009-03-15 17:26:44 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Jaroslaw Gorny 2009-03-15 15:01:37 EDT
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 17:26:44 EDT
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.