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
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-alt@g.o
From: Michael Haubenwallner <michael.haubenwallner@...>
Subject: Re: Re: [prefix] a few missing things for smooth x86-linux bootstrap
Date: Thu, 19 Apr 2007 17:52:53 +0200
On Thu, 2007-04-19 at 14:54 +1000, Matt Michalowski wrote:
> Fabian Groffen wrote:
> > On 19-04-2007 00:27:36 +1000, Matt Michalowski wrote:
> >   
<snip>
> # dhcp213:.../work/openssl-0.9.8e/crypto/engine# i686-pc-linux-gnu-gcc 
> -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB 
> -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN 
> -DTERMIO -Wall -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM 
> -DRMD160_ASM -DAES_ASM  -Wa,--noexecstack   -c -o eng_padlock.o 
> eng_padlock.c  -march=i686 -O0
> eng_padlock.c: In function 'padlock_xcrypt_ecb':
> eng_padlock.c:445: error: can't find a register in class 'GENERAL_REGS' 
> while reloading 'asm'
> 
> where as: (-O1 -g)
> # dhcp213:.../work/openssl-0.9.8e/crypto/engine# i686-pc-linux-gnu-gcc 
> -I.. -I../.. -I../../include -fPIC -DOPENSSL_PIC -DZLIB_SHARED -DZLIB 
> -DOPENSSL_THREADS -D_REENTRANT -DDSO_DLFCN -DHAVE_DLFCN_H -DL_ENDIAN 
> -DTERMIO -Wall -DOPENSSL_BN_ASM_PART_WORDS -DSHA1_ASM -DMD5_ASM 
> -DRMD160_ASM -DAES_ASM   -Wa,--noexecstack   -c -o eng_padlock.o 
> eng_padlock.c -O1 -g
> 
> compiles fine.
> 
> Now for my $0.02. eng_padlock is for VIA Padlock hardware support (hence 
> its ASM implementation), which I don't imagine is many x86 users let 
> alone prefix portage x86 users (I could be wrong :) ). It's pretty easy 
> to disable the VIA support, and OpenSSL will still function without it. 
> I've attached a patch. Maybe haubi will have some better ideas.

Thanks for the -O1 hint: My better(?) idea was to drop a testcase on
gcc-help...

/haubi/

-- 
gentoo-alt@g.o mailing list


References:
[prefix] a few missing things for smooth x86-linux bootstrap
-- Michael Haubenwallner
Re: [prefix] a few missing things for smooth x86-linux bootstrap
-- Michael Haubenwallner
Re: Re: [prefix] a few missing things for smooth x86-linux bootstrap
-- Matt Michalowski
Re: Re: [prefix] a few missing things for smooth x86-linux bootstrap
-- Fabian Groffen
Re: Re: [prefix] a few missing things for smooth x86-linux bootstrap
-- Matt Michalowski
Navigation:
Lists: gentoo-alt: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: Re: [prefix] a few missing things for smooth x86-linux bootstrap
Next by thread:
[prefix] missing with_bindir()
Previous by date:
Re: [prefix][solaris] shell problem in portage/configure
Next by date:
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.