[Libre-soc-dev] Coriolis2 Non-Chroot Script
andrey at technepisteme.xyz
Tue Sep 14 13:47:25 BST 2021
On 12/09/2021 22:46, lkcl wrote:
> oh you spotted that one ehn? :)
One of the first things I ever do in a fresh linux instal is setup
wheel/sudo, and the command stood out.
In any other situation, the setting "ALL=(ALL:ALL) ALL" should ring all
sorts of alarm bells in one's head ;)
> mmm... honestly it shouldn't matter too much. yosys *should* be dropping the binaries in /usr/local, it's more of a courtesy to chown anything back to user that root *might* have accidentally built and wasn't supposed to.
Ok, I'll recursively set the permission of the home folder to the user
(save a few cd's and chown's).
>> however I won't modify "coriolis2-chroot" until I test
>> again by setting up fresh chroot tomorrow using "mk-deb-chroot" (the
>> I currently have I probably mucked up after multiple runs).
Had a new issue with running the script yesterday, and was trying to
figure it out. Re-installed debian as decided to use split partitions
and was running out of space (and didn't want to muck about with
mounting a new /opt).
When installing alliance I get a linkage error:
mv -f .deps/ablunflat.Tpo .deps/ablunflat.Plo
/bin/bash ../../libtool --tag=CC --mode=link gcc
-I../../../src/mbk/src -I../../../src/aut/src -g -O2 -version-info 1:3:0
-L../../aut/src -o libAbl.la -rpath /home/rohdo/alliance/install/lib
abladd.lo abldev.lo ablfree.lo ablpolar.lo ablvhdl.lo ablcreate.lo
abldup.lo ablget.lo ablsimp.lo ablview.lo ablctlnorm.lo ablenv.lo
ablis.lo ablstr.lo ablctlsimp.lo ablerror.lo ablmap.lo ablsubst.lo
abldel.lo ablflat.lo abloptim.lo ablunflat.lo -lAut -lMut -lm -lm -lm -lm
libtool: link: gcc -shared -fPIC -DPIC .libs/abladd.o .libs/abldev.o
.libs/ablfree.o .libs/ablpolar.o .libs/ablvhdl.o .libs/ablcreate.o
.libs/abldup.o .libs/ablget.o .libs/ablsimp.o .libs/ablview.o
.libs/ablctlnorm.o .libs/ablenv.o .libs/ablis.o .libs/ablstr.o
.libs/ablctlsimp.o .libs/ablerror.o .libs/ablmap.o .libs/ablsubst.o
.libs/abldel.o .libs/ablflat.o .libs/abloptim.o .libs/ablunflat.o
-Wl,-rpath -Wl,/home/rohdo/alliance/build/aut/src/.libs -Wl,-rpath
/home/rohdo/alliance/build/aut/src/.libs/libAut.so -lMut -lm -g -O2
-Wl,-soname -Wl,libAbl.so.1 -o .libs/libAbl.so.1.0.3
/usr/bin/ld: cannot find -lMut
collect2: error: ld returned 1 exit status
make: *** [Makefile:604: libAbl.la] Error 1
make: Leaving directory '/home/rohdo/alliance/build/abl/src'
make: *** [Makefile:527: install-recursive] Error 1
make: Leaving directory '/home/rohdo/alliance/build/abl'
make: *** [Makefile:573: install-recursive] Error 1
Ld doesn't know what the "-lMut" flag is. Neither can I find any
documentation on it.
Doing a "grep -r "lMut alliance/src/" yields a lot of finds, all in
Something tells me I'm missing a library (or two), however I have not
seen errors in yosys, or coriolis-2.x compile/installation (which occur
earlier in the script).
Has anyone encountered this before?
>> convert-im6.q16: attempt to perform an operation not allowed by the
>> security policy `EPS' @ error/constitute.c/IsCoderAuthorized/408.
> can you raise a bugreport about it, i will ping jean-paul.
Before raising the bug, I wanted to run the script again, but this time
this new issue came up.
More information about the Libre-soc-dev