Opened 9 years ago

Closed 9 years ago

#47328 closed defect (fixed)

openssl @1.0.2a_0: fails to build for x86_64 on i386

Reported by: devernay (Frédéric Devernay) Owned by: larryv (Lawrence Velázquez)
Priority: Normal Milestone:
Component: ports Version: 2.3.3
Keywords: Cc: neverpanic (Clemens Lang)
Port: openssl

Description (last modified by larryv (Lawrence Velázquez))

/usr/bin/gcc-4.2 -I.. -I../.. -I../modes -I../asn1 -I../evp -I../../include  -fPIC -fno-common -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -arch x86_64 -O3 -DL_ENDIAN -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DOPENSSL_BN_ASM_MONT5 -DOPENSSL_BN_ASM_GF2m -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DVPAES_ASM -DBSAES_ASM -DWHIRLPOOL_ASM -DGHASH_ASM -DECP_NISTZ256_ASM -c  -o ghash-x86_64.o ghash-x86_64.s
ghash-x86_64.s:890:junk `.15473355479995e+19' after expression
make[2]: *** [ghash-x86_64.o] Error 1

This is a known openssl build bug.
Patch is available here:
http://rt.openssl.org/Ticket/Display.html?user=guest&pass=guest&id=3759
and here:
https://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/dev-libs/openssl/files/openssl-1.0.2a-x32-asm.patch

Attachments (1)

openssl-i386.patch (2.4 KB) - added by larryv (Lawrence Velázquez) 9 years ago.

Download all attachments as: .zip

Change History (7)

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

Cc: larryv@… removed
Owner: changed from macports-tickets@… to larryv@…

In the future, please use WikiFormatting.

comment:2 Changed 9 years ago by mf2k (Frank Schima)

Description: modified (diff)

comment:3 Changed 9 years ago by larryv (Lawrence Velázquez)

Description: modified (diff)
Status: newassigned
Summary: openssl fails to build for x86_64 on i386openssl @1.0.2a_0: fails to build for x86_64 on i386

Changed 9 years ago by larryv (Lawrence Velázquez)

Attachment: openssl-i386.patch added

comment:4 Changed 9 years ago by larryv (Lawrence Velázquez)

I can reproduce this on Leopard, but my build fails with another error after patching.

What system are you using? Can you try my patch?

comment:5 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

I pushed this in r135176, but yes we'll need a followup for another asm issue I noticed.

comment:6 Changed 9 years ago by jeremyhu (Jeremy Huddleston Sequoia)

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.