[Bug 1127188] New: cannot update kernel configuration with cross-compiler
http://bugzilla.suse.com/show_bug.cgi?id=1127188 Bug ID: 1127188 Summary: cannot update kernel configuration with cross-compiler Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development Assignee: bnc-team-screening@forge.provo.novell.com Reporter: msuchanek@suse.com QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- SUSE cross-compilers do not include libc. Some kernel configuration options depend on compiler features including the ability to link userspace binaries. This differs between native compilers and cross-compilers causing different configuration to be generated. The kernel build fails when the configuration changes. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1127188
Jiachen Zhang
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c1
Jiri Slaby
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c2
Michal Suchanek
http://bugzilla.suse.com/show_bug.cgi?id=1127188
Jiachen Zhang
http://bugzilla.suse.com/show_bug.cgi?id=1127188
Andreas Schwab
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c3
Richard Biener
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c4
Petr Tesařík
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c5
Michal Suchanek
We don't have cross-compilers.
That's exactly the problem here. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c6
--- Comment #6 from Richard Biener
(In reply to Richard Biener from comment #3)
We don't have cross-compilers.
That's exactly the problem here.
But that's not a bug but a missing feature... -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c7
--- Comment #7 from Michal Suchanek
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c8
--- Comment #8 from Petr Tesařík
I don't know what you call those
aarch64-suse-linux-gcc
and similar.
Oh, indeed, these packages are now part of Tumbleweed: https://build.opensuse.org/package/show/openSUSE:Factory/cross-aarch64-gcc8 ... Then the bug report is valid; sorry for the noise. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c9
--- Comment #9 from Richard Biener
I don't know what you call those
aarch64-suse-linux-gcc
and similar.
Those are a convenience provided to you kernel folks who requested they'd be available without the hassle to untar an icecream environment.
They are crosscompilers without a libc.
We need libc headers to build mainline kernel.
Seems to be a new thing. In theory extending the "hack" to libc (headers) is possible by re-packaging the native glibc into a noarch cross-%arch-glibc package and build depending on that. But this seemed to gross for me. I also don't really have time to explore this route again (did once during a hackweek). -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c10
--- Comment #10 from Richard Biener
(In reply to Michal Suchanek from comment #7)
I don't know what you call those
aarch64-suse-linux-gcc
and similar.
Oh, indeed, these packages are now part of Tumbleweed:
https://build.opensuse.org/package/show/openSUSE:Factory/cross-aarch64-gcc8 ...
Then the bug report is valid; sorry for the noise.
Those are likely not the same as those in Kernel:tools if that provides libc headers in some way. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c11
--- Comment #11 from Petr Tesařík
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c12
--- Comment #12 from Richard Biener
http://bugzilla.suse.com/show_bug.cgi?id=1127188
http://bugzilla.suse.com/show_bug.cgi?id=1127188#c13
--- Comment #13 from Richard Biener
Created attachment 800834 [details] cross-glibc package
So if you are interested here's the directory containing this kind of cross glibc "packaging" that I have lying around.
Oh, it's actually in devel:gcc, just disabled. And it didn't use noarch but specific archs and aggregates to copy over. Making it noarch might "solve" the need for aggregates. -- You are receiving this mail because: You are on the CC list for the bug.
https://bugzilla.suse.com/show_bug.cgi?id=1127188
https://bugzilla.suse.com/show_bug.cgi?id=1127188#c17
--- Comment #17 from Michal Suchanek
https://bugzilla.suse.com/show_bug.cgi?id=1127188
https://bugzilla.suse.com/show_bug.cgi?id=1127188#c18
Richard Biener
participants (2)
-
bugzilla_noreply@novell.com
-
bugzilla_noreply@suse.com