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
Hi,
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].
[1] http://gcc.gnu.org/ml/gcc-help/2007-04/msg00200.html
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.
/haubi/
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:
> http://www.mail-archive.com/openssl-dev@.../msg22324.html
>
> 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
|
|