Re: confirmed: kernel build for 2.6.8-rc3 is broken for at least i386

From: Sam Ravnborg
Date: Sat Aug 07 2004 - 12:38:44 EST


On Sat, Aug 07, 2004 at 06:21:07PM +0200, Pawe? Sikora wrote:
> - $(Q)if [ ! -z $$LC_ALL ]; then \
> - export LANG=$$LC_ALL; \
> - export LC_ALL= ; \
> - fi; \
> - export LC_COLLATE=C; export LC_CTYPE=C; \
> + $(Q) \
>
> ^^^ works for me.
Thanks!

I need to track this a bit more.
Could you please provide me with information of what
you are running.

make version (make --version)
shell & version of shell
distribution

Could you also try if the attached two Makefiles exhibit the same problem.
Just copy them to an empty directory and execute make.

A good run looks like:
Makefile2:1: lds=-P
Hi

A bad run does not have any -P after the '='.

Needless to say my make does not exhibit this issue.

Sam
Q=@
all:
$(Q)if [ ! -z $$LC_ALL ]; then \
export LANG=$$LC_ALL; \
export LC_ALL= ; \
fi; \
export LC_COLLATE=C; export LC_CTYPE=C; \
$(MAKE) -f Makefile2 obj=xxx

export CFLAGS_vmlinux.lds.o := -P
$(warning lds=$(CFLAGS_vmlinux.lds.o))

all:
@echo Hi