Opened 14 months ago

Closed 14 months ago

Last modified 14 months ago

#67119 closed defect (fixed)

openssl3 fails to build on 32-bit G4 in Tiger

Reported by: SamBushman Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version:
Keywords: tiger ppc Cc: neverpanic (Clemens Lang)
Port: openssl3

Description

As a step towards installing python310 on my iMac G4 700mhz I needed to build openssl3. That compilation seems to have failed. The logs print multiple occurrences of invalid mnemonics. I am unfortunately not familiar enough with how openssl3 is set up to diagnose further.

Attachments (1)

openssl3_fail.log.txt (437.8 KB) - added by SamBushman 14 months ago.
Log output from the failed build

Download all attachments as: .zip

Change History (7)

Changed 14 months ago by SamBushman

Attachment: openssl3_fail.log.txt added

Log output from the failed build

comment:1 Changed 14 months ago by jmroot (Joshua Root)

Cc: neverpanic added
Keywords: ppc added; openssl3 10.4 32bit removed
Owner: set to larryv
Priority: HighNormal
Status: newassigned

comment:2 Changed 14 months ago by ryandesign (Ryan Carsten Schmidt)

The Portfile already disables the use of assembly on 32-bit Intel Tiger:

append merger_configure_args(i386) { no-asm}

You could try editing the Portfile (sudo port edit openssl3) and duplicating that line, replacing i386 with ppc, to also disable assembly on 32-bit PowerPC Tiger.

See comment:ticket:38015:40 and #43303 for some prior history on the use of no-asm with openssl in MacPorts.

comment:3 Changed 14 months ago by kencu (Ken)

the failing asm file looks like it shouldn’t be included on older Power versions…already disabled for AIX.

https://github.com/openssl/openssl/blob/6821acbffda908ec69769ed7f110cfde57d8ca58/crypto/modes/build.info#L36

debian sid hasn’t yet updated to an openssl this new, so we can’t crib their fix for this (yet):

https://salsa.debian.org/debian/openssl/-/tree/debian/unstable/debian

comment:4 Changed 14 months ago by kencu (Ken)

there is a bit more to it than just not including the file, however… until debian fixes it, if they do, probably just disabling all asm for ppc going forward will indeed be the way to go…

comment:5 Changed 14 months ago by kencu (Ken)

Last edited 14 months ago by kencu (Ken) (previous) (diff)

comment:6 Changed 14 months ago by kencu (Ken)

Resolution: fixed
Status: assignedclosed
Last edited 14 months ago by kencu (Ken) (previous) (diff)
Note: See TracTickets for help on using tickets.