Opened 17 years ago

Closed 17 years ago

Last modified 22 months ago

#13237 closed defect (duplicate)

sbcl fails to build on Mac OS X 10.5 Leopard

Reported by: tukikage386@… Owned by: waqar@…
Priority: Normal Milestone:
Component: ports Version: 1.5.2
Keywords: sbcl Cc: tukikage386@…, gwright@…, waqar@…, nox@…
Port:

Description

Here is the log.

Attachments (1)

debug.log.zip (97.0 KB) - added by tukikage386@… 17 years ago.

Download all attachments as: .zip

Change History (13)

Changed 17 years ago by tukikage386@…

Attachment: debug.log.zip added

comment:1 Changed 17 years ago by nox@…

Cc: tukikage386@… gwright@… waqar@… nox@… added
Milestone: Port Bugs
Owner: changed from macports-dev@… to gwright@…
Summary: sbcl install failssbcl fails to build

Are you on Leopard

comment:2 Changed 17 years ago by tukikage386@…

Yes, I am using Leopard.

comment:3 Changed 17 years ago by nox@…

Summary: sbcl fails to buildsbcl fails to build on Mac OS X 10.5 Leopard

comment:4 Changed 17 years ago by waqar@…

There is a new release I have built it on Leopard, I will be checking that in. I would like to have someone test it on Tiger.

comment:5 Changed 17 years ago by waqar@…

Checked in the build of the latest release, also added the threads variant. I tested the build on leopard (i386) and it works fine. I would like someone to test it on Tiger. Thanks

comment:6 Changed 17 years ago by tukikage386@…

I'm using Leopard on G5 machine.

Sbcl compile still fails.

==========================================

install sbcl +threads

---> Fetching sbcl ---> Verifying checksum(s) for sbcl ---> Extracting sbcl ---> Applying patches to sbcl ---> Configuring sbcl ---> Building sbcl with target all Error: Target org.macports.build returned: shell command "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-0.9.15-powerpc-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-0.9.15-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" " returned error 2 Command output: ; compilation finished in 0:00:06 STYLE-WARNING: redefining FOP-MAYBE-COLD-LOAD in DEFUN T

beginning GENESIS, creating headers in "src/runtime/genesis" NIL

real 4m32.577s user 3m33.840s sys 0m38.008s entering make-target-1.sh building runtime system and symbol table file rm -f *.[do] sbcl sbcl.nm sbcl.h core *.tmp echo '#include "genesis/config.h"' >sbcl.h echo '#include "genesis/constants.h"' >>sbcl.h gencgc.c:3875:6: error: #error "preserve_context_registers needs to be tweaked for non-x86 Darwin" ppc-darwin-os.c:28:2: error: #error "Define threading support functions" gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp -c -o alloc.o alloc.c alloc.c: In function 'pa_alloc': alloc.c:43: warning: unused variable 'th' gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp -c -o backtrace.o backtrace.c gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp -c -o breakpoint.o breakpoint.c gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp -c -o coreparse.o coreparse.c gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp -c -o dynbind.o dynbind.c dynbind.c: In function 'bind_variable': dynbind.c:46: error: 'TLS_INDEX_LOCK' undeclared (first use in this function) dynbind.c:46: error: (Each undeclared identifier is reported only once dynbind.c:46: error: for each function it appears in.) dynbind.c:51: error: 'FREE_TLS_INDEX' undeclared (first use in this function) make: * [dynbind.o] Error 1

Error: Status 1 encountered during processing.

comment:7 Changed 17 years ago by waqar@…

Owner: changed from gwright@… to waqar@…
Status: newassigned

sbcl is stuck on 1.0.2 for PowerPC so 1.0.12 is for intel only. I will see if i can change that.

comment:8 Changed 17 years ago by n.mueller@…

I also really would appreciate a sbcl version for OSX 10.5 PPC. I am using Leopard 10.5.1 on a PPC G4 and get the following error log:

[~]
$ port search sbcl
sbcl                           lang/sbcl      1.0.12       The Steel Bank Common Lisp system
[~]
$ sudo port install sbcl
--->  Fetching sbcl
--->  Attempting to fetch sbcl-1.0.12-source.tar.bz2 from http://downloads.sourceforge.net/sbcl
--->  Attempting to fetch sbcl-0.9.15-powerpc-darwin-binary.tar.bz2 from http://downloads.sourceforge.net/sbcl
--->  Verifying checksum(s) for sbcl
--->  Extracting sbcl
--->  Applying patches to sbcl
--->  Configuring sbcl
--->  Building sbcl with target all
Error: Target org.macports.build returned: shell command "unset LD_PREBIND && unset LD_PREBIND_ALLOW_OVERLAP && sh make.sh "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-0.9.15-powerpc-darwin/src/runtime/sbcl --core /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_lang_sbcl/work/sbcl-0.9.15-powerpc-darwin/output/sbcl.core --disable-debugger --sysinit /dev/null --userinit /dev/null" " returned error 2
Command output: beginning GENESIS, creating headers in "src/runtime/genesis"
NIL
* 
real	7m35.296s
user	4m35.872s
sys	0m39.936s
//entering make-target-1.sh
//building runtime system and symbol table file
rm -f *.[do] sbcl sbcl.nm sbcl.h core *.tmp 
echo '#include "genesis/config.h"' >sbcl.h
echo '#include "genesis/constants.h"' >>sbcl.h
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o alloc.o alloc.c
alloc.c: In function 'pa_alloc':
alloc.c:43: warning: unused variable 'th'
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o backtrace.o backtrace.c
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o breakpoint.o breakpoint.c
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o coreparse.o coreparse.c
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o dynbind.o dynbind.c
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o funcall.o funcall.c
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o gc-common.o gc-common.c
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o globals.o globals.c
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o interr.o interr.c
gcc -g -Wall -O2 -fdollars-in-identifiers -I. -no-cpp-precomp  -c -o interrupt.o interrupt.c
interrupt.c: In function 'maybe_now_maybe_later':
interrupt.c:698: error: 'struct __darwin_mcontext' has no member named 'ss'
interrupt.c: In function 'low_level_maybe_now_maybe_later':
interrupt.c:728: error: 'struct __darwin_mcontext' has no member named 'ss'
interrupt.c: In function 'interrupt_handle_now_handler':
interrupt.c:817: error: 'struct __darwin_mcontext' has no member named 'ss'
make: *** [interrupt.o] Error 1

Error: Status 1 encountered during processing.

Thanks in advance,

/nm

comment:9 Changed 17 years ago by waqar@…

SBCL 1.0.12 is not supported on PPC, only 1.0.2, and 1.0.2 is not really ported to leopard.

comment:10 Changed 17 years ago by waqar@…

Resolution: duplicate
Status: assignedclosed

comment:11 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:12 in reply to:  9 Changed 22 months ago by barracuda156

Replying to waqar@…:

SBCL 1.0.12 is not supported on PPC, only 1.0.2, and 1.0.2 is not really ported to leopard.

Everything up to 2.2.2 supports PPC, and 2.0.9 does build as a matter of fact.

Note: See TracTickets for help on using tickets.