On Tuesday, March 20, 2012, 7:21:25 PM, Ralf Corsepius wrote:
On 03/20/2012 05:46 PM, Richard W.M. Jones wrote:
> On Tue, Mar 20, 2012 at 05:37:10PM +0100, drago01 wrote:
>> On Tue, Mar 20, 2012 at 5:34 PM, Brendan Conoboy<blc(a)redhat.com> wrote:
>>> On 03/20/2012 09:21 AM, Ralf Corsepius wrote:
>>>>
>>>> That said, I considera cross-building environment for secondary arch to
>>>> be inevitable, which would at least help for the class of issues, I am
>>>> referring to above.
>>>
>>> I'm a big fan of cross compilation, but introducing it into Fedora in
order
>>> to support ARM seems unlikely to succeed for too many reasons to go into.
>>
>> The reasons are? ....
>
> We use cross-compilation right now for mingw-* packages (for Windows).
> However you cannot use cross-compilation to create a foo-*.armv7hl.rpm
> package. That's because our entire toolchain, from RPM through Koji,
> simply does not understand cross-compilation properly.
Well, the mock/rpm part is the smaller part of the issues (I use
customized mock setups on Fedora to build mingw-* and cygwin-* packages).
> Solvable, but undoubtedly a ton of work for everyone.
The real issue would be to re-utilize "foreign native rpms"
(here
*.arm.rpms) to install them in sys-roots on x86.
(Fedora's mingw*-toolchains are explictly packaged to fit into
x86)
Ralf
On July 7th, 2009, Mark Salter made a post "crossbuilding rpms with
koji" on the fedora-buildsys-list" where he described a project to add
cross-building support to koji/moc/rpm/etc.
The post in archived post is at
http://www.redhat.com/archives/fedora-buildsys-list/2009-July/msg00000.html