Opened 14 months ago

Last modified 2 months ago

#52539 new defect

sbcl @1.3.10_0 fails building on 10.6.8

Reported by: udbraumann Owned by: easye
Priority: Normal Milestone:
Component: ports Version: 2.3.4
Keywords: snowleopard Cc:
Port: sbcl

Description

While upgrading sbcl from 1.3.9_0 to 1.3.10_0 I run into this trouble:

...
:info:build /usr/bin/llvm-gcc-4.2 -g -Wall -O2 -fdollars-in-identifiers -mmacosx -version-min=10.5 -D_DARWIN_USE_64_BIT_INODE -arch x86_64 -fno-omit-frame-pointer -pagezero_size 0x100000 -Wl,-no_pie -I. -DSBCL_PREFIX=\"'/opt/local'\"  -c -o x86-64-bsd-os.o x86-64-bsd-os.c
:info:build i686-apple-darwin10-llvm-gcc-4.2: -no_pie: linker input file unused because linking not done
:info:build /usr/bin/llvm-gcc-4.2 -g -Wall -O2 -fdollars-in-identifiers -mmacosx-version-min=10.5 -D_DARWIN_USE_64_BIT_INODE -arch x86_64 -fno-omit-frame-pointer -pagezero_size 0x100000 -Wl,-no_pie -I. -DSBCL_PREFIX=\"'/opt/local'\"  -c -o darwin-os.o darwin-os.c
:info:build darwin-os.c: In function 'mach_exception_handler':
:info:build darwin-os.c:65: warning: cast from pointer to integer of different size
:info:build darwin-os.c: In function 'mach_lisp_thread_init':
:info:build darwin-os.c:121: error: 'mach_port_context_t' undeclared (first use in this function)
:info:build darwin-os.c:121: error: (Each undeclared identifier is reported only once
:info:build darwin-os.c:121: error: for each function it appears in.)
:info:build darwin-os.c:121: error: expected ')' before 'thread'
:info:build make: *** [darwin-os.o] Error 1
...

Some ideas?

Attachments (1)

main.log.gz (8.8 KB) - added by udbraumann 14 months ago.

Download all attachments as: .zip

Change History (5)

Changed 14 months ago by udbraumann

comment:1 Changed 14 months ago by mf2k (Frank Schima)

  • Cc easieste@… removed
  • Keywords snowleopard added; snow leopard removed
  • Owner changed from macports-tickets@… to easieste@…

comment:2 Changed 14 months ago by easye

One can probably restore building on platforms other than macos-10.12 via making it a platform conditional to use the compiler patch I removed as part of the sbcl-1.3.10 upgrade r153501.

I don't have access to any other macOS platform than Sierra, so I can't help test here.

Last edited 9 months ago by ryandesign (Ryan Schmidt) (previous) (diff)

comment:3 Changed 14 months ago by ken-cunningham-webuse

unfortunately not so simple. Looking into it. --K

comment:4 Changed 2 months ago by kencu (Ken)

This currently is at 1.3.21, and on the buildbots, built on darwin10_i386, and darwin 13+ as x86_64. So the hole is darwin 10 - 12 x86_64. This is probably to be fixed with the cxx11 1.1 PortGroup with that distribution of failures.

Builds fine on 10.6 x86_64 with clang-3.9 and libc++, on my system.

Note: See TracTickets for help on using tickets.