https://bugzilla.redhat.com/show_bug.cgi?id=1116177
Bug ID: 1116177 Summary: Review Request: cross-kernel-headers - Header files for the Linux kernel for use by glibc Product: Fedora Version: rawhide Component: Package Review Severity: medium Priority: medium Assignee: nobody@fedoraproject.org Reporter: roland@hack.frob.com QA Contact: extras-qa@fedoraproject.org CC: package-review@lists.fedoraproject.org
Spec URL: http://roland.fedorapeople.org/cross-kernel-headers.spec
I did not actually upload an srpm because it's large and almost entirely just the upstream kernel tarball, which everybody already has. I did upload a pkgs git repository at git://fedorapeople.org/~roland/cross-kernel-headers.git though.
Description:
This is an incarnation of the "kernel-headers" package for cross-compilation use with the cross-binutils and cross-gcc packages that already exist. For each binutils-TARGET this has a kernel-headers-TARGET that populates the toolchain sysroot with kernel header files. This is sufficient to cross-compile upstream glibc
Fedora Account System Username: roland
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
Roland McGrath roland@hack.frob.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |codonell@redhat.com, | |dhowells@redhat.com, | |spoyarek@redhat.com
--- Comment #1 from Roland McGrath roland@hack.frob.com --- With this and the cross-gcc, stock Fedora packages make it easy to build-test glibc for all architectures while doing development. I hope we can get this package or something like it in.
It doesn't make sense to have a million individual packages of sys-root contents for Linux targets, since sysroots can be populated from real Fedora RPMs where they exist. But the cross-gcc and this cover many targets for which there are no Fedora builds. And the convenience of 'yum install gcc-* kernel-headers-*' being all you need to do cross-development for glibc is awesome for us.
Also note this uses the upstream kernel verbatim, without even stable patches, let alone any of the patches in the Fedora kernel RPMs. For cross-development targetting the official kernel user ABIs this seems appropriate.
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
--- Comment #2 from Roland McGrath roland@hack.frob.com --- Koji scratch build for rawhide at https://koji.fedoraproject.org/koji/taskinfo?taskID=7106001
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
--- Comment #3 from David Howells dhowells@redhat.com --- Sounds like a good idea. I don't think you can build glibc for all arches, but I guess you'd need this for uclibc or any other C library too.
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
--- Comment #4 from David Howells dhowells@redhat.com --- Hmmm... I wonder if it would be worth building cross-gcc on top of this. This might let us build some of the missing libgcc's that require external headers.
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
--- Comment #5 from Roland McGrath roland@hack.frob.com --- I suspect that libgcc build need libc headers more than they need kernel headers. But that's neither here nor there as to getting this package review done and approved. Can we get it approved so I can add the package already?
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
Siddhesh Poyarekar spoyarek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@fedoraproject.org |spoyarek@redhat.com Flags| |fedora-review?
--- Comment #6 from Siddhesh Poyarekar spoyarek@redhat.com --- RPMLINT:
$ rpmlint cross-kernel-headers.spec cross-kernel-headers.spec:80: W: non-standard-group Development/System \ cross-kernel-headers.spec:103: W: non-standard-group Development/System \
Using macros to generate headers. Should be OK IMO.
cross-kernel-headers.spec:169: W: macro-in-comment %{rpmprefix}
Escape the %.
cross-kernel-headers.spec:216: W: mixed-use-of-spaces-and-tabs (spaces: line 216, tab: line 13)
There's a stray space.
0 packages and 1 specfiles checked; 0 errors, 4 warnings.
VISUAL INSPECTION:
%do_package mips-linux-gnu %{build_mips} mips64-linux-gnu
^^ Don't you mean %do_symlink?
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
Siddhesh Poyarekar spoyarek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|spoyarek@redhat.com |nobody@fedoraproject.org
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
Siddhesh Poyarekar spoyarek@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|nobody@fedoraproject.org |sid@reserved-bit.com
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
--- Comment #7 from Upstream Release Monitoring upstream-release-monitoring@fedoraproject.org --- pbrobinson's scratch build of linux-user-chroot?#b7afe5173cbd31b029b027b6f8a14baa5e6ce87a for epel7-archbootstrap and git://pkgs.fedoraproject.org/linux-user-chroot?#b7afe5173cbd31b029b027b6f8a14baa5e6ce87a failed http://koji.fedoraproject.org/koji/taskinfo?taskID=12089939
https://bugzilla.redhat.com/show_bug.cgi?id=1116177
Robin Lee robinlee.sysu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |CLOSED Resolution|--- |WONTFIX Last Closed| |2017-06-19 03:24:33
--- Comment #8 from Robin Lee robinlee.sysu@gmail.com --- Close as the function is provided by kernel-cross-headers, a subpackage of kernel package. And any enhancement request can be posted against kernel package.
package-review@lists.fedoraproject.org