Frans Pop | 1 Oct 2009 03:39
Picon

vmlinux.lds:319: undefined symbol `THREAD_SIZE'

v2.6.32-rc1-134-g84d88d5 fails to compile on my hppa box:
[...]
  LD      vmlinux.o
  MODPOST vmlinux.o
  GEN     .version
  CHK     include/linux/compile.h
  UPD     include/linux/compile.h
  CC      init/version.o
  LD      init/built-in.o
  LD      .tmp_vmlinux1
arch/parisc/kernel/vmlinux.lds:319: undefined symbol `THREAD_SIZE' 
referenced in expression
make[5]: *** [.tmp_vmlinux1] Error 1

Failure above was with default config, but I've also seen it with my own 
config.

System is running Debian unstable.

Cheers,
FJP
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Carlos O'Donell | 1 Oct 2009 04:05
Gravatar

Re: vmlinux.lds:319: undefined symbol `THREAD_SIZE'

On Wed, Sep 30, 2009 at 9:39 PM, Frans Pop <elendil <at> planet.nl> wrote:
> arch/parisc/kernel/vmlinux.lds:319: undefined symbol `THREAD_SIZE'
> referenced in expression
> make[5]: *** [.tmp_vmlinux1] Error 1

Fixed upstream?

http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commitdiff;h=f32ed3954c5e365907738b1206e849b6bbe9bcef

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Frans Pop | 1 Oct 2009 04:24
Picon

Re: vmlinux.lds:319: undefined symbol `THREAD_SIZE'

On Thursday 01 October 2009, Frans Pop wrote:
> v2.6.32-rc1-134-g84d88d5 fails to compile on my hppa box:
> [...]
>   LD      vmlinux.o
>   MODPOST vmlinux.o
>   GEN     .version
>   CHK     include/linux/compile.h
>   UPD     include/linux/compile.h
>   CC      init/version.o
>   LD      init/built-in.o
>   LD      .tmp_vmlinux1
> arch/parisc/kernel/vmlinux.lds:319: undefined symbol `THREAD_SIZE'
> referenced in expression
> make[5]: *** [.tmp_vmlinux1] Error 1
>
> Failure above was with default config, but I've also seen it with my own
> config.

Sorry, it was not a default config after all, so attached the config I 
used.

#
# Automatically generated make config: don't edit
# Linux kernel version: 2.6.32-rc1
# Thu Oct  1 03:45:23 2009
#
CONFIG_PARISC=y
CONFIG_MMU=y
(Continue reading)

Frans Pop | 1 Oct 2009 05:35
Picon

Re: vmlinux.lds:319: undefined symbol `THREAD_SIZE'

On Thursday 01 October 2009, Carlos O'Donell wrote:
> On Wed, Sep 30, 2009 at 9:39 PM, Frans Pop <elendil <at> planet.nl> wrote:
> > arch/parisc/kernel/vmlinux.lds:319: undefined symbol `THREAD_SIZE'
> > referenced in expression
> > make[5]: *** [.tmp_vmlinux1] Error 1
>
> Fixed upstream?
>
> http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commitdi
>ff;h=f32ed3954c5e365907738b1206e849b6bbe9bcef

Nope. With that patch applied I still get the error, even for an
'allnoconfig" build.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Kyle McMartin | 1 Oct 2009 18:32
Picon

Re: vmlinux.lds:319: undefined symbol `THREAD_SIZE'

On Thu, Oct 01, 2009 at 05:35:38AM +0200, Frans Pop wrote:
> On Thursday 01 October 2009, Carlos O'Donell wrote:
> > On Wed, Sep 30, 2009 at 9:39 PM, Frans Pop <elendil <at> planet.nl> wrote:
> > > arch/parisc/kernel/vmlinux.lds:319: undefined symbol `THREAD_SIZE'
> > > referenced in expression
> > > make[5]: *** [.tmp_vmlinux1] Error 1
> >
> > Fixed upstream?
> >
> > http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commitdi
> >ff;h=f32ed3954c5e365907738b1206e849b6bbe9bcef
> 
> Nope. With that patch applied I still get the error, even for an
> 'allnoconfig" build.

You need this one too:
http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commitdiff;h=8cf06fc9bd660c28afea4115fd91a2cc4978eb54
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Frans Pop | 2 Oct 2009 02:25
Picon

