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

Make fails #6

Open
bracke opened this issue Jul 3, 2022 · 1 comment
Open

Make fails #6

bracke opened this issue Jul 3, 2022 · 1 comment

Comments

@bracke
Copy link

bracke commented Jul 3, 2022

Hi

When running make it fails:

process.ads:145:05: error: unit "Process" requires pragma "Elaborate_All" for "LinkedList"
process.ads:145:05: error: spec of unit "Process" elaborated
process.ads:145:05: error: package "LinkedList" instantiated as "FrameList" at line 145
process.ads:145:05: error: instantiation error at linkedlist.ads:21
process.ads:145:05: error: initialization actions for type "Slab" during elaboration in SPARK
process.ads:145:05: error: unit "Process" requires pragma "Elaborate_All" for "SlabAllocator"
process.ads:145:05: error: spec of unit "Process" elaborated
process.ads:145:05: error: initialization actions for type "Slab" at linkedlist.ads:21, instance at line 145
gprbuild: *** compilation phase failed
make: *** [Makefile:35: cubit_kernel] Error 4

If I switch SPARK_MODE off for LinkedList, then it works.

This is with GNAT CE 2021 (gcc 10.3.1) on Ubuntu.

Kind regards
Bent Bracke

@docandrew
Copy link
Owner

I'll take a look - thanks!

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

2 participants