Gentoo Logo
Gentoo Spaceship

Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-alt
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
To: gentoo-alt@g.o
From: Michael Haubenwallner <michael.haubenwallner@...>
Subject: Re: [prefix][linux] openssl-0.9.8e does not work
Date: Thu, 26 Apr 2007 09:47:28 +0200

after some investigation, this has nothing to do with '-g', but with
'-O', or more precise, with missing '-O'.

One thing is that the ebuild removes the openssl-default CFLAG '-O3'
with some sed-magic.

Now when the user did not tweak CFLAGS/CXXFLAGS yet, thus having them
empty, we end up building shared-lib (uses -fPIC) without any
optimization flag.
Unfortunately, this is the only situation where it doesn't work [1].

Attached patch adds '-O1' if we have '-O0' or no '-O' at all.
Should we keep '-O3' in this case ?
But when user wants '-g', '-O3' might be ways less useful than '-O1'.

With this patch, openssl-0.9.8e can be unmasked for x86-linux.


On Thu, 2007-04-12 at 15:58 +0200, Michael Haubenwallner wrote:
> Hi,
> I've hit this compile error on x86-linux with dev-libs/openssl-0.9.8e:
> dev-libs/openssl-0.9.8d works.
> /haubi/

Salomon Automation GmbH - Friesachstrasse 15 - A-8114 Friesach bei Graz
Sitz der Gesellschaft: Friesach bei Graz
UID-NR:ATU28654300 - Firmenbuchnummer: 49324 K
Firmenbuchgericht: Landesgericht fur Zivilrechtssachen Graz

openssl-x86-linux.patch (Text Data)
Re: Re: [prefix][linux] openssl-0.9.8e does not work
-- Fabian Groffen
[prefix][linux] openssl-0.9.8e does not work
-- Michael Haubenwallner
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
[prefix][linux] openssl-0.9.8e does not work
Next by thread:
Re: Re: [prefix][linux] openssl-0.9.8e does not work
Previous by date:
adding prefix path to user profile
Next by date:
Re: Re: AIX: libiconv issues still ?

Updated Jun 17, 2009

Summary: Archive of the gentoo-alt mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.