Re: vmlinux.lds:319: undefined symbol `THREAD_SIZE'

On Thursday 01 October 2009, Kyle McMartin wrote:
> On Thu, Oct 01, 2009 at 05:35:38AM +0200, Frans Pop wrote:
> > On Thursday 01 October 2009, Carlos O'Donell wrote:
> > > On Wed, Sep 30, 2009 at 9:39 PM, Frans Pop <elendil <at> planet.nl> wrote:
> > > > arch/parisc/kernel/vmlinux.lds:319: undefined symbol `THREAD_SIZE'
> > > > referenced in expression
> > > > make[5]: *** [.tmp_vmlinux1] Error 1
> > >
> > > Fixed upstream?
> > >
> > > http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=comm
> > >itdi ff;h=f32ed3954c5e365907738b1206e849b6bbe9bcef
> >
> > Nope. With that patch applied I still get the error, even for an
> > 'allnoconfig" build.
>
> You need this one too:
> http://git.kernel.org/?p=linux/kernel/git/kyle/parisc-2.6.git;a=commitdi
>ff;h=8cf06fc9bd660c28afea4115fd91a2cc4978eb54

Yep, that fixed it.

The resulting kernel boots fine on my box, but there does seem to be a 
regression. With 2.6.31 I not had any problems running aptitude, but with 
this kernel it's segfaulted on me once and frozen twice. Unfortunately 
it's not reliably reproducible,

Thanks,
FJP
--
(Continue reading)

Carlos O'Donell | 2 Oct 2009 03:36
Gravatar

Build failure?

Helge, Kyle,

Building 2.6.32-rc2
(git://git.kernel.org/pub/scm/linux/kernel/git/kyle/parisc-2.6.git)

Results in:

drivers/char/agp/parisc-agp.c:220: error:
'parisc_agp_page_mask_memory' undeclared here (not in a function)
make[3]: *** [drivers/char/agp/parisc-agp.o] Error 1
make[2]: *** [drivers/char/agp] Error 2
make[1]: *** [drivers/char] Error 2
make: *** [drivers] Error 2

I haven't looked into this yet.

Cheers,
Carlos.
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

John David Anglin | 2 Oct 2009 03:43
Picon

Re: Build failure?

> drivers/char/agp/parisc-agp.c:220: error:
> 'parisc_agp_page_mask_memory' undeclared here (not in a function)
> make[3]: *** [drivers/char/agp/parisc-agp.o] Error 1
> make[2]: *** [drivers/char/agp] Error 2
> make[1]: *** [drivers/char] Error 2
> make: *** [drivers] Error 2
> 
> I haven't looked into this yet.

I seem to recall there is a patch in Kyle's tree that may fix this.

Dave
--

-- 
J. David Anglin                                  dave.anglin <at> nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6602)
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Kyle McMartin | 2 Oct 2009 19:04
Picon

Re: Build failure?

On Thu, Oct 01, 2009 at 09:43:46PM -0400, John David Anglin wrote:
> > drivers/char/agp/parisc-agp.c:220: error:
> > 'parisc_agp_page_mask_memory' undeclared here (not in a function)
> > make[3]: *** [drivers/char/agp/parisc-agp.o] Error 1
> > make[2]: *** [drivers/char/agp] Error 2
> > make[1]: *** [drivers/char] Error 2
> > make: *** [drivers] Error 2
> > 
> > I haven't looked into this yet.
> 
> I seem to recall there is a patch in Kyle's tree that may fix this.
> 

Yes, Helge submitted a fix, but it's not in my tree, since it should go
in via the agp tree. Hopefully Airlied will pick it up. You can just
turn off the driver though, since I think I'm the only person on earth
running linux on a box with a Quicksilver ASIC and also using
graphics...

r, Kyle
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Helge Deller | 2 Oct 2009 20:53
Picon
Picon

Re: Build failure?

On 10/02/2009 03:43 AM, John David Anglin wrote:
>> drivers/char/agp/parisc-agp.c:220: error:
>> 'parisc_agp_page_mask_memory' undeclared here (not in a function)
>> make[3]: *** [drivers/char/agp/parisc-agp.o] Error 1
>> make[2]: *** [drivers/char/agp] Error 2
>> make[1]: *** [drivers/char] Error 2
>> make: *** [drivers] Error 2
>>
>> I haven't looked into this yet.
>
> I seem to recall there is a patch in Kyle's tree that may fix this.

No, it's not in Kyle's tree, but available here:
http://patchwork.kernel.org/patch/50348/

Btw, I've started to collect not-yet-applied patches to various trees here:
http://userweb.kernel.org/~deller/parisc/patches.still-needed/
The AGP-Patch is in the 2.6.32 subtree.

Helge
--
To unsubscribe from this list: send the line "unsubscribe linux-parisc" in
the body of a message to majordomo <at> vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html


Gmane