lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20061108101346.c2c3c862.akpm@osdl.org>
Date:	Wed, 8 Nov 2006 10:13:46 -0800
From:	Andrew Morton <akpm@...l.org>
To:	Mariusz Kozlowski <m.kozlowski@...land.pl>
Cc:	"Hesse, Christian" <mail@...thworm.de>,
	linux-kernel@...r.kernel.org, Andi Kleen <ak@....de>
Subject: Re: 2.6.19-rc5-mm1

On Wed, 8 Nov 2006 15:57:20 +0100
Mariusz Kozlowski <m.kozlowski@...land.pl> wrote:

> > > > 	This was seen on athlon machine with 'make allmodconfig'.
> > > 
> > > You need binutils >= 2.16.91.0.2 if CONFIG_KVM is enabled. See "[PATCH 0/14] 
> > > KVM: Kernel-based Virtual Machine (v4)" for details and discussion.
> > 
> > True. Thanks.
> 
> binutils upgrade helped. Another problem (also in 2.6.19-rc4-mm2) is:
> 
>   CC [M]  drivers/media/video/pwc/pwc-uncompress.o
> In file included from drivers/media/video/pwc/pwc-uncompress.c:29:
> include/asm/current.h: In function `get_current':
> include/asm/current.h:11: error: `size_t' undeclared (first use in this function)
> include/asm/current.h:11: error: (Each undeclared identifier is reported only once
> include/asm/current.h:11: error: for each function it appears in.)
> make[4]: *** [drivers/media/video/pwc/pwc-uncompress.o] Error 1
> make[3]: *** [drivers/media/video/pwc] Error 2
> make[2]: *** [drivers/media/video] Error 2
> make[1]: *** [drivers/media] Error 2
> make: *** [drivers] Error 2
> 
> It is the same athlon box with 'make allmodconfig'.
> 
> Linux localhost 2.6.16-gentoo-r13 #4 PREEMPT Sat Oct 14 17:47:21 CEST 2006 i686 AMD Athlon(tm) XP 1700+ AuthenticAMD GNU/Linux
>  
> Gnu C                  3.4.6

Well I dunno - I cannot reproduce this with gcc-3.4.2.

I assume what's happening is that

	get_current->read_pda->pda_from_op->pda_offset->offsetof

is using the gcc-3 version of offsetof:

#define offsetof(TYPE, MEMBER) ((size_t) &((TYPE *)0)->MEMBER)

only we don't have a definition of size_t in scope.

Except pda.h includes linux/types.h.

Another possibility is that the compiler is being silly and is expanding
typeof(a_size_t_type) into `size_t' and is then unable to find a definition
of size_t.

Hey, I've got an idea: I'll punt this to the maintainer ;)


Can you please run

	make drivers/media/video/pwc/pwc-uncompress.i

and then make that file available?  (It's half a meg - just mail it to me
privately and I'll upload it).  
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