"time emerge sbcl" returns: cc -g -O3 -Wall -Dsparc -DSBCL_HOME='"/usr/lib/sbcl"' -I. -c -o linux-os.o linux-os.c linux-os.c: In function `sys_futex': linux-os.c:64: error: `__NR_futex' undeclared (first use in this function) linux-os.c:64: error: (Each undeclared identifier is reported only once linux-os.c:64: error: for each function it appears in.) linux-os.c: In function `os_init': linux-os.c:104: warning: implicit declaration of function `futex_wait' linux-os.c: In function `is_valid_lisp_addr': linux-os.c:202: warning: comparison of distinct pointer types lacks a cast linux-os.c:202: warning: comparison of distinct pointer types lacks a cast linux-os.c:204: warning: passing arg 2 of `in_range_p' makes integer from pointer without a cast linux-os.c: In function `sigsegv_handler': linux-os.c:241: warning: left shift count >= width of type linux-os.c:253: warning: left shift count >= width of type make: *** [linux-os.o] Error 1 real 0m49.669s user 0m35.890s sys 0m11.880s !!! ERROR: dev-lisp/sbcl-0.8.18 failed. !!! Function src_compile, Line 86, Exitcode 1 !!! (no error message) !!! If you need support, post the topmost build error, NOT this status message. Reproducible: Always Steps to Reproduce: 1. emerge sbcl Portage 2.0.51-r15 (default-linux/sparc/sparc64/2004.3, gcc-3.3.5, glibc-2.3.3.20040420-r2, 2.4.28-sparc-r6 sparc64) =============================================================== == System uname: 2.4.28-sparc-r6 sparc64 sun4u Gentoo Base System version 1.4.16 Python: dev-lang/python-2.3.4 [2.3.4 (#1, Oct 19 2004, 22:37:53)] ccache version 2.3 [enabled] dev-lang/python: 2.3.4 sys-devel/autoconf: 2.59-r6, 2.13 sys-devel/automake: 1.5, 1.8.5-r3, 1.6.3, 1.7.9-r1, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r1 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.23 ACCEPT_KEYWORDS="sparc" AUTOCLEAN="yes" CFLAGS="-O2 -mcpu=ultrasparc" CHOST="sparc-unknown-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/ share/config /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-O2 -mcpu=ultrasparc" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache collision-protect distlocks fixpackages maketest sandbox test userpriv usersandbox" GENTOO_MIRRORS="http://mirror.tucdemonic.org/gentoo/ ftp://sunsite.ualberta.ca/pub/unix/Linux/ gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="sparc X arts avi berkdb bitmap-fonts crypt cups dlloader encode esd f77 fbcon font-server foomaticdb fortran gcc64 gdbm gif gnome gpm gtk gtk2 imap imlib jpeg kde libwww mad mikmod motif mpeg ncurses nls oggvorbis opengl oss pam pdflib perl png python qt readline sdl slang spell ssl tcpd tiff truetype truetype-fonts type1-fonts xml2 xmms xv zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS, PORTDIR_OVERLAY
mkennedy -- did you test this when adding in sparc support?
ciaranm -- I dont tag other keywords unless someone with that architecture is able to confirm that it works.
mkennedy -- oki, cool. Just wondering since I can't get this to even remotely play nice with me...
Since you're using a a 2.4.x kernel, I assume there is no futex support. On x86 at least, SBCL is built the same with or without futex support. Apparently the situation is different on sparc, and possibly PCC (see Bug #79829).
*** This bug has been marked as a duplicate of 79829 ***