I'm trying to install clisp on gentoo-hardened amd64, but I get a freeze when compiling it: gcc -march=native -O2 -pipe -mno-avx -Wa,--noexecstack -I/usr/include/db4.5 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -O -falign-functions=4 -pthread -DUNICODE -DMULTITHREAD -DPOSIX_THREADS -DDYNAMIC_FFI -I. -Wl,-O1 -Wl,--as-needed gllib/uniwidth/width.o gllib/uniname/uniname.o gllib/localcharset.o spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o funarg.o array.o hashtabl.o list.o package.o record.o weak.o sequence.o charstrg.o debug.o error.o misc.o time.o predtype.o symbol.o lisparit.o i18n.o foreign.o unixaux.o zthread.o built.o modules.o /usr/lib64/libreadline.so -lncurses -ldl /usr/lib64/libavcall.a /usr/lib64/libcallback.a -L/usr/lib64 -lsigsegv -L/usr/lib64 -lc -o lisp.run ./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -lp ../src/ -x '(and (load "../src/init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)' And the compilation doesn't move from here. I've tried the 2.48-r2 with the same result. I've also changed MAKEOPTS="-j5" to -j1, without changes. Reproducible: Always
1) Please post your `emerge --info' output. 2) Please attach the entire build log to this bug report.
Created attachment 284725 [details] emerge --info
Created attachment 284727 [details] Build of clisp Tried for hours and doesn't change. I've tried with -j1, -O1 and the same result happens.
Looks like it doesn't respect CC either.
Build ends fine without threads USE flag
Per bug #638942 it should be fixed in newer versions