mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Andrew Morton <akpm@osdl.org>
To: Mariusz Kozlowski <m.kozlowski@tuxland.pl>
Cc: "Hesse, Christian" <mail@earthworm.de>,
	linux-kernel@vger.kernel.org, Andi Kleen <ak@muc.de>
Subject: Re: 2.6.19-rc5-mm1
Date: Wed, 8 Nov 2006 10:13:46 -0800	[thread overview]
Message-ID: <20061108101346.c2c3c862.akpm@osdl.org> (raw)
In-Reply-To: <200611081557.21516.m.kozlowski@tuxland.pl>

On Wed, 8 Nov 2006 15:57:20 +0100
Mariusz Kozlowski <m.kozlowski@tuxland.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).  

  reply	other threads:[~2006-11-08 18:14 UTC|newest]

Thread overview: 65+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-11-08  9:54 2.6.19-rc5-mm1 Andrew Morton
2006-11-08 11:11 ` 2.6.19-rc5-mm1 Reuben Farrelly
2006-11-08 20:05   ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-08 20:15     ` 2.6.19-rc5-mm1 Dave Jones
2006-11-08 20:31       ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-08 21:18         ` 2.6.19-rc5-mm1 Dave Jones
2006-11-09  3:09       ` [PATCH] cpufreq: select consistently (Re: 2.6.19-rc5-mm1) Randy Dunlap
2006-11-09  3:39         ` Dave Jones
2006-11-08 12:07 ` 2.6.19-rc5-mm1 Mariusz Kozlowski
2006-11-08 12:32   ` 2.6.19-rc5-mm1 Hesse, Christian
2006-11-08 12:54     ` 2.6.19-rc5-mm1 Mariusz Kozlowski
2006-11-08 14:57       ` 2.6.19-rc5-mm1 Mariusz Kozlowski
2006-11-08 18:13         ` Andrew Morton [this message]
2006-11-08 19:19         ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-08 20:47           ` 2.6.19-rc5-mm1 Mariusz Kozlowski
2006-11-08 15:08 ` 2.6.19-rc5-mm1 Benoit Boissinot
2006-11-08 22:10   ` 2.6.19-rc5-mm1 Thomas Gleixner
2006-11-08 23:31 ` 2.6.19-rc5-mm1 Rafael J. Wysocki
2006-11-09  0:17   ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-09  0:44     ` 2.6.19-rc5-mm1 Rafael J. Wysocki
2006-11-09  0:55       ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-09  1:04         ` 2.6.19-rc5-mm1 Rafael J. Wysocki
2006-11-09 15:42           ` 2.6.19-rc5-mm1: HPC nx6325 breakage, VESA fb problem, md-raid problem Rafael J. Wysocki
2006-11-09 17:58             ` Andrew Morton
2006-11-10  4:49               ` Andi Kleen
2006-11-10  5:15                 ` Andrew Morton
2006-11-10  6:19                   ` Andi Kleen
2006-11-10 11:21                     ` Rafael J. Wysocki
2006-11-10 11:51                       ` Andi Kleen
2006-11-10 10:44               ` Franck Bui-Huu
2006-11-10  6:28             ` Neil Brown
2006-11-10 23:20               ` Rafael J. Wysocki
2006-11-10 23:29                 ` Neil Brown
2006-11-09 15:04 ` 2.6.19-rc5-mm1 -- ppc64 ohci-hdc.c compile failure Andy Whitcroft
2006-11-09 22:43   ` Benjamin Herrenschmidt
2006-11-10  9:49     ` Paul Mackerras
2006-11-10  9:58       ` Benjamin Herrenschmidt
2006-11-09 18:43 ` 2.6.19-rc5-mm1 Benoit Boissinot
2006-11-09 19:04   ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-09 19:26     ` 2.6.19-rc5-mm1 Mattia Dongili
2006-11-09 21:58       ` [linux-usb-devel] 2.6.19-rc5-mm1 Alan Stern
2006-11-09 22:51         ` Andrew Morton
2006-11-09 23:39           ` Cédric Augonnet
2006-11-10  0:11             ` Andrew Morton
2006-11-10 20:17               ` Anton Vorontsov
2006-11-10 19:29           ` Benoit Boissinot
2006-11-10  3:21 ` 2.6.19-rc5-mm1 Ed Tomlinson
2006-11-10  3:31   ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-10 12:28     ` 2.6.19-rc5-mm1 Ed Tomlinson
2006-11-10 16:29 ` 2.6.19-rc5-mm1 Benoit Boissinot
2006-11-10 16:59   ` 2.6.19-rc5-mm1 Thomas Gleixner
2006-11-10 17:25     ` 2.6.19-rc5-mm1 Benoit Boissinot
2006-11-10 20:20       ` 2.6.19-rc5-mm1 Benoit Boissinot
2006-11-10 20:41         ` 2.6.19-rc5-mm1 Thomas Gleixner
2006-11-13 15:58 ` 2.6.19-rc5-mm1 Mariusz Kozlowski
2006-11-13 22:19   ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-13 22:26     ` 2.6.19-rc5-mm1 Mariusz Kozlowski
2006-11-13 23:37       ` 2.6.19-rc5-mm1 Andrew Morton
2006-11-13 21:03 ` [-mm patch] arch/i386/kernel/apic.c: make a function static Adrian Bunk
2006-11-14  6:54   ` Ingo Molnar
2006-11-13 21:03 ` [-mm patch] make arch/i386/kernel/io_apic.c:timer_irq_works() static again Adrian Bunk
2006-11-13 21:52   ` Zachary Amsden
2006-11-14  6:53   ` Ingo Molnar
2006-11-13 21:03 ` [-mm patch] i386: unexport read_persistent_clock Adrian Bunk
2006-11-13 21:04 ` [-mm patch] make arch/i386/kernel/cpu/common.c:alloc_gdt() static Adrian Bunk

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20061108101346.c2c3c862.akpm@osdl.org \
    --to=akpm@osdl.org \
    --cc=ak@muc.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=m.kozlowski@tuxland.pl \
    --cc=mail@earthworm.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome