Re: [PATCH] Fix cross kernel headers location - rhbz#1642037

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

 



On Thu, Oct 25, 2018 at 7:50 AM Nicolas Chauvet <kwizart@xxxxxxxxx> wrote:
>
> Le mar. 23 oct. 2018 à 17:54, Josh Boyer <jwboyer@xxxxxxxxxxxxxxxxx> a écrit :
> >
> > On Tue, Oct 23, 2018 at 11:12 AM Nicolas Chauvet <kwizart@xxxxxxxxx> wrote:
> > >
> > > Cross compiled kernel headers are installed into /usr/*-linux-gnu/include/
> > > instead of /usr/*-linux-gnu/sys-root/usr/include/ where they can be
> > > found by default by the Fedora cross compiler toolchain.
> >
> > Is that a new change in how the cross compilers work?  The original
> > patch was added a long time ago based on the cross compiler behavior
> > in Fedora at the time.  If that's changed, where can we see that
> > documented?
>
> Hi Josh,
>
> Thx for rising this point.
> I've tried to sum-up my current understanding in rhbz#1642037.
>
> Basically this is the first time I'm using the fedora cross toolchain
> to build userland applications.

The Fedora cross toolchains are only built to cross-compile kernels.
It even says so right in the description:

Description  : Cross-build GNU C compiler.
             :
             : Only building kernels is currently supported.  Support for
             : cross-building user space programs is not currently provided as
             : that would massively multiply the number of packages.

I think you've hit an error in a usecase the toolchains don't even support.

josh

> I've reproduced this error in f28, f29. I haven't tested in in f27 yet.
> I confirm it's possible to build some applications with the
> arm-linux-gnu fedora toolchain once the glibc-arm-linux-gnu is
> installed.
> But as an example, the bug occurs as soon as the <errno.h> header is
> included from a hello.c.
>
> As a side note I will be AFAIK later today until one week. So unless a
> solution is found I won't be able to work on this issue until back.
>
> Thx
> --
> -
>
> Nicolas (kwizart)
_______________________________________________
kernel mailing list -- kernel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to kernel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/kernel@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora General Discussion]     [Older Fedora Users Archive]     [Fedora Advisory Board]     [Fedora Security]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [ATA RAID]     [Fedora Marketing]     [Fedora Mentors]     [Fedora Package Announce]     [Fedora Package Review]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Coolkey]     [Yum Users]     [Tux]     [Yosemite News]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [USB]     [Asterisk PBX]

  Powered by Linux