Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 390665

Summary: dev-libs/openssl-1.0.0 fails to compile on sparc-fbsd
Product: Gentoo/Alt Reporter: Tibor Vago <tibor.vago>
Component: FreeBSDAssignee: Gentoo/BSD Team <bsd+disabled>
Severity: normal CC: tibor.vago
Priority: Normal    
Version: unspecified   
Hardware: Sparc64   
OS: FreeBSD   
Package list:
Runtime testing required: ---
Attachments: openssl-1.0.0e-bsd-sparc64.patch
openssl-1.0.0e.ebuild patch

Description Tibor Vago 2011-11-15 21:32:42 UTC
Missing patch: openssl-0.9.8e-bsd-sparc64.patch

Please apply on 1.0.0 versions. It can/could depend on "sparc-fbsd":
use sparc-fbsd && epatch "${FILESDIR}"/${PN}-0.9.8e-bsd-sparc64.patch
Comment 1 Tibor Vago 2011-11-15 22:23:34 UTC
I'm working on a proper patch and ebuild and will upload here.
Comment 2 Tibor Vago 2011-11-15 23:06:47 UTC
On sparc64-gentoo-freebsd8.2 ASM options in openssl generate "__sparc_utrap: fatal illegal instruction" message and cause completely unusable system so I modified the ebuild to disable asm option on sparc-fbsd while the problem will fixed.
Comment 3 Tibor Vago 2011-11-15 23:09:55 UTC
Created attachment 292707 [details, diff]

openssl-0.9.8e-bsd-sparc64.patch based and updated
Comment 4 Tibor Vago 2011-11-15 23:11:37 UTC
Created attachment 292709 [details]

Modified ebuild to use the patch and disable asm on sparc-fbsd to prevent "illegal instruction" error.
Comment 5 Tibor Vago 2011-11-15 23:12:27 UTC
Please test if possible and commit to the portage tree.
Comment 6 Tibor Vago 2011-11-30 23:04:36 UTC
Created attachment 294395 [details, diff]
openssl-1.0.0e.ebuild patch

patch for openssl-1.0.0e.ebuild for build on sparc-fbsd
Comment 7 Tibor Vago 2012-01-06 16:44:25 UTC
The problem is still in openssl-1.0.0f
Comment 8 Naohiro Aota gentoo-dev 2012-03-19 06:50:59 UTC
(In reply to comment #7)
> The problem is still in openssl-1.0.0f

I can't confirm the problem since I don't have sparc. Please send the source code patch and get response from them.

Comment 9 SpanKY gentoo-dev 2013-10-15 18:32:15 UTC
Comment on attachment 292707 [details, diff]

the removal of -B makes sense (it's a compat no-op).  but why the ultrasparc change in the Configure file ?
Comment 10 Alexis Ballier gentoo-dev 2013-10-16 06:39:35 UTC
(In reply to SpanKY from comment #9)

IMHO dont waste your time on this bug; sparc-fbsd will need to more or less start from scratch since afaik nobody has been working for this arch since years

closing as obsolete