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