Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 363089 - [patch] dev-libs/openssl-1.0.0d fails to compile on Gentoo/FBSD (AMD64)
Summary: [patch] dev-libs/openssl-1.0.0d fails to compile on Gentoo/FBSD (AMD64)
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: AMD64 FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 363717
  Show dependency tree
 
Reported: 2011-04-11 12:08 UTC by Yuta SATOH
Modified: 2011-07-07 23:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for openssl-1.0.0d.ebuild (openssl-1.0.0d.ebuild.patch,438 bytes, patch)
2011-04-11 12:15 UTC, Yuta SATOH
Details | Diff
files/openssl-1.0.0d-fbsd-amd64.patch (openssl-1.0.0c-fbsd-amd64.patch,417 bytes, text/plain)
2011-04-11 12:16 UTC, Yuta SATOH
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2011-04-11 12:08:32 UTC
The following message is displayed and fails to compile on Gentoo/FBSD (AMD64).

x86_64-gentoo-freebsd8.0-gcc -I.. -I../.. -I../asn1 -I../evp -I../../include  -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -DMD32_REG_T=int -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM -O2 -pipe -fno-strict-aliasing -Wa,--noexecstack -c  -o sha1-x86_64.o sha1-x86_64.s
/usr/bin/perl asm/sha512-x86_64.pl elf sha256-x86_64.s
.text

.globl  sha256_block_data_order
.type   sha256_block_data_order,@function
.align  16
sha256_block_data_order:

<snip>

.long   0x391c0cb3,0x4ed8aa4a,0x5b9cca4f,0x682e6ff3
.long   0x748f82ee,0x78a5636f,0x84c87814,0x8cc70208
.long   0x90befffa,0xa4506ceb,0xbef9a3f7,0xc67178f2
x86_64-gentoo-freebsd8.0-gcc -I.. -I../.. -I../asn1 -I../evp -I../../include  -fPIC -DOPENSSL_PIC -DZLIB -DOPENSSL_THREADS -pthread -D_THREAD_SAFE -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN -DTERMIOS -DMD32_REG_T=int -Wall -DOPENSSL_IA32_SSE2 -DOPENSSL_BN_ASM_MONT -DSHA1_ASM -DSHA256_ASM -DSHA512_ASM -DMD5_ASM -DAES_ASM -DWHIRLPOOL_ASM -O2 -pipe -fno-strict-aliasing -Wa,--noexecstack -c  -o sha256-x86_64.o sha256-x86_64.s
x86_64-gentoo-freebsd8.0-gcc: sha256-x86_64.s: No such file or directory
x86_64-gentoo-freebsd8.0-gcc: no input files
gmake[2]: *** [sha256-x86_64.o] Error 1


Reproducible: Always

Steps to Reproduce:
1. emerge openssl
Comment 1 Yuta SATOH 2011-04-11 12:15:14 UTC
Created attachment 269477 [details, diff]
patch for openssl-1.0.0d.ebuild
Comment 2 Yuta SATOH 2011-04-11 12:16:59 UTC
Created attachment 269479 [details]
files/openssl-1.0.0d-fbsd-amd64.patch

Taken from http://rt.openssl.org/Ticket/Display.html?id=2440
Comment 3 Alexis Ballier gentoo-dev 2011-07-06 19:15:03 UTC
hmm this i dont know; I cant access to the link you posted since I'm "not logged in"

in any case, your patch for openssl ebuild shouldnt make applying the patch conditional, and maybe openssl maintainers want to consider including it.
Comment 4 SpanKY gentoo-dev 2011-07-06 21:09:09 UTC
user/pass is guest/guest for that site

patch looks fine, and it's in the upstream tracker, so feel free to add to the 1.0.0d ebuild if you guys are fine with it ...
Comment 5 Alexis Ballier gentoo-dev 2011-07-07 23:50:22 UTC
(In reply to comment #4)
> user/pass is guest/guest for that site
> 
> patch looks fine, and it's in the upstream tracker, so feel free to add to the
> 1.0.0d ebuild if you guys are fine with it ...

good, added then, thanks