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 401
    • Issues 401
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 13
    • Merge requests 13
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2178
Closed
Open
Created Aug 15, 2010 by Salem Reyen@salemreyenGuest

Make Failed for STDLIB

Bugzilla Link 738
Created on Aug 15, 2010 08:14
Resolution DUPLICATE
Resolved on Sep 03, 2010 13:55
Version svn
OS Linux
Architecture PC
Attachments Templates.mac

Extended Description

I need the long type (64 bit integer) for stdlib and by following the instruction given by Clemens, I add fun( long) to the list in the CPP else case in stdlib/modules/structures/Templates.mac.  That is, the file becomes
#else
#define BUILT_IN( fun)    \
fun( int)                 \
fun( long)                \  
fun( float)               \
fun( double)              \
fun( bool)                \
fun( char)
#define NUM( fun)         \
fun( int)                 \
fun( long)                \  
fun( float)               \
fun( double)              
But when I try to make mtfast, I get
inux@linux-desktop:~/sac2c-1.00-beta-linux-x86_64/stdlib$ make mtfast
make -f buildfile "MTSAC2CFLAGS=-mt" MODE=lean
Module SDLisplay cannot be built because libSDL was not found
Module Gnuplot cannot be built because gnuplot was not found
Module Dislin cannot be built because DISLIN was not found
Module PNG cannot be built because libpng was not found
cd modules/structures/lib/..; sac2c -v0 -O3 -linksetsize 0  -mt ScalarArith.sac -o lib
cd modules/structures/lib/..; sac2c -v0 -O3 -linksetsize 0  -mt ArrayBasics.sac -o lib
OOOOOOOPS, your program crashed the compiler 8-((
Please, send a bug report to bugs@sac-home.org,
or file a bug in the SaC-Zilla bug management system.
For your convenience, the compiler has pre-fabricated a bug report
in the file "./ArrayBasics.sacbugreport" !
Besides some infos concerning the compiler version and its
usage it contains the specified source file.
If you want to send that bug report to us, you may simply type
  mail bugs@sac-home.org < ArrayBasics.sacbugreport
If you decide to file a bug in SaC-Zilla, please go to
  http://bugs.sac-home.org/.
When filing a bug report, please copy/paste the initial comment section of
the bug report into the plain text comment section of SaC-Zilla, and add
the whole bug report file as an attachment.
Aborted
make[1]: *** [modules/structures/lib/libArrayBasicsTree.so] Error 134
make: *** [mtfast] Error 2
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking