Opened 19 months ago

Last modified 19 months ago

#67200 new defect

gcc6 fails to build on Leopard - illegal text relocation

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

Description

gcc6 fails to compile, I see these warnings and errors.

:info:build ld: warning: could not create compact unwind for __Unwind_RaiseException: non-standard register 0 being saved in prolog
:info:build ld: warning: could not create compact unwind for __Unwind_ForcedUnwind: non-standard register 0 being saved in prolog
:info:build ld: warning: could not create compact unwind for __Unwind_Resume: does not use EBP or ESP based frame
:info:build ld: warning: could not create compact unwind for __Unwind_Resume_or_Rethrow: non-standard register 0 being saved in prolog
:info:build ld: illegal text-relocation to ___cpu_indicator_init in cpuinfo_s.o from anon in cpuinfo_s.o for architecture i386
:info:build collect2: error: ld returned 1 exit status
:info:build make[3]: *** [libgcc_s.dylib] Error 1

Attachments (1)

main.log (2.1 MB) - added by rmottola (Riccardo) 19 months ago.

Change History (2)

Changed 19 months ago by rmottola (Riccardo)

Attachment: main.log added

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

as in the other similar ticket for gcc7, gcc won't build if any clang >= clang-5.0 is active.

Assembler issues relating to MacPorts modifications to cctools.

Note: See TracTickets for help on using tickets.