[MacPorts] #62329: clang-11: targeted OS version does not support -reexported_symbols_list on 10.6

MacPorts noreply at macports.org
Sat Feb 20 17:04:32 UTC 2021


#62329: clang-11: targeted OS version does not support -reexported_symbols_list on
10.6
-----------------------+--------------------
  Reporter:  mojca     |      Owner:  (none)
      Type:  defect    |     Status:  new
  Priority:  Normal    |  Milestone:
 Component:  ports     |    Version:
Resolution:            |   Keywords:
      Port:  clang-11  |
-----------------------+--------------------

Comment (by kencu):

 Hi Mojca!

 clang/flang/llvm-11 all build on 10.6.8 (not lldb-11), but I admit I
 haven't tried doing it from a "buildbot cold" start recently.

 My day-to-day SnowLeopard system is enhanced in two manual ways.

 I documented the process here
 <https://trac.macports.org/wiki/LibcxxOnOlderSystems#SnowLeopard> and I
 recommend to SnowLeopard users.

 I use ld64-latest on it:

 {{{
 $ port -v installed | grep ld64
   ld64 @3_3+universal-ld64_127-ld64_236-ld64_97 (active) platform='darwin
 10' archs='i386 x86_64' date='2020-05-01T12:11:16-0700'
   ld64-127 @127.2_14+llvm34+universal (active) platform='darwin 10'
 archs='i386 x86_64' date='2020-01-27T18:52:07-0800'
   ld64-latest @450.3_0+llvm90+universal-llvm34 (active) platform='darwin
 10' archs='i386 x86_64' date='2020-01-28T20:08:53-0800'

 $ which ld
 /opt/local/bin/ld

 $ ld -v
 @(#)PROGRAM:ld  PROJECT:ld64-450.3
 BUILD 20:06:30 Jan 28 2020
 configured to support archs: i386 x86_64 x86_64h armv6 armv7 armv7s armv7m
 armv7k arm64
 LTO support using: LLVM version 9.0.1 (static support for 24, runtime is
 24)
 TAPI support using: Apple TAPI version 2.0.0
 }}}

 I use the upgraded libcxx with the thread_local_storage functionality
 added:
 {{{
 $ port -v installed libcxx
 The following ports are currently installed:
   libcxx @5.0.1_4+emulated_tls+universal (active) platform='darwin 10'
 archs='i386 x86_64' date='2020-06-02T09:56:15-0700'
 }}}


 The steps to do this manually I'm sure you are very familiar with, but
 they are documented in the link above.

-- 
Ticket URL: <https://trac.macports.org/ticket/62329#comment:1>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list