Steel Bank Common Lisp

sbcl-1.0.56-9-g40f6a8f broke build on solaris/sparc

Reported by Tomas Hlavaty on 2012-06-04
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
SBCL
High
Stas Boukarev

Bug Description

from build log:

gcc -g -Wall -Wsign-compare -O3 -DSVR4 -D_REENTRANT -I. -DSBCL_PREFIX=\"'/usr/local'\" -\
c -o sparc-arch.o sparc-arch.c
In file included from alloc.h:17,
                 from sparc-arch.c:21:
gc-internal.h: In function `gc_general_copy_object':
gc-internal.h:119: warning: implicit declaration of function `lose'
In file included from sparc-arch.c:23:
interr.h: At top level:
interr.h:15: error: conflicting types for 'lose'
gc-internal.h:119: error: previous implicit declaration of 'lose' was here
sparc-arch.c: In function `arch_get_bad_addr':
sparc-arch.c:52: warning: comparison between pointer and integer
sparc-arch.c:53: warning: comparison between pointer and integer
sparc-arch.c: In function `arch_handle_after_breakpoint':
sparc-arch.c:238: warning: passing arg 1 of `os_flush_icache' makes integer from pointer \
without a cast
sparc-arch.c: In function `sigemt_handler':
sparc-arch.c:339: warning: suggest parentheses around assignment used as truth value
sparc-arch.c: At top level:
sparc-arch.c:163: warning: 'orig_sigmask' defined but not used
make: *** [sparc-arch.o] Error 1
make: Leaving directory `/home/hlavaty/src/autobench-sbcl/src/runtime'

Stas Boukarev (stassats) wrote :

Try the following patch.

Changed in sbcl:
status: New → Triaged
assignee: nobody → Stas Boukarev (stassats)
importance: Undecided → High
Tomas Hlavaty (tomas-hlavaty) wrote :

Applied the patch on sbcl-1.0.57-25-ga5f57fb and it builds now. Thanks a lot!

Stas Boukarev (stassats) wrote :

commit 25d55fff07e7eb37ad976f980cb440cdd95ff326
Author: Stas Boukarev <email address hidden>
Date: Mon Jun 4 21:24:46 2012 +0400

    Restore build on sparc/solaris.

    gc-internal.h: include interr.h before `lose' is used.

Changed in sbcl:
status: Triaged → Fix Committed
Tomas Hlavaty (tomas-hlavaty) wrote :

Confirming that 1.0.57.26-25d55ff builds fine on solaris/sparc.

Changed in sbcl:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers