Skip to content

GitLab

  • Menu
Projects Groups Snippets
    • Loading...
  • 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 334
    • Issues 334
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 14
    • Merge requests 14
  • Deployments
    • Deployments
    • Releases
  • Packages & Registries
    • Packages & Registries
    • Infrastructure Registry
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • sac-group
  • sac2csac2c
  • Issues
  • #1181

Closed
Open
Created Sep 30, 2015 by Robert Bernecky@rbeDeveloper

Circular dependencies between RT libs breaks link on single-pass linkers

Bugzilla Link 1165
Created on Sep 30, 2015 16:00
Version svn
OS Linux
Architecture PC

Extended Description

I just tried compiling Bodo's post-Black Forest parallel slowdown
code. It won't even compile under Ubuntu 14.04LTS:
sac2c bodobug.BlackForest.sac -O3  -v1  -tseq
/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/rt/host/seq/libsac.so: undefined reference to `SAC_DISTMEM_rank'
/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/rt/host/seq/libsac.so: undefined reference to `SAC_DISTMEM_Abort'
/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/rt/host/seq/libsac.so: undefined reference to `SAC_DISTMEM_trace_profile_rank'
/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/rt/host/seq/libsac.so: undefined reference to `SAC_HM_ShowDiagnostics'
collect2: error: ld returned 1 exit status
abort: System failed to execute shell command
abort: gcc -std=gnu99  /tmp/SAC_iw3D7C/a.out.o
abort: -L/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/modlibs/host/seq
abort: -Wl,-rpath,/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/modlibs/host/seq
abort: -L/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/modlibs/host/seq
abort: -Wl,-rpath,/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/modlibs/host/seq
abort: -L./host/seq -Wl,-rpath,./host/seq
abort: -L/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/rt/host/seq
abort: -Wl,-rpath,/usr/local/lib/sac2c/1.2.beta-BlackForest-41-7dc65/rt/host/seq
abort: -lArrayMod -lArrayTransformMod -lConstantsMod -lArrayArithMod -lArrayBasicsMod
abort: -lBoolMod -lScalarArithMod -lsacpreludeMod  -L/usr/local/dislin
abort: -Wl,-rpath,/usr/local/dislin -L/opt/local/lib -Wl,-rpath,/opt/local/lib -lsacphmc
abort: -lsac -lsacdistmem -lsacphmc   -o a.out
abort: with exit code 1
compilation failed while Creating binary code.
This is using an installed sac2c:
sac2c -V
sac2c 1.2.beta-BlackForest-41-7dc65
 product
 (Wed Sep 30 10:43:27 EDT 2015 by sac)
sac@rattler:~/sac2c$ which sac2c
/usr/local/bin/sac2c
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking