Created attachment 436638 [details] build.log Hi, on ~x86 clisp-2.49-r8 fails to build: CFLAGS="-O2 -pipe" LDFLAGS="-Wl,-O1,--as-needed" emerge -1 dev-lisp/clisp [...] gcc -O2 -pipe -Wa,--noexecstack -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -O -DENABLE_UNICODE -DDYNAMIC_FFI -I. -Wl,-O1,--as-needed 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 built.o ari80386.o modules.o /usr/lib/libreadline.so -lncurses -ldl /usr/lib/libavcall.so /usr/lib/libcallback.so -L/usr/lib -lsigsegv -L/usr/lib -lc libgnu_cl.a -o lisp.run /usr/lib/gcc/i686-pc-linux-gnu/5.3.0/../../../../i686-pc-linux-gnu/bin/ld: warning: libncurses.so.5, needed by /lib/libreadline.so.6, may conflict with libncurses.so.6 ./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)' C_CODE_ALIGNMENT is wrong. &EVAL-WHEN = 0x806c0e5. Add -falign-functions=4 to CFLAGS in the Makefile. make: *** [Makefile:1742: interpreted.mem] Aborted
Created attachment 436640 [details] environment
Created attachment 436642 [details] emerge --info
As suggested by the error message, adding -falign-functions=4 to CFLAGS helps. I propose to append this option to CFLAGS on ~x86.
=dev-lisp/clisp-2.49-r8 no longer in the tree. Please try with current =dev-lisp/clisp-2.49.90
Closing as obsolete. Please re-open if it occurs with a newer version.
*** Bug 648044 has been marked as a duplicate of this bug. ***
(In reply to Cyprien Nicolas (fulax) from comment #5) > Closing as obsolete. Please re-open if it occurs with a newer version. It actually has been properly added in clisp-2.49.90 and clisp-2.49.92 ebuilds.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efe71d43591c75104225e9d5ed36895e50214c30 commit efe71d43591c75104225e9d5ed36895e50214c30 Author: Sam James <sam@gentoo.org> AuthorDate: 2025-04-28 04:43:51 +0000 Commit: Sam James <sam@gentoo.org> CommitDate: 2025-04-28 04:43:51 +0000 dev-lisp/clisp: add bug ref for x86 -falign-functions= Bug: https://bugs.gentoo.org/585182 Signed-off-by: Sam James <sam@gentoo.org> dev-lisp/clisp/clisp-2.49.92-r2.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)