sac2c gets uppity about object filename after Mull
|
|
Bugzilla Link |
1128 |
Created on |
Aug 07, 2014 18:03 |
Version |
svn |
OS |
Linux |
Architecture |
PC |
Extended Description
This puzzles me. I have no idea why naming an object file should
affect itslinkability. In the following, the only difference
is that one compile specifies the name of the object file, while
the other uses the default value:
sac@rattler:~/sac/testsuite/optimizations/awlf$ rm a.out sumrotateiotaAKSAKD.sac.exe
sac@rattler:~/sac/testsuite/optimizations/awlf$ sac2c -v0 -target seq -doawlf -nowlf -noctz -doscwlf sumrotateiotaAKSAKD.sac
sac@rattler:~/sac/testsuite/optimizations/awlf$ a.out; echo $?
0
sac@rattler:~/sac/testsuite/optimizations/awlf$ sac2c -v0 -target seq -doawlf -nowlf -noctz -doscwlf sumrotateiotaAKSAKD.sac -o sumrotateiotaAKSAKD.sac.exe
sac@rattler:~/sac/testsuite/optimizations/awlf$ ./sumrotateiotaAKSAKD.sac.exe ; echo $?./sumrotateiotaAKSAKD.sac.exe: error while loading shared libraries: libArrayMod.so: cannot open shared object file: No such file or directory
127
Compiling with "-o a.out " also causes the loader to fail.
sac2c -V
sac2c v1.00-beta (Haggis And Apple)
product rev 18604
(Wed Aug 6 16:04:14 EDT 2014 by sac)