Opened 7 years ago

Closed 7 years ago

Last modified 6 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 Carsten 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 7 years ago by kencu (Ken)

See 54506

Version 0, edited 7 years ago by kencu (Ken) (next)

comment:2 Changed 7 years ago by ryandesign (Ryan Carsten 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 7 years ago by ryandesign (Ryan Carsten 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 6 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.