pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

netbsd-9/i386 using pkgsrc GCC 10 "clisp" build fails.



With pkgsrc-HEAD in anticipation of the upcoming freeze, building
"lang/clisp" on netbsd-9/i386 (9.3_STABLE) using pkgsrc "lang/gcc10"
(10.4) as the pkgsrc compiler, the build fails with:

[...]
mkdir -p gllib
test -f gllib/Makefile || sh config.status gllib/Makefile depfiles
cd gllib && /usr/bin/make CFLAGS="-O2 -fno-builtin-calloc -fno-builtin-malloc -fno-builtin-memalign -fno-builtin-realloc -fno-builtin-valloc -fno-builtin-free -falign-functions=4 -D_FORTIFY_SOURCE=2 -I/usr/pkg/include -I/usr/include -I/usr/pkg/include/glib-2.0 -I/usr/pkg/include/gio-unix-2.0 -I/usr/pkg/lib/glib-2.0/include -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -O -DENABLE_UNICODE -DDYNAMIC_FFI -DDYNAMIC_MODULES -I. -fPIC" CLISP_LIBDIR=/tmp/pkgsrc/lang/clisp/work/clisp-2.49/src
cd .. && /usr/bin/make  am--refresh
/usr/bin/make  all-recursive
cd .. && /usr/bin/make  am--refresh
test -r libgnu_cl.a || ln -s gllib/libgnu.a libgnu_cl.a
./lisp.run -B . -N locale -E UTF-8 -Epathname 1:1 -Emisc 1:1 -norc -m 2MW -lp  -x '(and (load "init.lisp") (sys::%saveinitmem) (ext::exit)) (ext::exit t)'
WARNING: locale: no encoding 646, using ISO-8859-1
C_CODE_ALIGNMENT is wrong. &CRASH = 0x80f5671.
Add -falign-functions=4 to CFLAGS in the Makefile.
*** Signal 6

Stop.
make: stopped in /tmp/pkgsrc/lang/clisp/work/clisp-2.49/src
*** Error code 1

Stop.
make[1]: stopped in /x/pkgsrc/lang/clisp
*** Error code 1

Stop.
make: stopped in /x/pkgsrc/lang/clisp


The suggested fix is already in the compiler directives, so I don't know
what the problem is.

netbsd-9/amd64 on the same hardware built "clisp" just fine using pkgsrc
GCC 10.

-current/i386 (9.99.99 at the time) where GCC 10.4 is the stock compiler
built "clisp" just fine.  Will try with 10.99.x and/or 10.0_$foo soon-ish.

Since "clisp" is a leaf package, a workaround is to use netbsd-9's stock
GCC 7.5 to build it.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index