Opened 8 years ago
Last modified 7 years ago
#56739 assigned defect
gildas fails to install due to unexpected token
| Reported by: | kateyalatalo (Dr. Katherine Alatalo) | Owned by: | bardeau |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 2.5.2 |
| Keywords: | Cc: | jeremyhu (Jeremy Huddleston Sequoia) | |
| Port: | gildas |
Description
System: Mac Pro (late 2013) macOS High Sierra 10.13.5
Xcode Version 9.4.1 (9F2000)
XQuartz 2.7.11
using: cfitsio +gcc7
log is attached.
Attachments (1)
Change History (6)
Changed 8 years ago by kateyalatalo (Dr. Katherine Alatalo)
| Attachment: | gildas_error.log added |
|---|
comment:1 Changed 8 years ago by ryandesign (Ryan Carsten Schmidt)
| Cc: | jeremyhu added |
|---|
comment:2 Changed 8 years ago by jmroot (Joshua Root)
| Cc: | bardeau added |
|---|---|
| Owner: | set to smaret |
| Status: | new → assigned |
comment:3 Changed 7 years ago by mf2k (Frank Schima)
| Cc: | bardeau removed |
|---|---|
| Owner: | changed from smaret to bardeau@… |
comment:4 Changed 7 years ago by ryandesign (Ryan Carsten Schmidt)
| Owner: | changed from bardeau@… to bardeau |
|---|
comment:5 Changed 7 years ago by bardeau
Hi,
sorry for the late answer, I wasn't aware of this ticket.
This error
:info:build ld: unexpected token: !tapi-tbd-v3 file '/System/Library/Frameworks//CoreFoundation.framework/CoreFoundation.tbd' for architecture x86_64
should be solved by switching to the right version of the linker:
sudo port install ld64 +ld64_xcode
Then restart Gildas compilation from scratch:
sudo port clean gildas sudo port install gildas
Note: See
TracTickets for help on using
tickets.

This error sounds very much like you are using a linker that is too old for your operating system. What variant of the ld64 port is installed? On High Sierra and later, until the ld64-latest subport is updated to a newer version, you need to use the ld64_xcode variant.