Re: [PATCH 1/3] parisc: Makefile: use the regular compiler to build a native 32-bit vDSO

From: Thomas Weißschuh

Date: Tue Apr 07 2026 - 17:29:38 EST


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 <linux@xxxxxxxxxxxxxx>
> > > >
> > > > 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.
How are you configuring your compiler?


Thomas