Opened 11 years ago

Closed 10 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@… 10 years ago.
Logfile for openssl build, 1.0.2, PPC 10.4

Download all attachments as: .zip

Change History (9)

comment:1 Changed 11 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 10 years ago by jerryyhom

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

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

Resolution: duplicate
Status: newclosed

Yes, thanks for noticing.

comment:4 in reply to:  3 Changed 10 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 10 years ago by t.tensi@…

Resolution: duplicate
Status: closedreopened

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 10 years ago by neverpanic (Clemens Lang)

Cc: cal@… added
Owner: changed from mww@… to larryv@…
Status: reopenednew

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 10 years ago by t.tensi@…

Attachment: main.log.gz added

Logfile for openssl build, 1.0.2, PPC 10.4

comment:7 Changed 10 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 10 years ago by neverpanic (Clemens Lang)

Resolution: fixed
Status: newclosed

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.