Re: [PATCH 1/3] parisc: Makefile: use the regular compiler to build a native 32-bit vDSO
Helge Deller <[email protected]>
| Newsgroups | org.kernel.vger.linux-parisc,org.kernel.vger.linux-kernel |
|---|---|
| Message-ID | <[email protected]> |
On 4/7/26 23:27, Thomas Weißschuh wrote: > On 2026-04-07 22:20:34+0200, Helge Deller wrote: >> On 4/7/26 21:27, Helge Deller wrote: >>> On 4/7/26 20:06, Thomas Weißschuh wrote: >>>> Hi Helge, >>>> >>>> On 2026-04-07 19:14:23+0200, Helge Deller wrote: >>>>> On 4/7/26 18:37, Thomas Weißschuh wrote: >>>>>> When building a native 32-bit kernel $(CC) the compiler is obviously >>>>>> able to compile 32-bit code. There is no need to force the user to >>>>>> configure a dedicated 32-bit compiler. >>>>>> >>>>>> Use the regular compiler for the 32-bit vDSO when it is sufficient. >>>>>> >>>>>> Signed-off-by: Thomas Weißschuh <[email protected]> >>>>> >>>>> This part is quite fragile, especially since the kernel is often also >>>>> cross built... >>>> >>>> I also used this patch during cross-building and it worked so far. >>>> >>>>> I can add the series to for-next branch of the parisc git tree to see if this >>>>> breaks somewhere. (unless you take care of it at another git tree?) >>>> >>>> I'd like to take the nolibc patches through the nolibc tree. >>>> If you want to take the Makefile patch through your tree into the v7.1 >>>> merge window that would also work, as I will only apply these patches >>>> for the next v7.2 cycle. >>> Ok I'll add patch #1 the to the parisc tree... >> As I assumed.... it breaks immediately for me. >> On an x86-64, running "make ARCH=parisc palo" doesn't work. >> I think you set the "CROSS_COMPILE" variables. Just leave them out.... > > Then let's ignore this series for this cycle. Ok. > How are you configuring your compiler? Haven't configured since long time, because the default cross compilers from Fedora and Debian just work. I think 0-day team does build own compiler. By the way... I just sent a patch series to the parisc mailing list which allows building the 64-bit kernel with COMPAT=n. Helge