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

build failure from GCC/GNAT 11 #1533

Closed
sharkcz opened this issue Dec 10, 2020 · 2 comments
Closed

build failure from GCC/GNAT 11 #1533

sharkcz opened this issue Dec 10, 2020 · 2 comments
Milestone

Comments

@sharkcz
Copy link
Contributor

sharkcz commented Dec 10, 2020

Build fails when the upcoming GCC/GNAT 11 is used due an Ada syntax error.

gcc -c -I./ -I./src -I./src/vhdl -I./src/synth -I./src/grt -I./src/psl -I./src/vhdl/translate -I./src/ghdldrv -I./src/ortho -I./src/ortho/llvm6 -I./src/synth -I./src/ghdldrv -gnat12 -gnaty3befhkmr -gnatwa -gnatwC -gnatf -g -gnata -I- /builddir/build/BUILD/gcc-10.2.1-20200826/ghdl-llvm/src/synth/synth-insts.adb
synth-insts.adb:251:44: operator for type "Ada.Streams.Stream_Element_Offset" is not directly visible
synth-insts.adb:251:44: add with_clause and use_clause for "Streams"
gnatmake: "/builddir/build/BUILD/gcc-10.2.1-20200826/ghdl-llvm/src/synth/synth-insts.adb" compilation error
make: *** [Makefile:344: ghdl_llvm] Error 4

The ada compiler is a recent snapshot in Fedora Rawhide (gcc version 11.0.0 20201204)

@tgingold
Copy link
Member

Just comment out the line 251.

@sharkcz
Copy link
Contributor Author

sharkcz commented Dec 10, 2020

Thanks, it's the fix :-)

@eine eine added this to the v1.0 milestone Dec 13, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants