* latest git: compile error: arch/powerpc/kernel/built-in.o
@ 2006-08-10 18:11 Wolfgang Pfeiffer
2006-08-10 21:14 ` Haren Myneni
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Pfeiffer @ 2006-08-10 18:11 UTC (permalink / raw)
To: linux-ppc
Hi All
I'm trying to compile a fresh git kernel, with latest sources pulled today,
Aug. 10. To no avail so far.
OS is Debian/unstable, last time I upgraded the system as far as the
dependencies allowed doing that was yesterday, Aug. 10.
---------------------
$ cat /proc/cpuinfo
processor : 0
cpu : 7447A, altivec supported
clock : 833.333000MHz
revision : 0.5 (pvr 8003 0105)
bogomips : 16.57
timebase : 8320000
platform : PowerMac
machine : PowerBook5,8
motherboard : PowerBook5,8 MacRISC3 Power Macintosh
detected as : 287 (PowerBook G4 15")
pmac flags : 00000019
L2 cache : 512K unified
pmac-generation : NewWorld
-----------------------------
Here's the config I used:
http://wolfgangpfeiffer.com/config.060810.txt
The compile messages:
--------------------------------
time MAKEFLAGS="CC=gcc-4.1" fakeroot make-kpkg --append-to-version=-060810 kernel_image
results in [excerpts]:
CC lib/sha1.o
CC lib/string.o
CC lib/vsprintf.o
AR lib/lib.a
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/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
(.text+0xcd34): undefined reference to `kexec_sr_activated'
arch/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
(.text+0xcd44): undefined reference to `crash_kexec_secondary'
arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
(.init.text+0x1cdc): undefined reference to `reserve_crashkernel'
arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
(.init.text+0x1e1c): undefined reference to `overlaps_crashkernel'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/shorty/kernel-factory/git.08102006/linux-2.6'
make: *** [debian/stamp-build-kernel] Error 2
real 9m39.089s
user 8m21.904s
sys 0m59.167s
------------------------------------------------------------
and with gcc-4.0 the same:
time MAKEFLAGS="CC=gcc-4.0" fakeroot make-kpkg --append-to-version=-060810 kernel_image
results in [excerpts]:
CC lib/vsprintf.o
AR lib/lib.a
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/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
(.text+0xcccc): undefined reference to `kexec_sr_activated'
arch/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
(.text+0xccdc): undefined reference to `crash_kexec_secondary'
arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
(.init.text+0x15d0): undefined reference to `reserve_crashkernel'
arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
(.init.text+0x1710): undefined reference to `overlaps_crashkernel'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/home/shorty/kernel-factory/git.08102006/linux-2.6'
make: *** [debian/stamp-build-kernel] Error 2
--------------------------------------
Please let me know if you need more details.
Thanks in anticipation
Best Regards
Wolfgang Pfeiffer
--
Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer
Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: latest git: compile error: arch/powerpc/kernel/built-in.o
2006-08-10 18:11 Wolfgang Pfeiffer
@ 2006-08-10 21:14 ` Haren Myneni
2006-08-10 23:21 ` Wolfgang Pfeiffer
0 siblings, 1 reply; 8+ messages in thread
From: Haren Myneni @ 2006-08-10 21:14 UTC (permalink / raw)
To: Wolfgang Pfeiffer; +Cc: linux-ppc, ellerman
Wolfgang Pfeiffer wrote:
A couple of Michael's patches are needed. I am able to build with your
config file.
http://ozlabs.org/pipermail/linuxppc-dev/2006-July/024271.html
http://ozlabs.org/pipermail/linuxppc-dev/2006-July/024272.html
Thanks
Haren
>Hi All
>
>I'm trying to compile a fresh git kernel, with latest sources pulled today,
>Aug. 10. To no avail so far.
>
>OS is Debian/unstable, last time I upgraded the system as far as the
>dependencies allowed doing that was yesterday, Aug. 10.
>
>---------------------
>$ cat /proc/cpuinfo
>processor : 0
>cpu : 7447A, altivec supported
>clock : 833.333000MHz
>revision : 0.5 (pvr 8003 0105)
>bogomips : 16.57
>timebase : 8320000
>platform : PowerMac
>machine : PowerBook5,8
>motherboard : PowerBook5,8 MacRISC3 Power Macintosh
>detected as : 287 (PowerBook G4 15")
>pmac flags : 00000019
>L2 cache : 512K unified
>pmac-generation : NewWorld
>-----------------------------
>
>Here's the config I used:
>
>http://wolfgangpfeiffer.com/config.060810.txt
>
>The compile messages:
>
>--------------------------------
>time MAKEFLAGS="CC=gcc-4.1" fakeroot make-kpkg --append-to-version=-060810 kernel_image
>
>results in [excerpts]:
>
> CC lib/sha1.o
> CC lib/string.o
> CC lib/vsprintf.o
> AR lib/lib.a
> 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/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
>(.text+0xcd34): undefined reference to `kexec_sr_activated'
>arch/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
>(.text+0xcd44): undefined reference to `crash_kexec_secondary'
>arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
>(.init.text+0x1cdc): undefined reference to `reserve_crashkernel'
>arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
>(.init.text+0x1e1c): undefined reference to `overlaps_crashkernel'
>make[1]: *** [.tmp_vmlinux1] Error 1
>make[1]: Leaving directory `/home/shorty/kernel-factory/git.08102006/linux-2.6'
>make: *** [debian/stamp-build-kernel] Error 2
>
>real 9m39.089s
>user 8m21.904s
>sys 0m59.167s
>
>------------------------------------------------------------
>
>and with gcc-4.0 the same:
>
>time MAKEFLAGS="CC=gcc-4.0" fakeroot make-kpkg --append-to-version=-060810 kernel_image
>
>results in [excerpts]:
>
> CC lib/vsprintf.o
> AR lib/lib.a
> 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/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
>(.text+0xcccc): undefined reference to `kexec_sr_activated'
>arch/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
>(.text+0xccdc): undefined reference to `crash_kexec_secondary'
>arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
>(.init.text+0x15d0): undefined reference to `reserve_crashkernel'
>arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
>(.init.text+0x1710): undefined reference to `overlaps_crashkernel'
>make[1]: *** [.tmp_vmlinux1] Error 1
>make[1]: Leaving directory `/home/shorty/kernel-factory/git.08102006/linux-2.6'
>make: *** [debian/stamp-build-kernel] Error 2
>
>--------------------------------------
>
>Please let me know if you need more details.
>
>Thanks in anticipation
>
>Best Regards
>Wolfgang Pfeiffer
>
>
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: latest git: compile error: arch/powerpc/kernel/built-in.o
2006-08-10 21:14 ` Haren Myneni
@ 2006-08-10 23:21 ` Wolfgang Pfeiffer
2006-08-10 23:48 ` Michael Ellerman
2006-08-17 6:41 ` Paul Mackerras
0 siblings, 2 replies; 8+ messages in thread
From: Wolfgang Pfeiffer @ 2006-08-10 23:21 UTC (permalink / raw)
To: Haren Myneni; +Cc: linux-ppc, ellerman
On Thu, Aug 10, 2006 at 02:14:46PM -0700, Haren Myneni wrote:
> Wolfgang Pfeiffer wrote:
>
> A couple of Michael's patches are needed. I am able to build with your
> config file.
>
> http://ozlabs.org/pipermail/linuxppc-dev/2006-July/024271.html
> http://ozlabs.org/pipermail/linuxppc-dev/2006-July/024272.html
Yes. Works. Although I could take the patches on the pages above from the
the corresponding messages that are still in my mail folder ... :)
Strange tho' - for me at least - that these patches from about 5 weeks (!)
ago still don't seem to have made it into the current git tree ...
>
> Thanks
> Haren
Ditto: Thanks. To Michael Ellerman, too :)
Best Regards
Wolfgang
>
> >Hi All
> >
> >I'm trying to compile a fresh git kernel, with latest sources pulled today,
> >Aug. 10. To no avail so far.
[ ... ]
--
Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer
Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: latest git: compile error: arch/powerpc/kernel/built-in.o
2006-08-10 23:21 ` Wolfgang Pfeiffer
@ 2006-08-10 23:48 ` Michael Ellerman
2006-08-17 6:41 ` Paul Mackerras
1 sibling, 0 replies; 8+ messages in thread
From: Michael Ellerman @ 2006-08-10 23:48 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linux-ppc
On Fri, 2006-08-11 at 01:21 +0200, Wolfgang Pfeiffer wrote:
> On Thu, Aug 10, 2006 at 02:14:46PM -0700, Haren Myneni wrote:
> > Wolfgang Pfeiffer wrote:
> >
> > A couple of Michael's patches are needed. I am able to build with your
> > config file.
> >
> > http://ozlabs.org/pipermail/linuxppc-dev/2006-July/024271.html
> > http://ozlabs.org/pipermail/linuxppc-dev/2006-July/024272.html
>
> Yes. Works. Although I could take the patches on the pages above from the
> the corresponding messages that are still in my mail folder ... :)
>
> Strange tho' - for me at least - that these patches from about 5 weeks (!)
> ago still don't seem to have made it into the current git tree ...
Hmm, yeah. My fault for not chasing them up :)
Paul, any objection to these two?
cheers
--
Michael Ellerman
IBM OzLabs
email: michaele@au.ibm.com
stime: ellerman@au1.ibm.com
notes: Michael Ellerman/Australia/IBM
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
^ permalink raw reply [flat|nested] 8+ messages in thread
* latest git: compile error: arch/powerpc/kernel/built-in.o
@ 2006-08-11 6:13 Niels Kristian Bech Jensen
0 siblings, 0 replies; 8+ messages in thread
From: Niels Kristian Bech Jensen @ 2006-08-11 6:13 UTC (permalink / raw)
To: linuxppc-dev
> LD .tmp_vmlinux1
> arch/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
> (.text+0xcd34): undefined reference to `kexec_sr_activated'
> arch/powerpc/kernel/built-in.o: In function `__restore_cpu_setup':
> (.text+0xcd44): undefined reference to `crash_kexec_secondary'
> arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
> (.init.text+0x1cdc): undefined reference to `reserve_crashkernel'
> arch/powerpc/kernel/built-in.o: In function `early_init_devtree':
> (.init.text+0x1e1c): undefined reference to `overlaps_crashkernel'
> make[1]: *** [.tmp_vmlinux1] Error 1
> make[1]: Leaving directory `/home/shorty/kernel-factory/git.08102006/linux-2.6'
> make: *** [debian/stamp-build-kernel] Error 2
I've hit the same build error in 2.6.18-rc4. Maybe the patches should also be added to the main kernel tree?
Regards,
Niels Kristian
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: latest git: compile error: arch/powerpc/kernel/built-in.o
2006-08-10 23:21 ` Wolfgang Pfeiffer
2006-08-10 23:48 ` Michael Ellerman
@ 2006-08-17 6:41 ` Paul Mackerras
2006-08-17 12:06 ` Wolfgang Pfeiffer
1 sibling, 1 reply; 8+ messages in thread
From: Paul Mackerras @ 2006-08-17 6:41 UTC (permalink / raw)
To: Wolfgang Pfeiffer; +Cc: linux-ppc, ellerman
Wolfgang Pfeiffer writes:
> Strange tho' - for me at least - that these patches from about 5 weeks (!)
> ago still don't seem to have made it into the current git tree ...
5 weeks ago was a particularly bad time for patches trying to get into
the git tree, since I was on vacation and then travelling to OLS. :)
I've picked up these patches now and I'll send them on for inclusion
in 2.6.18.
Paul.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: latest git: compile error: arch/powerpc/kernel/built-in.o
2006-08-17 6:41 ` Paul Mackerras
@ 2006-08-17 12:06 ` Wolfgang Pfeiffer
2006-08-18 0:01 ` Michael Ellerman
0 siblings, 1 reply; 8+ messages in thread
From: Wolfgang Pfeiffer @ 2006-08-17 12:06 UTC (permalink / raw)
To: Paul Mackerras; +Cc: linux-ppc, ellerman
On Thu, Aug 17, 2006 at 04:41:58PM +1000, Paul Mackerras wrote:
> Wolfgang Pfeiffer writes:
>
> > Strange tho' - for me at least - that these patches from about 5 weeks (!)
> > ago still don't seem to have made it into the current git tree ...
>
> 5 weeks ago was a particularly bad time for patches trying to get into
> the git tree, since I was on vacation and then travelling to OLS. :)
[ ... ]
Michael, Paul, and everyone else being involved:
My apologies for my perhaps too strong wording when I was complaining
about the delay ... I didn't mean the words as ugly as they actually
might read ...
And after all <wild guess following ... :) > if there were more folks
actually compiling these kernels on machines like the one mentioned,
*and* telling about the results, the delay perhaps would have been
much shorter .. :)
Thanks for your fine work for this software, to everyone out there in
Kernel City.
Best Regards
Wolfgang
--
Wolfgang Pfeiffer: /ICQ: 286585973/ + + + /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer
Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: latest git: compile error: arch/powerpc/kernel/built-in.o
2006-08-17 12:06 ` Wolfgang Pfeiffer
@ 2006-08-18 0:01 ` Michael Ellerman
0 siblings, 0 replies; 8+ messages in thread
From: Michael Ellerman @ 2006-08-18 0:01 UTC (permalink / raw)
To: Wolfgang Pfeiffer; +Cc: linux-ppc, Michael Ellerman, Paul Mackerras
On Thu, 2006-08-17 at 14:06 +0200, Wolfgang Pfeiffer wrote:
> On Thu, Aug 17, 2006 at 04:41:58PM +1000, Paul Mackerras wrote:
> > Wolfgang Pfeiffer writes:
> >
> > > Strange tho' - for me at least - that these patches from about 5 weeks (!)
> > > ago still don't seem to have made it into the current git tree ...
> >
> > 5 weeks ago was a particularly bad time for patches trying to get into
> > the git tree, since I was on vacation and then travelling to OLS. :)
>
> [ ... ]
>
> Michael, Paul, and everyone else being involved:
>
> My apologies for my perhaps too strong wording when I was complaining
> about the delay ... I didn't mean the words as ugly as they actually
> might read ...
No worries, thanks for catching the error and reporting it.
cheers
--
Michael Ellerman
IBM OzLabs
email: michaele@au.ibm.com
stime: ellerman@au1.ibm.com
notes: Michael Ellerman/Australia/IBM
phone: +61 2 6212 1183 (tie line 70 21183)
We do not inherit the earth from our ancestors,
we borrow it from our children. - S.M.A.R.T Person
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-08-18 0:01 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-08-11 6:13 latest git: compile error: arch/powerpc/kernel/built-in.o Niels Kristian Bech Jensen
-- strict thread matches above, loose matches on Subject: below --
2006-08-10 18:11 Wolfgang Pfeiffer
2006-08-10 21:14 ` Haren Myneni
2006-08-10 23:21 ` Wolfgang Pfeiffer
2006-08-10 23:48 ` Michael Ellerman
2006-08-17 6:41 ` Paul Mackerras
2006-08-17 12:06 ` Wolfgang Pfeiffer
2006-08-18 0:01 ` Michael Ellerman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).