Re: updated libunwind patch for v2.6 kernel

From: Bob Picco <bob.picco_at_hp.com>
Date: 2005-06-16 03:55:30
David Mosberger wrote:	[Wed Jun 15 2005, 01:35:44PM EDT]
> Bob,
> 
> >>>>> On Wed, 15 Jun 2005 12:55:50 -0400, Bob Picco <bob.picco@hp.com> said:
> 
>   Bob> ia64-linux-gcc -Wp,-MD,arch/ia64/unwind/.init_local.o.d  -nostdinc -isystem /usr/local/lib/gcc-lib/ia64-linux/3.3/include -D__KERNEL__ -Iinclude  -DHAVE_BUGGY_SEGREL -DHAVE_ATOMIC_H  -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -ffreestanding -O2     -fomit-frame-pointer -g -pipe  -ffixed-r13 -mfixed-range=f12-f15,f32-f127 -falign-functions=32 -frename-registers -fno-optimize-sibling-calls     -mconstant-gp -DKBUILD_BASENAME=init_local -DKBUILD_MODNAME=init_local -c -o arch/ia64/unwind/init_local.o arch/ia64/unwind/init_local.c
>   Bob> In file included from arch/ia64/unwind/init.h:26,
>   Bob> from arch/ia64/unwind/init_local.c:26:
>   Bob> arch/ia64/unwind/unwind_i.h:33:25: libunwind_i.h: No such file or directory
> 
> Looks like the compiler command is missing the -Iinclude/linux, which
> should get added via CPPFLAGS in arch/ia64/unwind/Makefile:
> 
> CPPFLAGS        += -DHAVE_ATOMIC_H $(call addtree,-Iinclude/linux)
> 
> are you building in the source tree itself?  If so, can you try
Normal kernel build and build tree.
> building with make O=objdir and see if that fixes the problem.  I'm
> unsure if addtree is safe to be called from the Makefile, but I didn't
> want to worry about relatively minor build questions at this time.
No problem. I just hacked around it.
CPPFLAGS        += -DHAVE_ATOMIC_H -Iinclude/linux
> 
> Thanks,
> 
> 	--david
thanks,

bob
-
To unsubscribe from this list: send the line "unsubscribe linux-ia64" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Wed Jun 15 13:56:52 2005

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:39 EST