Opened 3 years ago

Closed 3 years ago

#43303 closed defect (fixed)

openssl needs no-asm flag when building on PPC

Reported by: t.tensi@… Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.2.1
Keywords: powerpc Cc: neverpanic (Clemens Lang)
Port: openssl

Description

Dear all,

when rebuilding openssl under PPC, the assembler routines do not build. My recommendation is to add a "no-asm" configuration option in that case e.g. via

platform powerpc {
   configure.args-append no-asm
}

Best regards,

Thomas

Attachments (1)

main.log.gz (4.8 KB) - added by t.tensi@… 3 years ago.
Logfile for openssl build, 1.0.2, PPC 10.4

Download all attachments as: .zip

Change History (9)

comment:1 Changed 3 years ago by mf2k (Frank Schima)

  • Keywords powerpc added
  • Owner changed from macports-tickets@… to mww@…

In the future, please Cc the port maintainers (port info --maintainers openssl).

comment:2 Changed 3 years ago by jerryyhom

Wasn’t this resolved in #38015? ticket:38015#comment:40 has details.

comment:3 follow-up: Changed 3 years ago by neverpanic (Clemens Lang)

  • Resolution set to duplicate
  • Status changed from new to closed

Yes, thanks for noticing.

comment:4 in reply to: ↑ 3 Changed 3 years ago by t.tensi@…

Dear all,

I have upgraded the port and it still fails on PPC, 10.4. The fix mentioned works; did I miss something in #38015?

Best regards

Thomas

comment:5 Changed 3 years ago by t.tensi@…

  • Resolution duplicate deleted
  • Status changed from closed to reopened

Dear all,

current version 1.0.2_0 also fails on PPC, 10.4. The mentioned fix works, of course.

Is the syntax used in the current portfile

platform darwin 8 i386

correct?

Best regards

Thomas

comment:6 Changed 3 years ago by neverpanic (Clemens Lang)

  • Cc cal@… added
  • Owner changed from mww@… to larryv@…
  • Status changed from reopened to new

Please attach a complete main.log so we can take a look. I doubt that Ryan's analysis in #38015 was incorrect, but we may have changed the default compiler on 10.4/PPC to gcc-4.2, and I'm not sure that really worked. The platform syntax is correct, see src/port1.0/portutil.tcl line 771.

Changed 3 years ago by t.tensi@…

Logfile for openssl build, 1.0.2, PPC 10.4

comment:7 Changed 3 years ago by t.tensi@…

Hello Clemens,

attached you'll find the log file. Because I am doing a universal build, I use the gcc-4.0 compiler. This could explain the behaviour.

Thanks for your effort!

Best regards,

Thomas

comment:8 Changed 3 years ago by neverpanic (Clemens Lang)

  • Resolution set to fixed
  • Status changed from new to closed

Problem occurs because you build +universal on 10.4, but the no-asm fix is applied conditionally to your machine architecture, which is not necessarily your build architecture. Now I'm not sure why you build +universal in this case, because IMO it's a complete waste of time, but r132708 should fix it nonetheless.

Note: See TracTickets for help on using tickets.