Opened 16 years ago

Closed 17 months ago

#18905 closed defect (fixed)

SBCL: Compile errors with variant threads on Leopard 10.5.6 (PPC)

Reported by: nitralime@… Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: SBCL, Common Lisp Cc: waqar@…, gwright@…, nerdling (Jeremy Lavergne), sasoph@…
Port: sbcl

Description (last modified by mf2k (Frank Schima))

While compiling SBCL with variant threads I got the following error:

....
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)
dynbind.c:55: warning: implicit declaration of function 'lose'
make: *** [dynbind.o] Error 1
...

Without variant threads it works fine!

Change History (13)

comment:1 Changed 16 years ago by mf2k (Frank Schima)

Cc: waqar@… added
Description: modified (diff)
Owner: changed from macports-tickets@… to gwright@…

comment:2 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:3 Changed 15 years ago by gwright@…

Status: newassigned

I'm going to modify the portfile just to make threads an invalid variant on ppc. If this is fixed upstream I will add it back. Unfortunately, as we get closer to the 10.6 release, ppc is becoming more of an orphaned platform.

comment:4 in reply to:  3 Changed 15 years ago by nerdling (Jeremy Lavergne)

Cc: snc@… added
Version: 1.7.0

Replying to gwright@…:

I'm going to modify the portfile just to make threads an invalid variant on ppc.

Any updates on this?

comment:5 Changed 14 years ago by jmroot (Joshua Root)

Cc: easieste@… added
Version: 1.7.0

comment:6 Changed 14 years ago by easye

Owner: changed from gwright@… to easieste@…
Status: assignednew

gwright has been missing in action for a while.

I can make an effort to invalidate the +threads variant on PPC if desired.

I don't have PPC hardware to test on, so it might be possible that upstream sbcl-1.0.43 now works on PPC. It would be nice if those with PPC hardware could verify that the threaded version of SBCL still fails to compile on Leopard/PPC.

comment:7 Changed 14 years ago by easye

r78540 changes the bootstrap binary to 1.0.47.

Will someone with PPC please test?

comment:8 Changed 12 years ago by jmroot (Joshua Root)

Cc: gwright@… added; easieste@… removed

comment:9 Changed 12 years ago by sasoph@…

tcl @8.5.11_0+threads on PPC works

comment:10 Changed 12 years ago by sasoph@…

Cc: sasoph@… added

Cc Me!

comment:11 in reply to:  9 Changed 12 years ago by easye

Replying to sasoph@…:

tcl @8.5.11_0+threads on PPC works

Do you mean that sbcl +threads works? Otherwise, I don't see what having TCL working here has to do with this issue. Please enlighten me if I don't understand correctly.

comment:12 Changed 12 years ago by sasoph@…

Sorry. Feel free to remove posts & Cc.

comment:13 Changed 17 months ago by catap (Kirill A. Korinsky)

Resolution: fixed
Status: newclosed

In 3f5b41fdb7470cff2d4bc6ce740ffe8946be139c/macports-ports (master):

sbcl: fix buils on 11/arm, enable threads on PPC

Also, fixed a bug when SBCL can't use anything from MacPorts with fancy variant.

Closes: #18905
Closes: #67437

Note: See TracTickets for help on using tickets.