On 06/05/2015 05:46 AM, Vladimir Stackov wrote:
Greetings,
currently we are maintaining own CentOS 7 i686 rebuild and I would like to kindly ask you to replace following macros from gcc.spec:
%if 0%{?rhel} >= 7 %ifarch %{ix86} --with-arch=x86-64 \ %endif %ifarch x86_64 --with-arch_32=x86-64 \ %endif
with that:
%if 0%{?rhel} >= 7 %ifarch %{ix86} --with-arch=i686 \ %endif %ifarch x86_64 --with-arch_32=i686 \ %endif
x86-64 causes gcc to use extended instruction set for produced code and it's impossible to run CentOS 7 i686 on older systems without SSE2 instruction because of SIGILL. This affects Pentium 3, old VIA CPUs, old Xeons and some others.
Is that possible? Thanks!
<snip>
I don't think we can do this as I also use the RPMs produced for the multilib portion of CentOS-7 x86_64 and we want our RPMs to be like those from upstream for that purpose.
Thanks, Johnny Hughes