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 394
    • Issues 394
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 16
    • Merge requests 16
  • Deployments
    • Deployments
    • Releases
  • Wiki
    • Wiki
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #2290
Closed
Open
Created Feb 06, 2022 by Hans-Nikolai Viessmann@hansOwner

fun-attrs.h missing on install

With an installed version of sac2c we no longer have the fun-attrs.h header available:

  0%] Building `ScalarArith.sac' from `ScalarArith.xsac' for target `seq'
[  0%] Building module `ScalarArith' for target `seq'
In file included from /usr/local/include/sac2c/1.3.3-MijasCosta-736-g60b1b/release/sac.h:105,
                 from /tmp/SAC_EVD6hb/header.h:278,
                 from /tmp/SAC_EVD6hb/fun1.c:1:
/usr/local/include/sac2c/1.3.3-MijasCosta-736-g60b1b/release/libsac/essentials/message.h:21:10: fatal error: fun-attrs.h: No such file or directory
   21 | #include "fun-attrs.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
abort: System failed to execute shell command
abort: /usr/sbin/cc  -I.  -DHAVE_CONFIG_H
abort: -I/builds/sac-group/build-sac-pkgs/stdlib-build/include
abort: -I/builds/sac-group/build-sac-pkgs/stdlib/include -DFULLTYPES
abort: -DEXT_STDLIB
abort: -I/usr/local/include/sac2c/1.3.3-MijasCosta-736-g60b1b/release
abort: -DSAC_TARGET_STRING=\"seq\" -DSAC_MODEXT_STRING=\".so\"
abort: -DSAC_TARGET_ENV_STRING=\"host\" -DSAC_SBI_STRING=\"seq\"
abort: -DSAC_RC_METHOD=SAC_RCM_local -DSAC_BACKEND_C99 -DSAC_MT_LIB_
abort: -DSAC_MT_MODE=0 -DSAC_DO_RTSPEC=0 -DSAC_DO_CUDA_ALLOC=SAC_CA_system
abort: -DSAC_DO_CUDA_SYNC=1 -O3  -mtune=generic  -pedantic -g -fPIC
abort: -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE
abort:  -Wall -Wextra -Wstrict-prototypes -Wno-unused-parameter
abort: -Wno-unused-but-set-variable  -Wno-unused-function -Wno-strict-overflow
abort: -Wimplicit-fallthrough=3 -Wno-format-truncation -pedantic -std=gnu99
abort: -pedantic -Wno-unused -fno-builtin  -E -o /tmp/SAC_EVD6hb/fun1.i
abort: /tmp/SAC_EVD6hb/fun1.c
abort: with exit code 1
compilation failed while Creating binary code.
make[2]: *** [src-seq/CMakeFiles/seq-module-Interval.dir/build.make:74: lib/host/seq/libIntervalMod.so] Error 168
make[1]: *** [CMakeFiles/Makefile2:2319: src-seq/CMakeFiles/seq-module-Interval.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
In file included from /usr/local/include/sac2c/1.3.3-MijasCosta-736-g60b1b/release/sac.h:105,
                 from /tmp/SAC_HDPAPK/header.h:278,
                 from /tmp/SAC_HDPAPK/fun1.c:1:
/usr/local/include/sac2c/1.3.3-MijasCosta-736-g60b1b/release/libsac/essentials/message.h:21:10: fatal error: fun-attrs.h: No such file or directory
   21 | #include "fun-attrs.h"
      |          ^~~~~~~~~~~~~
compilation terminated.
abort: System failed to execute shell command
abort: /usr/sbin/cc  -I.  -DHAVE_CONFIG_H
abort: -I/builds/sac-group/build-sac-pkgs/stdlib-build/include
abort: -I/builds/sac-group/build-sac-pkgs/stdlib/include -DFULLTYPES
abort: -DEXT_STDLIB
abort: -I/usr/local/include/sac2c/1.3.3-MijasCosta-736-g60b1b/release
abort: -DSAC_TARGET_STRING=\"seq\" -DSAC_MODEXT_STRING=\".so\"
abort: -DSAC_TARGET_ENV_STRING=\"host\" -DSAC_SBI_STRING=\"seq\"
abort: -DSAC_RC_METHOD=SAC_RCM_local -DSAC_BACKEND_C99 -DSAC_MT_LIB_
abort: -DSAC_MT_MODE=0 -DSAC_DO_RTSPEC=0 -DSAC_DO_CUDA_ALLOC=SAC_CA_system
abort: -DSAC_DO_CUDA_SYNC=1 -O3  -mtune=generic  -pedantic -g -fPIC
abort: -D_POSIX_C_SOURCE=200809L -D_DEFAULT_SOURCE -D_SVID_SOURCE -D_BSD_SOURCE
abort:  -Wall -Wextra -Wstrict-prototypes -Wno-unused-parameter
abort: -Wno-unused-but-set-variable  -Wno-unused-function -Wno-strict-overflow
abort: -Wimplicit-fallthrough=3 -Wno-format-truncation -pedantic -std=gnu99
abort: -pedantic -Wno-unused -fno-builtin  -E -o /tmp/SAC_HDPAPK/fun1.i
abort: /tmp/SAC_HDPAPK/fun1.c
abort: with exit code 1
compilation failed while Creating binary code.
make[2]: *** [src-seq/CMakeFiles/seq-module-ScalarArith.dir/build.make:74: lib/host/seq/libScalarArithMod.so] Error 168
make[1]: *** [CMakeFiles/Makefile2:340: src-seq/CMakeFiles/seq-module-ScalarArith.dir/all] Error 2
make: *** [Makefile:156: all] 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