Re: Annoying kernel build behavior

Pete Wyckoff (pw@dancer.ca.sandia.gov)
Fri, 10 Apr 1998 09:23:17 -0700


Check arch/alpha/Makefile for the CFLAGS line. Mine says:

CFLAGS := $(CFLAGS) -Wa,-m21164a -DBWX_USABLE

and the presence of the comma in there causes not-so-nice interactions
with the FILES_FLAGS stuff at the end of Rules.make, which uses commas
to delimit arguments to Makefile commands (e.g. filter-out, patsubst).

My solution was to remove the "-Wa,-m21164a" flag and stick it in the
gcc specs file instead, although the latter may not be necessary. The
real fix would involve repairing Rules.make to be robust to the presence
of commas in CFLAGS. Here's the first couple of lines from
/usr/lib/gcc-lib/alpha-linux/2.7.2.1/specs:

*asm:
-m21164a -nocpp

For me, this had nothing to do with NFS, and the same annoyance occurred
on a local file system.
-- Pete

> Has something changed recently which would cause a kernel 'make' over NFS
> to always rebuild everything? I have already double-checked for clock
> skew between client and server (dead on). This problem does not seem to
> occur when building on local storage.
>
> Client is an Alpha running 2.1.90, server is P150+ running 2.1.92.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu