guix: Check mingw symbols, improve SSP fix docs

This commit is contained in:
Carl Dong 2020-03-30 13:41:34 -04:00
parent 449d8fe25b
commit 35a96792dd
No known key found for this signature in database
GPG key ID: 0CC52153197991A5
2 changed files with 5 additions and 2 deletions

View file

@ -211,7 +211,7 @@ export PATH="${BASEPREFIX}/${HOST}/native/bin:${PATH}"
make -C src --jobs=1 check-security ${V:+V=1}
case "$HOST" in
*linux*)
*linux*|*mingw*)
# Check that executables only contain allowed gcc, glibc and libstdc++
# version symbols for Linux distro back-compatibility.
make -C src --jobs=1 check-symbols ${V:+V=1}

View file

@ -26,7 +26,10 @@
(define (make-ssp-fixed-gcc xgcc)
"Given a XGCC package, return a modified package that uses the SSP function
from glibc instead of from libssp.so. Taken from:
from glibc instead of from libssp.so. Our `symbol-check' script will complain if
we link against libssp.so, and thus will ensure that this works properly.
Taken from:
http://www.linuxfromscratch.org/hlfs/view/development/chapter05/gcc-pass1.html"
(package
(inherit xgcc)