Skip to content
GitLab
  • Menu
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • sac2c sac2c
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 400
    • Issues 400
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 12
    • Merge requests 12
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2299
Closed
Open
Created Feb 24, 2022 by Robert Bernecky@rbeDeveloper

"Module not found" error message is too verbose

If you run sac2c with a stale Stdlib, you get this sort of output, which is not exactly user friendly:

apex@medusa:~/apexgit/Ancillary/benchmks/UnitTests/UTShape/src$ sac2c UTShape.sac 
./UTShape.sac:5:10: error: 
=> cannot load module `Array'
error: module `Array' not cached
./UTShape.sac:7:9: error: 
=> cannot load module `Bits'
error: module `Bits' not cached
./UTShape.sac:9:16: error: 
=> cannot load module `CommandLine'
error: module `CommandLine' not cached
./UTShape.sac:11:12: error: 
=> cannot load module `RTClock'
error: module `RTClock' not cached
./UTShape.sac:13:11: error: 
=> cannot load module `String'


OOOOOOOPS, your program crashed the compiler 8-((

Please, submit the bug report online at
https://gitlab.sac-home.org/sac-group/sac2c/-/issues.
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking