From mboxrd@z Thu Jan 1 00:00:00 1970 From: tsv at solvo.ru (Sergey Tikhonov) Date: Wed, 14 Mar 2007 13:29:40 +0300 Subject: New redhat-rpm-config for ac3 In-Reply-To: <0A6332BC-0631-45D8-9BA8-D5AEC37C7456@grouse.net.au> References: <45F7BC9F.4080708@linux-kernel.at> <0A6332BC-0631-45D8-9BA8-D5AEC37C7456@grouse.net.au> Message-ID: <45F7CE94.4060507@solvo.ru> Mike Barnes wrote: > On 14/03/2007, at 8:13 PM, Oliver Falk wrote: > >> Maybe you can add some statement on how to fix it in core-cvs >> without conflicting with the primary archs; I saw you just removed >> it from macros... > > > Yeah, I just patched it out for the moment, pending a better solution. > > I'm not entirely sure that dropping it from macros is actually the > right approach, since in theory it shouldn't make any difference if > it's there or not. The actual problem I was seeing was that in some > autoconf scripts, the test for a working -fPIC was failing - this was > what was causing build failures in a lot of packages. That is stange. In my experience it just said that is does nothing on alpha, but never stopped configure scripts. I commented out it in macros too during package building. > > I'll try to follow through the configure tests and narrow it down a > little further. If it's the case that the -fstack-protector flag > should do _nothing_ on an unsupported architecture, and it's doing > _something_, then it really strikes me as a GCC bug, not something to > fix in the RPM macros, which ideally should be consistent across > architectures. Regards, -- Sergey Tikhonov Head, R&D department Solvo Ltd. Saint-Petersburg, Russia http://www.solvo.ru tsv at solvo.ru