Opened 13 days ago

Last modified 8 days ago

#59556 new defect

Undefined symbols for Boost 1.71.0_1 on 10.6.8

Reported by: SlaunchaMan (Jeff Kelley) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.6.2
Keywords: snowleopard Cc: ryandesign (Ryan Schmidt), michaelld (Michael Dickens)
Port: boost

Description

I tried installing Boost 1.71.0_1 on Mac OS X 10.6.8 and, with or without the +clang90 variant, I get this error building:

:info:build Undefined symbols for architecture x86_64:
:info:build   "___cxa_thread_atexit", referenced from:
:info:build       boost::context::detail::ecv1_activation_record::current() in execution_context.o
:info:build       boost::context::detail::ecv1_activation_record_initializer::ecv1_activation_record_initializer() in execution_context.o
:info:build       boost::context::detail::ecv1_activation_record_initializer::ecv1_activation_record_initializer() in execution_context.o
:info:build       boost::context::detail::ecv1_activation_record_initializer::~ecv1_activation_record_initializer() in execution_context.o
:info:build       boost::context::detail::ecv1_activation_record_initializer::~ecv1_activation_record_initializer() in execution_context.o
:info:build       boost::context::v1::execution_context::current() in execution_context.o
:info:build ld: symbol(s) not found for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

Full log attached.

Attachments (1)

main.log (503.3 KB) - added by SlaunchaMan (Jeff Kelley) 13 days ago.
Build log

Download all attachments as: .zip

Change History (5)

Changed 13 days ago by SlaunchaMan (Jeff Kelley)

Attachment: main.log added

Build log

comment:1 Changed 13 days ago by kencu (Ken)

Hi Jeff,

Yes, that is 58898, which I have not yet found a way to automate. Please make sure you have at least clang-5.0 installed, and then do this:

sudo port -v -n upgrade --force --enforce-variants libcxx +emulated_tls +universal

comment:2 Changed 12 days ago by jmroot (Joshua Root)

Port: boost added

comment:3 Changed 12 days ago by mf2k (Frank Schima)

Keywords: snowleopard added

comment:4 Changed 8 days ago by SlaunchaMan (Jeff Kelley)

Looks like that worked, thanks!

Note: See TracTickets for help on using tickets.