<p dir="ltr">Ok, what should I do if I&#39;m ready to maintain packages for public non-sse2 rebuild? How to get this rebuild covered by CentOS SIG?</p>
<p dir="ltr">As far as I know I&#39;m prohibited to use &quot;CentOS&quot; in public rebuild name until it was explicitly allowed by CentOS project.</p>
<div class="gmail_quote">06.06.2015 12:44 пользователь &quot;Johnny Hughes&quot; &lt;<a href="mailto:johnny@centos.org">johnny@centos.org</a>&gt; написал:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On 06/06/2015 02:43 AM, Toni Spets wrote:<br>
&gt;<br>
&gt;<br>
&gt; On Sat, Jun 6, 2015 at 12:09 AM, Johnny Hughes &lt;<a href="mailto:johnny@centos.org">johnny@centos.org</a><br>
&gt; &lt;mailto:<a href="mailto:johnny@centos.org">johnny@centos.org</a>&gt;&gt; wrote:<br>
&gt;<br>
&gt;     On 06/05/2015 03:41 PM, Trevor Hemsley wrote:<br>
&gt;     &gt; Is it really worth the effort? The last Pentium III was released in 2002<br>
&gt;     &gt; and you couldn&#39;t buy them after 2003 so we&#39;re talking about machines<br>
&gt;     &gt; that are 12 or more years old. The fastest one you could ever buy is<br>
&gt;     &gt; outperformed by a factor of more than 2 times by each core on my dual<br>
&gt;     &gt; core 2010 vintage Intel Atom D510.<br>
&gt;     &gt;<br>
&gt;<br>
&gt;     I don&#39;t mind the effort of compiling so much as the potential for<br>
&gt;     massive confusion with 2 packages named the same thing but compiled with<br>
&gt;     different gcc optimizations, as we would still have to provide the other<br>
&gt;     packages i686 packages in x86_64 arch for multilib.<br>
&gt;<br>
&gt;<br>
&gt; Why its there a need to provide two different builds? Couldn&#39;t the<br>
&gt; multilib packages be rebuilt not to require SSE2? Is the performance<br>
&gt; penalty bad enough to not even consider it?<br>
<br>
The reason the items in CentOS 7 x86_64 (in this case, we are taking<br>
about the i686 multilib pacakges) need to be built with an unmodified<br>
gcc is that the whole goal of CentOS Linux is to build packages from<br>
RHEL sources that are as close to possible to actual Red Hat packages<br>
minus branding.<br>
<br>
If we change the way gcc produces those i686 packages that we put into<br>
our main CentOS 7 x86_64 arch then that is a huge difference.  I am<br>
quite sure our users do not want us modifying CentOS Linux 7 production<br>
packages in this manner.<br>
<br>
If has nothing to do with performance, it has to do with producing<br>
CentOS Linux 7 x86_64 that deviates from the way the upstream packages<br>
are produced.<br>
<br>
<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     But, I do agree that trying to run this on 12 year old machines is is<br>
&gt;     not going to be easy.  CentOS-7 does not perform well without at least<br>
&gt;     1.5GB - 2GB of RAM as well.  (The installer does not even work well with<br>
&gt;     less than 1 GB RAM)<br>
&gt;<br>
&gt;<br>
&gt; The installer does run with 512MB of RAM and it can be run around 384MB<br>
&gt; of RAM as well without any modifications except lowering the requirement<br>
&gt; by hand. The use cases would be headless environments like servers where<br>
&gt; you can better utilize the memory like you do in virtualized<br>
&gt; environments. I do have 512MB CentOS 7 64-bit VMs that perform just fine<br>
&gt; for what they are tasked for.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     If enough people really want it, I guess it could be done as part of the<br>
&gt;     AltArch Special Interest Group .. but my initial take is not positive<br>
&gt;     because of the confusion potential.<br>
&gt;<br>
&gt;<br>
&gt;     &gt; On 05/06/15 21:22, Toni Spets wrote:<br>
&gt;     &gt;&gt; This would be rather unfortunate as that would also leave out all<br>
&gt;     &gt;&gt; 32-bit only AMD processors (Athlon XP &amp; co) as well according to<br>
&gt;     &gt;&gt; Wikipedia where it&#39;s said Athlon 64 was the first one to add SSE2 and<br>
&gt;     &gt;&gt; it can already run the 64-bit CentOS anyway.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; I&#39;m hoping there is more people that could +1 having support for<br>
&gt;     &gt;&gt; pre-SSE2 CPUs so it would be seriously considered even though it might<br>
&gt;     &gt;&gt; need massive rebuild of the multilib packages. EPEL doesn&#39;t have<br>
&gt;     &gt;&gt; multilib yet (right?) so they can still adapt to whatever is going to<br>
&gt;     &gt;&gt; be done. The packages would run on upstream as well anyway.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Taking into account the actual computing power of CPUs, I don&#39;t think<br>
&gt;     &gt;&gt; it&#39;s unreasonable to run CentOS 7 on Pentium III or Athlon XP.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; Thanks for considering.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt; On Fri, Jun 5, 2015 at 9:44 PM, Johnny Hughes &lt;<a href="mailto:johnny@centos.org">johnny@centos.org</a> &lt;mailto:<a href="mailto:johnny@centos.org">johnny@centos.org</a>&gt;<br>
&gt;     &gt;&gt; &lt;mailto:<a href="mailto:johnny@centos.org">johnny@centos.org</a> &lt;mailto:<a href="mailto:johnny@centos.org">johnny@centos.org</a>&gt;&gt;&gt; wrote:<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;     On 06/05/2015 05:46 AM, Vladimir Stackov wrote:<br>
&gt;     &gt;&gt;     &gt; Greetings,<br>
&gt;     &gt;&gt;     &gt;<br>
&gt;     &gt;&gt;     &gt; currently we are maintaining own CentOS 7 i686 rebuild and I<br>
&gt;     &gt;&gt;     would like<br>
&gt;     &gt;&gt;     &gt; to kindly ask you to replace following macros from gcc.spec:<br>
&gt;     &gt;&gt;     &gt;<br>
&gt;     &gt;&gt;     &gt; %if 0%{?rhel} &gt;= 7<br>
&gt;     &gt;&gt;     &gt; %ifarch %{ix86}<br>
&gt;     &gt;&gt;     &gt;    --with-arch=x86-64 \<br>
&gt;     &gt;&gt;     &gt; %endif<br>
&gt;     &gt;&gt;     &gt; %ifarch x86_64<br>
&gt;     &gt;&gt;     &gt;    --with-arch_32=x86-64 \<br>
&gt;     &gt;&gt;     &gt; %endif<br>
&gt;     &gt;&gt;     &gt;<br>
&gt;     &gt;&gt;     &gt; with that:<br>
&gt;     &gt;&gt;     &gt;<br>
&gt;     &gt;&gt;     &gt; %if 0%{?rhel} &gt;= 7<br>
&gt;     &gt;&gt;     &gt; %ifarch %{ix86}<br>
&gt;     &gt;&gt;     &gt;         --with-arch=i686 \<br>
&gt;     &gt;&gt;     &gt; %endif<br>
&gt;     &gt;&gt;     &gt; %ifarch x86_64<br>
&gt;     &gt;&gt;     &gt;         --with-arch_32=i686 \<br>
&gt;     &gt;&gt;     &gt; %endif<br>
&gt;     &gt;&gt;     &gt;<br>
&gt;     &gt;&gt;     &gt; x86-64 causes gcc to use extended instruction set for produced<br>
&gt;     &gt;&gt;     code and<br>
&gt;     &gt;&gt;     &gt; it&#39;s impossible to run CentOS 7 i686 on older systems<br>
&gt;     without SSE2<br>
&gt;     &gt;&gt;     &gt; instruction because of SIGILL.<br>
&gt;     &gt;&gt;     &gt; This affects Pentium 3, old VIA CPUs, old Xeons and some<br>
&gt;     others.<br>
&gt;     &gt;&gt;     &gt;<br>
&gt;     &gt;&gt;     &gt; Is that possible?<br>
&gt;     &gt;&gt;     &gt; Thanks!<br>
&gt;     &gt;&gt;     &gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;     &lt;snip&gt;<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;     I don&#39;t think we can do this as I also use the RPMs produced<br>
&gt;     for the<br>
&gt;     &gt;&gt;     multilib portion of CentOS-7 x86_64 and we want our RPMs to<br>
&gt;     be like<br>
&gt;     &gt;&gt;     those from upstream for that purpose.<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;     Thanks,<br>
&gt;     &gt;&gt;     Johnny Hughes<br>
&gt;     &gt;&gt;<br>
&gt;     &gt;&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;     _______________________________________________<br>
&gt;     CentOS-devel mailing list<br>
&gt;     <a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a> &lt;mailto:<a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a>&gt;<br>
&gt;     <a href="http://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a><br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; --<br>
&gt; Toni Spets<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; CentOS-devel mailing list<br>
&gt; <a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a><br>
&gt; <a href="http://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a><br>
&gt;<br>
<br>
<br>
<br>_______________________________________________<br>
CentOS-devel mailing list<br>
<a href="mailto:CentOS-devel@centos.org">CentOS-devel@centos.org</a><br>
<a href="http://lists.centos.org/mailman/listinfo/centos-devel" target="_blank">http://lists.centos.org/mailman/listinfo/centos-devel</a><br>
<br></blockquote></div>