Hi Hans,
Based on this part of your output:
g++: fatal error: Killed signal terminated program cc1plus
Maybe that indicates that the compiler might have been killed because
you ran out of memory?
/ Elias
On 2020-08-15 21:27, Hans Malissa via blfs-support wrote:
I'm trying to build NSS on BLFS 9.1-systemd. Following the instructions
on the BLFS Errata page
(http://linuxfromscratch.org/blfs/errata/stable-systemd/), I'm building
NSS-3.55 following the instructions given in
(http://linuxfromscratch.org/blfs/view/systemd/postlfs/nss.html).
The make-command given on that page fails for me with:
...
g++ -o
Linux5.5_x86_64_cc_glibc_PTH_64_OPT.OBJ/pk11_aeskeywrap_unittest.o -c
-std=c++11 -O2 -fPIC -m64 -pipe -ffunction-sections -fdata-sections
-DHAVE_STRERROR -DLINUX -Dlinux -Wall -Wshadow -DNSS_NO_GCC48 -DXP_UNIX
-DXP_UNIX -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\"so\" -UDEBUG -DNDEBUG
-D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE
-DSQL_MEASURE_USE_TEMP_DIR -D_REENTRANT -UDEBUG -DNDEBUG
-D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE
-DSQL_MEASURE_USE_TEMP_DIR -D_REENTRANT -DNSS_NO_INIT_SUPPORT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../gtests/google_test/gtest/include -I../../gtests/common
-I../../cpputil -I/usr/include/nspr
-I../../../dist/Linux5.5_x86_64_cc_glibc_PTH_64_OPT.OBJ/include
-I../../../dist/public/nss -I../../../dist/private/nss
-I../../../dist/public/nspr -I../../../dist/public/nss
-I../../../dist/public/libdbm -I../../../dist/public/gtest
-I../../../dist/public/cpputil -std=c++0x pk11_aeskeywrap_unittest.cc
g++ -o
Linux5.5_x86_64_cc_glibc_PTH_64_OPT.OBJ/pk11_aeskeywrapkwp_unittest.o -c
-std=c++11 -O2 -fPIC -m64 -pipe -ffunction-sections -fdata-sections
-DHAVE_STRERROR -DLINUX -Dlinux -Wall -Wshadow -DNSS_NO_GCC48 -DXP_UNIX
-DXP_UNIX -DDLL_PREFIX=\"lib\" -DDLL_SUFFIX=\"so\" -UDEBUG -DNDEBUG
-D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE
-DSQL_MEASURE_USE_TEMP_DIR -D_REENTRANT -UDEBUG -DNDEBUG
-D_DEFAULT_SOURCE -D_BSD_SOURCE -D_POSIX_SOURCE
-DSQL_MEASURE_USE_TEMP_DIR -D_REENTRANT -DNSS_NO_INIT_SUPPORT
-DUSE_UTIL_DIRECTLY -DNO_NSPR_10_SUPPORT
-DSSL_DISABLE_DEPRECATED_CIPHER_SUITE_NAMES
-I../../gtests/google_test/gtest/include -I../../gtests/common
-I../../cpputil -I/usr/include/nspr
-I../../../dist/Linux5.5_x86_64_cc_glibc_PTH_64_OPT.OBJ/include
-I../../../dist/public/nss -I../../../dist/private/nss
-I../../../dist/public/nspr -I../../../dist/public/nss
-I../../../dist/public/libdbm -I../../../dist/public/gtest
-I../../../dist/public/cpputil -std=c++0x pk11_aeskeywrapkwp_unittest.cc
{standard input}: Assembler messages:
{standard input}: Error: open CFI at the end of file; missing
.cfi_endproc directive
g++: fatal error: Killed signal terminated program cc1plus
compilation terminated.
make[4]: *** [../../coreconf/rules.mk:349:
Linux5.5_x86_64_cc_glibc_PTH_64_OPT.OBJ/pk11_aeskeywrapkwp_unittest.o]
Error 1
make[4]: Leaving directory 'mydir/nss-3.55/nss/gtests/pk11_gtest'
make[3]: *** [../coreconf/rules.mk:44: pk11_gtest] Error 2
make[3]: Leaving directory 'mydir/nss-3.55/nss/gtests'
make[2]: *** [coreconf/rules.mk:44: gtests] Error 2
make[2]: Leaving directory 'mydir/nss-3.55/nss'
make[1]: *** [manifest.mn:28: all] Error 2
make[1]: Leaving directory 'mydir/nss-3.55/nss'
make: *** [Makefile:53: nss_build_all] Error 2
What's going wrong here?
Thanks a lot,
Hans
--
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page