Mock can't build x86_64 packages

Clodoaldo Neto clodoaldo.pinto.neto at gmail.com
Fri Oct 9 11:43:24 UTC 2009


2009/10/6 Chris Adams <cmadams at hiwaay.net>:
> Once upon a time, Jonathan Ryshpan <jonrysh at pacbell.net> said:
>> On Fri, 2009-10-02 at 11:00 -0400, Todd Zullinger wrote:
>> > You can't build for x86_64 on i386.  Doing it the other way around
>> > works fine though.
>>
>> Why not?  I thought that cross compilation worked on any two processors
>> (within reason).
>
> Mock doesn't cross-compile, it only runs binaries that can be run
> natively on the base system.  It just so happens that x86_64 can run
> i686 binaries natively, so you can build i686 on x86_64.  Since i686
> cannot run x86_64, you can't build x86_64 on i686.

And if I install a Fedora x86_64 guest (VirtualBox) with Windows XP 32
bits as host running in a x86_64 processor? Would I be able to build
x86_64 rpms?

Clodoaldo

> --
> Chris Adams <cmadams at hiwaay.net>
> Systems and Network Administrator - HiWAAY Internet Services
> I don't speak for anybody but myself - that's enough trouble.
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>




More information about the fedora-list mailing list