Opened 12 years ago

Last modified 2 months ago

#35667 assigned defect

arm-elf-gcc fails to build when libunwind-headers is installed

Reported by: dirkx (Dirk-Willem van Gulik) Owned by:
Priority: Normal Milestone:
Component: ports Version: 2.1.2
Keywords: Cc: cooljeanius (Eric Gallager)
Port: arm-elf-gcc

Description (last modified by ryandesign (Ryan Carsten Schmidt))

When libunwind is installed prior to a arm-elf-gcc (arm-elf-gcc-4.6.1_0.darwin_12.x86_64) build the following clash is reported:

opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_tarballs_ports_cross_arm-elf-gcc/arm-elf-gcc/work/gcc-4.6.1/libgcc/../gcc/unwind-dw2-fde.c:33:0:
:info:build /opt/local/include/unwind.h:38:26: fatal error: Availability.h: No such file or directory

This pretty much akin to issue #33364.

de-activating & cleaning libunwind prior to build resolves this (2.1.2 on 10.8)

Change History (9)

comment:1 Changed 12 years ago by dirkx (Dirk-Willem van Gulik)

Cc: dirkx@… added

Cc Me!

comment:2 Changed 12 years ago by dirkx (Dirk-Willem van Gulik)

Cc: dirkx@… removed

Cc Me!

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

Description: modified (diff)
Milestone: MacPorts Future
Summary: arm-elf-gcc fails to build when libunwind is installedarm-elf-gcc fails to build when libunwind-headers is installed

comment:4 Changed 12 years ago by cooljeanius (Eric Gallager)

The CarbonHeaders port introduced in r104661 includes an Availability.h header; does using that with libunwind-headers work?

comment:5 Changed 10 years ago by mf2k (Frank Schima)

Owner: changed from macports-tickets@… to stuartwesterman@…

comment:6 Changed 8 years ago by mf2k (Frank Schima)

Owner: stuartwesterman deleted
Status: newassigned

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

Ditto for primary gcc builds as well. The gcc build system needs to be fixed to locate its headers.

comment:8 Changed 2 months ago by cooljeanius (Eric Gallager)

This is due to upstream GCC bug 78251: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78251

comment:9 Changed 2 months ago by cooljeanius (Eric Gallager)

Cc: cooljeanius added
Note: See TracTickets for help on using tickets.