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 403
    • Issues 403
    • 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
  • #2210
Closed
Open
Created Feb 18, 2015 by Robert Bernecky@rbeDeveloper

stdlib make dies

Bugzilla Link 1146
Created on Feb 18, 2015 20:07
Resolution FIXED
Resolved on Feb 20, 2015 21:01
Version svn
OS Linux
Architecture PC

Extended Description

On Linux, I get this failure when trying to rebuild the stdlib,
after git pull; ./configure; make clean; make:
~/sac/BASE/stdlib$ make
note: modules BMP, SDLisplay and SDL2 were disabled in configure.
note: module Dislin was diabled in configure.
cd modules/structures/; sac2c -v0 -linksetsize 0 -O3  ScalarArith.sac -o /home/sac/sac/BASE/stdlib/shared-libs
cd modules/structures/; sac2c -v0 -linksetsize 0 -O3  ArrayBasics.sac -o /home/sac/sac/BASE/stdlib/shared-libs
/home/sac/sac/BASE/stdlib/shared-libs.c: In function ‘main’:
/home/sac/sac/BASE/stdlib/shared-libs.c:923:3: warning: implicit declaration of function ‘SACf__MAIN__main’ [-Wimplicit-function-declaration]
   SAC_INVOKE_MAIN_FUN( SACf__MAIN__main, SAC_ND_ARG_out( (SAC_res, (SCL, (NHD, (NUQ, (INT, (GLO, (NON, (NOT, )))))))), int));
   ^
/usr/bin/ld: cannot open output file /home/sac/sac/BASE/stdlib/shared-libs: Is a directory
collect2: error: ld returned 1 exit status
abort: System failed to execute shell command
abort: gcc -std=gnu99 -pedantic -Wall -Wno-unused -fno-builtin  -march=native -mtune=native    -I$SAC2CBASE/include/  -O3
abort: -I$SAC2CBASE/include/  -o /home/sac/sac/BASE/stdlib/shared-libs /home/sac/sac/BASE/stdlib/shared-libs.c  -ldl
abort: -pthread -Wl,--no-as-needed  -L$SAC2CBASE/lib/  -L/tmp/SAC_mYLJtv  -L. -Wl,-rpath,. -L/home/sac/sac2c/lib
abort: -Wl,-rpath,/home/sac/sac2c/lib -L/home/sac/sac/BASE/stdlib/shared-libs
abort: -Wl,-rpath,/home/sac/sac/BASE/stdlib/shared-libs -L. -Wl,-rpath,. -L/usr/local/dislin -Wl,-rpath,/usr/local/dislin
abort: -L/opt/local/lib -Wl,-rpath,/opt/local/lib   -lsacphm.seq -lsac.seq   -ldl
abort: with exit code 1
compilation failed while Creating binary code.
make: *** [libArrayBasicsTree.so] Error 150
I suspect the failure is some environment variable being set incorrectly,
but am not sure where to go from here.
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
 developer rev 18521 linux-gnu_x86_64
 (Wed Feb 18 10:48:33 EST 2015 by sac)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking