Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 195528 - dev-libs/openssl-0.9.8e-r3 fails to compile with "can't find a register in class 'GENERAL_REGS' while reloading 'asm'"
Summary: dev-libs/openssl-0.9.8e-r3 fails to compile with "can't find a register in cl...
Status: RESOLVED DUPLICATE of bug 185104
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-11 18:33 UTC by Konstantin Münning
Modified: 2007-10-11 19:25 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Münning 2007-10-11 18:33:35 UTC
When trying to upgrade from openssl-0.9.8d to openssl-0.9.8e-r3 on a VIA C3 system, compilation aborts here:

i586-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 -pipe -march=i586 -Wa,--noexecstack   -c -o eng_padlock.o eng_padlock.c
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'
make[2]: *** [eng_padlock.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/dev-libs/openssl-0.9.8e-r3/work/openssl-0.9.8e/crypto/engine'
make[1]: *** [subdirs] Error 1
make[1]: Leaving directory `/var/tmp/portage/dev-libs/openssl-0.9.8e-r3/work/openssl-0.9.8e/crypto'
make: *** [build_crypto] Error 1
 *
 * ERROR: dev-libs/openssl-0.9.8e-r3 failed.
 * Call stack:
 *   ebuild.sh, line 1654:   Called dyn_compile
 *   ebuild.sh, line 990:   Called qa_call 'src_compile'
 *   ebuild.sh, line 44:   Called src_compile
 *   openssl-0.9.8e-r3.ebuild, line 114:   Called die

I am using gcc-4.1.2.

Reproducible: Always

Steps to Reproduce:
1. emerge openssl
2.
3.
Comment 1 Konstantin Münning 2007-10-11 18:36:13 UTC
I have found some references on the web about that gcc error. Adding at least -O1 to CFLAGS seems to resolve it. Please check/confirm.

Maybe adding some check/advice about that in the ebuild would be nice.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-10-11 19:25:09 UTC
Fixed in -r4

*** This bug has been marked as a duplicate of bug 185104 ***