Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error compiling #13

Closed
WayneBooth opened this issue Jan 5, 2016 · 2 comments
Closed

Error compiling #13

WayneBooth opened this issue Jan 5, 2016 · 2 comments
Assignees
Labels

Comments

@WayneBooth
Copy link

Hi,

I'm attempting to compile ghdl on 32bit Linux, but am getting an error.
All goes well until:

gnatmake -o ghdl_mcode -aI./src -aI./src/vhdl -aI./src/psl -aI./src/vhdl/translate -aI./src/ghdldrv -aI./src/grt -aI./src/ortho -aI./src/ortho/mcode -gnaty3befhkmr -gnatwae -aO. -gnatf -gnat05 -g -gnata ghdl_jit.adb -bargs -E -largs memsegs_c.o chkstk.o  jumps.o times.o grt-cbinding.o grt-cvpi.o fstapi.o lz4.o fastlz.o -ldl -lm -Wl,--version-script=./src/grt/grt.ver -Wl,--export-dynamic
gcc-4.6 -c -I./ -I./src -I./src/vhdl -I./src/psl -I./src/vhdl/translate -I./src/ghdldrv -I./src/grt -I./src/ortho -I./src/ortho/mcode -gnaty3befhkmr -gnatwae -gnatf -gnat05 -g -gnata -I- /home/wbooth/git/ghdl/src/grt/grt-lib.adb
grt-lib.ads:26:09: warning: no entities of "Rtis" are referenced
gnatmake: "/home/wbooth/git/ghdl/src/grt/grt-lib.adb" compilation error
make: *** [ghdl_mcode] Error 4

My system reports:
Linux netbook 3.13.0-39-generic #66-Ubuntu SMP Tue Oct 28 13:31:23 UTC 2014 i686 i686 i686 GNU/Linux

Any advice on this would be appreciated.

Cheers

@tgingold
Copy link
Member

tgingold commented Jan 6, 2016

On 05/01/16 21:47, Wayne Booth wrote:

Hi,

I'm attempting to compile ghdl on 32bit Linux, but am getting an error
All goes well until:

|gnatmake -o ghdl_mcode -aI/src -aI/src/vhdl -aI/src/psl
-aI/src/vhdl/translate -aI/src/ghdldrv -aI/src/grt -aI/src/ortho
-aI/src/ortho/mcode -gnaty3befhkmr -gnatwae -aO -gnatf -gnat05 -g -gnata
ghdl_jitadb -bargs -E -largs memsegs_co chkstko jumpso timeso
grt-cbindingo grt-cvpio fstapio lz4o fastlzo -ldl -lm
-Wl,--version-script=/src/grt/grtver -Wl,--export-dynamic gcc-46 -c -I/
-I/src -I/src/vhdl -I/src/psl -I/src/vhdl/translate -I/src/ghdldrv
-I/src/grt -I/src/ortho -I/src/ortho/mcode -gnaty3befhkmr -gnatwae
-gnatf -gnat05 -g -gnata -I- /home/wbooth/git/ghdl/src/grt/grt-libadb
grt-libads:26:09: warning: no entities of "Rtis" are referenced
gnatmake: "/home/wbooth/git/ghdl/src/grt/grt-libadb" compilation error
make: *** [ghdl_mcode] Error 4 |

My system reports:
Linux netbook 3130-39-generic #66-Ubuntu SMP Tue Oct 28 13:31:23 UTC
2014 i686 i686 i686 GNU/Linux

Any advice on this would be appreciated

Hello,

simply remove the 'with grt.rtis; use grt.rtis;' line in grt-lib.ads
I will fix it in the repository and investigate why it was not caught.

Thank you for the report,
Tristan.

@tgingold
Copy link
Member

tgingold commented Jan 7, 2016

I think this is definitely fixed. I got a full build ok on Ubuntu 12.04 (from travis-ci)

Tristan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants