Opened 3 years ago

Closed 3 years ago

Last modified 2 years ago

#54510 closed defect (duplicate)

clang-3.7 fails to build; unexpected token: !tapi-tbd-v2

Reported by: josephwinston (Joseph Winston) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc: jeremyhu (Jeremy Huddleston Sequoia)
Port: clang-3.7

Description (last modified by ryandesign (Ryan Schmidt))

On OS X 10.12.6 (16G29), I have an outdated xorg-server (1.18.4_1 < 1.18.4_2). During the build of clang-3.7, now a required dependency of the xorg-server, I receive the following error message during linking:

:info:build ld: unexpected token: !tapi-tbd-v2 file '/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libc++abi.tbd' for architecture x86_64
:info:build clang: error: linker command failed with exit code 1 (use -v to see invocation)

Change History (4)

comment:1 Changed 3 years ago by kencu (Ken)

See 54506 and 53784.

Can be closed as a duplicate.

Last edited 3 years ago by kencu (Ken) (previous) (diff)

comment:2 Changed 3 years ago by ryandesign (Ryan Schmidt)

Cc: jeremyhu added
Description: modified (diff)
Port: clang-3.7 added; xorg-server removed
Resolution: duplicate
Status: newclosed
Summary: clang fails to build; unexpected token: !tapi-tbd-v2clang-34.7 fails to build; unexpected token: !tapi-tbd-v2

comment:3 Changed 3 years ago by ryandesign (Ryan Schmidt)

Summary: clang-34.7 fails to build; unexpected token: !tapi-tbd-v2clang-3.7 fails to build; unexpected token: !tapi-tbd-v2

comment:4 Changed 2 years ago by ken-cunningham-webuse

In 5698d9483b44984a826d0f41154a4381b7957223/macports-ports (master):

ld64: default to +ld64_xcode on Xcode9+

ld64 does not understand tapi in the open-source
versions at present.

closes: #56843
closes: #53784
closes: #56398
closes: #56277
see: #56647
see: #54510
see: #54506
see: #53151

Note: See TracTickets for help on using tickets.