Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.
Bug 1793394 - cryptlib-3.4.5-7.fc32 FTBFS: cc1: error: CPU you selected does not support x86-64 instruction set
Summary: cryptlib-3.4.5-7.fc32 FTBFS: cc1: error: CPU you selected does not support x8...
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: cryptlib
Version: rawhide
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ralf Senderek
QA Contact: Fedora Extras Quality Assurance
URL: https://koschei.fedoraproject.org/pac...
Whiteboard:
Depends On:
Blocks: F32FTBFS GCC10
TreeView+ depends on / blocked
 
Reported: 2020-01-21 09:10 UTC by Petr Pisar
Modified: 2020-01-23 07:45 UTC (History)
1 user (show)

Fixed In Version: cryltplib-3.4.5-8.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-01-23 07:45:28 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Petr Pisar 2020-01-21 09:10:31 UTC
cryptlib-3.4.5-7.fc32 fails to build on x86_64 in F32:

make[1]: Entering directory '/home/test/fedora/cryptlib/cryptlib-3.4.5'
make libcl.a OBJPATH=./static-obj/ OSNAME=`uname` CFLAGS="-c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xc64da63d1f75b757 -DHAS_LDAP -DHAS_ZLIB -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -mcpu=pentium -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT" 
make[2]: Entering directory '/home/test/fedora/cryptlib/cryptlib-3.4.5'
gcc -c -D__UNIX__ -DNDEBUG -I. -DDATA_LITTLEENDIAN -DFIXED_SEED=0xc64da63d1f75b757 -DHAS_LDAP -DHAS_ZLIB -DHAS_RECURSIVE_MUTEX -DHAS_ROBUST_MUTEX -mcpu=pentium -DOSVERSION=5 -O3 -fomit-frame-pointer -D_REENTRANT -o ./static-obj/bn_asm.o bn/bn_asm.c
gcc: warning: ‘-mcpu=’ is deprecated; use ‘-mtune=’ or ‘-march=’ instead
cc1: error: CPU you selected does not support x86-64 instruction set
make[2]: *** [makefile:579: static-obj/bn_asm.o] Error 1
make[2]: Leaving directory '/home/test/fedora/cryptlib/cryptlib-3.4.5'

A difference between passing and failing build root is at <https://koschei.fedoraproject.org/build/7741040>. This could be triggered by upgrading gcc from 9.2.1-1.fc32.3 to 10.0.1-0.3.fc32.

Comment 1 Ralf Senderek 2020-01-23 07:45:28 UTC
Version cryptlib-3.4.5-8.fc32 removes the offending compiler flag -mcpu=pentium


Note You need to log in before you can comment on or make changes to this bug.