[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Multiarch and ABI support



Hello Loïc,

2010/7/25, Loïc Minier <lool@dooz.org>:
> On Sun, Jul 25, 2010, Hector Oron wrote:
>> Sysroot is everybody's way to cross compile in world but us (Debian)
>> if multiarch aims to be a fit-all solution it should be relevant, if
>> it is not, either you might misunderstood sysroot rationale or I just
>> should be stop loosing time on multiarch. Maybe multiarch just needs
>> to setup sysroot=/ and change FHS for upstreams to follow, which it is
>> not something it happens in couple months.

a couple of months... to my concern for "Squeeze release".

>  Cross-compiling with the current sysroot implementation does not allow
>  picking up libs and headers from FHS or multiarch pathnames, e.g. if I
>  create an armel chroot, I can't point my cross-compiler at it and have
>  it pick up target headers/libs from there, even with sysroot.

That depends very much on the path layout. For sysroot paths would be:
  ${SYSROOT}/usr/lib
  ${SYSROOT}/usr/include
where ${SYSROOT} can be anything and it is relocatable.

Surely, FHS needs to be revisited for multiple architecture support,
they unhelpfully picked up /lib64 by the time they discussed this
issue.

To have multiarch paths,
  /usr/lib/$triplet
  /usr/include/$triplet
where $triplet is Debian triplet or any new name it comes up from ABI,
subarches support.

Surely you can patch FSF GCC or/and other compilers to support that a
approach and still does not affect sysroot (just add ${SYSROOT} as
prefix), but that decission is not to be taken on a Debian forum, but
on FHS forums. IMO nothing we can do before releasing Squeeze.

>  Using Debian as a build environment with a cross-compiler and sysroot
>  to generate a target rootfs is fine, but it's not very well suited for
>  generating a target Debian rootfs.

Do you mind to expand why is not well suited for generating a target
Debian rootfs?

In your opinion, what should we ship as cross compiling framework for
Squeeze release?

Kind regards,
-- 
 Héctor Orón

"Our Sun unleashes tremendous flares expelling hot gas into the Solar
System, which one day will disconnect us."

-- Day DVB-T stop working nicely
Video flare: http://antwrp.gsfc.nasa.gov/apod/ap100510.html


Reply to: