Hi,
On 08. 03. 22, 15:51, Helge Deller wrote:
Hi Jiri,
Thanks for testing on parisc!
On 3/8/22 12:06, Jiri Slaby wrote:
since the "parisc: Add vDSO support" commit, I can no longer cross-build a hppa kernel. I see two issues:
1) CROSS32_COMPILE detection doesn't work here, as openSUSE provides hppa-suse-linux-* binaries. It's easy to overcome by "CROSS32_COMPILE=hppa-suse-linux-"
How is it handled for other platforms like s390x?
s390 simply uses CC for vdso32:
cmd_vdso32cc = $(CC) $(c_flags) -c -o $@ $<
Would it make sense to add the detection for SUSE too?
Maybe.
2) openSUSE doesn't provide any libc for hppa. So gcc doesn't provide libgcc.a and the build of vDSO fails.
libgcc.a comes with the compiler, I don't think you need libc for that.
I was told glibc is needed to build libgcc.a.