Opened 13 months ago

Last modified 13 months ago

#67201 new defect

gcc7 fails to build on Leopard - illegal text relocation

Reported by: rmottola (Riccardo) Owned by:
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: gcc7

Description

this seems to be the same issue I found on gcc6

ld: warning: could not create compact unwind for __Unwind_RaiseException: does not use EBP or ESP based frame
ld: warning: could not create compact unwind for __Unwind_ForcedUnwind: does not use EBP or ESP based frame
ld: warning: could not create compact unwind for __Unwind_Resume: does not use EBP or ESP based frame
ld: warning: could not create compact unwind for __Unwind_Resume_or_Rethrow: does not use EBP or ESP based frame
ld: illegal text-relocation to ___cpu_indicator_init in cpuinfo_s.o from anon in cpuinfo_s.o for architecture i386
collect2: error: ld returned 1 exit status

this is on a native 32bit i386 system

Change History (1)

comment:1 Changed 13 months ago by kencu (Ken)

It won't build if any clang >= clang 5.0 is active.

(Assember issues relating to macports modifications to cctools.)

Note: See TracTickets for help on using tickets.