Re: Annoying kernel build behavior

Steven N. Hirsch (shirsch@ibm.net)
Fri, 10 Apr 1998 16:04:04 -0400 (EDT)


On Fri, 10 Apr 1998, Pete Wyckoff wrote:

> 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.

NICE detective work. Left to my own instincts, that would have the last
thing I looked at <g>. I'll give it a try!

Steve

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