docker: add dwarves package for pahole tool#1158
Conversation
|
There is one concern remains, build of mentioned android package with clang and pahole available generate around 819Mbyte of verbose log. I am adding staging-skip label "just in case", as i am not sure our build system is ready for such surprise. |
13f06ae to
996c03a
Compare
|
Also spotted one more missing package: Adding lz4 and retesting |
996c03a to
bd58f0a
Compare
|
lz4 required in clang packages, but not gcc |
|
@nuclearcat Maybe the |
|
Sure, just i kept it over weekend as clang with pahole generate big amount of logs (and i dont want to make issues at weekend). |
|
It looks like except memory consumption issue discussed on IRC (LTO option require around 16-18Gb of RAM during linking, and we have only 4Gb on builders), manual tests are ok, but i am failing (likely due OOM) to build on staging, for example https://bot.staging.kernelci.org/job/kernel-build/64062/console |
|
Thats interesting, job stopped at: I will add python to list of packages |
bd58f0a to
4bc7c68
Compare
1931c0b to
272b894
Compare
|
Is this working now? I believe you said there was still an issue but I don't remember what it was. |
|
Sorry for delay, not yet, as we have some objects generated and hit another issue, probably size limitation during objects upload. |
8e0f19b to
cd9caa5
Compare
As reported in maillist https://groups.io/g/kernelci/message/1489 recent builds are failing, because pahole tool is missing. Also during test builds i found that lz4 and python required too. This patch add required packages and tested locally. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
cd9caa5 to
a600345
Compare
|
After adding missing tools by this PR we able to compile gki_defconfig now (it is using kernelci/staging-clang-15 ): |
| python3 \ | ||
| python |
There was a problem hiding this comment.
Why is this needed here?
There was a problem hiding this comment.
It's not clear to me why this is needed in the Clang images and not the GCC ones.
Which kernel revision were you building? I don't see |
|
Kernels from https://storage.kernelci.org/android/android13-5.15/ASB-2022-08-05_13-5.15-8-g5d05a30e879f1/linux-src_android13-5.15.tar.gz |
|
AS i noticed inside there is: |
If this is only in the Android tree then we're not going to fix it. KernelCI is about testing upstream kernels. Maybe we should talk to the Android team and set up android.kenelci.org (like it has been suggested for a few years already) to cover specific needs for Android kernels. But it doesn't seem like a good idea to bloat the Docker images used to build upstream kernels with tools for Android downstream branches. |
|
As far as i see such fragment present also in vanilla kernels, just checked scripts/link-vmlinux.sh in 5.15 now. |
That's not upstream, is it? Please be more precise about where you're quoting things from. |
|
Upstream, |
Right, and that got removed recently (well moved to another file) by |
|
OK so I'm not sure about the |
|
Mostly because i tested it with clang only, probably i should test with gcc, likely it is required there too. I will do that tomorrow. |
|
OK thanks. As discussed earlier today, I think we can merge this now and get the extra packages added to the |
|
@nuclearcat BTW you can't build gki_defconfig with GCC as far as I remember, so just building a kernel with |
As in kernelci#1158 we need to add several packages to be able run pahole and other tools, which is required to complete gki_defconfig build. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
As in #1158 we need to add several packages to be able run pahole and other tools, which is required to complete gki_defconfig build. Signed-off-by: Denys Fedoryshchenko <denys.f@collabora.com>
As reported in maillist https://groups.io/g/kernelci/message/1489 recent builds are failing,
because pahole tool is missing.
This patch add required support and tested locally.
Signed-off-by: Denys Fedoryshchenko denys.f@collabora.com