In the ebuild file for clisp-2.31, it says unset CFLAGS Later, the build uses CFLAGS from the Makefile. Unfortunately, it omits a function alignment so that it cannot be built: emerge clisp ... mkdir data cd data && ln -s ../../utils/unicode/UnicodeDataFull.txt . cd data && ln -s ../../src/clhs.txt . gcc -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O -DUNICODE -DDYNAMIC_FFI -x none spvw.o spvwtabf.o spvwtabs.o spvwtabo.o eval.o control.o encoding.o pathname.o stream.o socket.o io.o array.o hashtabl.o list.o package.o record.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 ari80386.o modules.o libcharset.a libavcall.a libcallback.a -lreadline -lncurses -ldl -L/usr/lib -lsigsegv -L/usr/lib -lc -o lisp.run sync ./lisp.run -B . -N locale -Efile UTF-8 -Eterminal UTF-8 -norc -m 750KW -x "(and (load \"init.lisp\") (sys::%saveinitmem) (ext::exit))" C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x8062ae7. Add -falign-functions=4 to CFLAGS in the Makefile. make: *** [interpreted.mem] Aborted !!! ERROR: dev-lisp/clisp-2.31 failed. !!! Function src_compile, Line 49, Exitcode 2 !!! (no error message) Since the Makefile is created dynamically, it cannot be changed. It puts the following line into the Makefile: CFLAGS = -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -fomit-frame-pointer -O -DUNICODE -DDYNAMIC_FFI I have also tried to comment out the unset line, but then the whole build goes crazy.
ah i see what you mean. assigning
a fix for this has been incorporated into clisp-2.31, recently marked stable.
.
i just realized i failed to solve the problem when i closed this, in clisp-2.31-r1, there is a robust fix. Matt