On Wed, Jun 08, 2016 at 05:08:30PM +0100, Jonathan Wakely wrote:
On 08/06/16 15:43 +0000, Petr Pisar wrote:
>On 2016-06-08, Jonathan Wakely <jwakely(a)fedoraproject.org> wrote:
>>Also, since gcc%{?_isa} **doesn't work** then yes, not using %_isa for
>>gcc seems sensible! :-)
>>
>Why both gcc.i686 and gcc.x86_64 are available in the x86_64 repository?
>Shouldn't gcc.i686 be expelled from the x86_64 repository?
Of course it should. But I bet the reason why it got pulled in is that
somebody added some bogus Requires or BuildRequires that brought it in.
Think about it: you can't build 32-bit software **at all** unless
you
install glibc-devel.i686, not even just "int main() { }" with no
headers at all.
This is independent of foobar-devel.
And it's not a very common case anyway. If you need to build 32-bit
code on a 64-bit system then install glibc-devel.i686 and then it's
done, it doesn't need to be done again.
You need also libgcc.i686 and for C++ libstdc++-devel.i686.
Jakub