Opened 9 years ago

Closed 9 years ago

#46527 closed defect (fixed)

ld64 @97.17_4: error: Availability.h: No such file or directory

Reported by: ryandesign (Ryan Carsten Schmidt) Owned by: jeremyhu (Jeremy Huddleston Sequoia)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc:
Port: libunwind-headers

Description

I'm unable to build ld64 @97.17_4 on my PowerPC Tiger machine:

/Volumes/Data/macports/tiger/Developer/SDKs/Darwin8.sdk/usr/include/libunwind.h:29:28: error: Availability.h: No such file or directory

Attachments (1)

main.log (88.8 KB) - added by ryandesign (Ryan Carsten Schmidt) 9 years ago.

Download all attachments as: .zip

Change History (6)

Changed 9 years ago by ryandesign (Ryan Carsten Schmidt)

Attachment: main.log added

comment:1 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Port: libunwind-headers added; ld64 removed

libunwind-headers need to be updated for better Tiger support.

Related to http://www.llvm.org/bugs/show_bug.cgi?id=17513

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

That bug was opened October 2013, though I see there was some activity from you today. Do we think this is an easy problem to fix soon? As it stands, no ports can be built on Tiger, since all ports on Tiger depend on apple-gcc42 which depends on the now unbuildable ld64.

comment:3 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Yeah, that's just a reminder for me to send my changes upstream at that location when I make them, so others outside of MacPorts can benefit.

Yes. It should be fairly easy.

We just want to change from using Availability.h to AvailabilityMacros.h on Tiger.

comment:4 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

This should unblock you:

  1. Update to r131424
  2. Update config.h installed by libunwind-headers to change the '#if APPLE' to '#if APPLE && !defined(USE_MACPORTS_LIBUNWIND)' in config.h

I'm working on a better solution for this.

comment:5 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.