Opened 3 years ago

Closed 3 years ago

#64617 closed defect (fixed)

libsdl2 fails to build on 10.6.8 Rosetta with an odd error: C compiler cannot create executables

Reported by: barracuda156 Owned by: jmroot (Joshua Root)
Priority: Normal Milestone:
Component: ports Version: 2.7.1
Keywords: powerpc, snowleopard, rosetta Cc:
Port: libsdl2

Description

The same error shows up for Apple gcc-4.2 and Macports gcc7. Of course, both compilers are perfectly okay in fact and can create executables.

Attachments (2)

main.log (67.0 KB) - added by barracuda156 3 years ago.
config.log (11.4 KB) - added by barracuda156 3 years ago.

Download all attachments as: .zip

Change History (5)

Changed 3 years ago by barracuda156

Attachment: main.log added

Changed 3 years ago by barracuda156

Attachment: config.log added

comment:1 Changed 3 years ago by kencu (Ken)

libsdl2 requires and uses the 10.7 sdk to build.

There is no ppc support in the 10.7 sdk.

Version 0, edited 3 years ago by kencu (Ken) (next)

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

Owner: set to jmroot
Status: newassigned

So the port should indicate supported_archs arm64 i386 x86_64?

comment:3 Changed 3 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 7669527b85aed7d4cff4b4ada96143868c14df92/macports-ports (master):

libsdl2: use configure.sdk_version

Closes: #64617

Note: See TracTickets for help on using tickets.