* multiple definition of `show_mem'
@ 2011-03-24 15:20 Marc Kleine-Budde
2011-03-24 19:47 ` John Linn
2011-03-24 22:22 ` David Rientjes
0 siblings, 2 replies; 5+ messages in thread
From: Marc Kleine-Budde @ 2011-03-24 15:20 UTC (permalink / raw)
To: linux-arm-kernel
Hello,
current mainline (v2.6.38-7210-gb81a618) on ARM/mxs has the following build failure:
> lib/lib.a(show_mem.o): In function `show_mem':
> .../linux-2.6/lib/show_mem.c:67: multiple definition of `show_mem'
> arch/arm/mm/built-in.o:.../linux-2.6/arch/arm/mm/init.c:82: first defined here
> make: *** [vmlinux.o] Error 1
After reverting these patches the kernel compiles...
cbf978bfb12d7deca97d7333f65eda0381a072de oom: suppress nodes that are not allowed from meminfo on page alloc failure
29423e77c06cee7d4e335ef4a7cbd949da978c91 oom: suppress show_mem() for many nodes in irq context on page alloc failure
ddd588b5dd55f14320379961e47683db4e4c1d90 oom: suppress nodes that are not allowed from meminfo on oom kill
No time to boot the kernel, though.
cheers, MArc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110324/9ffa1e92/attachment.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
* multiple definition of `show_mem'
2011-03-24 15:20 multiple definition of `show_mem' Marc Kleine-Budde
@ 2011-03-24 19:47 ` John Linn
2011-03-24 22:22 ` David Rientjes
1 sibling, 0 replies; 5+ messages in thread
From: John Linn @ 2011-03-24 19:47 UTC (permalink / raw)
To: linux-arm-kernel
> -----Original Message-----
> From: linux-arm-kernel-bounces at lists.infradead.org
[mailto:linux-arm-kernel-
> bounces at lists.infradead.org] On Behalf Of Marc Kleine-Budde
> Sent: Thursday, March 24, 2011 9:21 AM
> To: LKML
> Cc: linux-arm-kernel; kernel at pengutronix.de; David Rientjes
> Subject: multiple definition of `show_mem'
>
> Hello,
>
> current mainline (v2.6.38-7210-gb81a618) on ARM/mxs has the following
build failure:
>
> > lib/lib.a(show_mem.o): In function `show_mem':
> > .../linux-2.6/lib/show_mem.c:67: multiple definition of `show_mem'
> > arch/arm/mm/built-in.o:.../linux-2.6/arch/arm/mm/init.c:82: first
> > defined here
> > make: *** [vmlinux.o] Error 1
I'm seeing the same error for my patches for the new Xilinx ARM
platform.
>
> After reverting these patches the kernel compiles...
>
> cbf978bfb12d7deca97d7333f65eda0381a072de oom: suppress nodes that are
not allowed from meminfo on page
> alloc failure
> 29423e77c06cee7d4e335ef4a7cbd949da978c91 oom: suppress show_mem() for
many nodes in irq context on
> page alloc failure ddd588b5dd55f14320379961e47683db4e4c1d90 oom:
suppress nodes that are not allowed
> from meminfo on oom kill
>
> No time to boot the kernel, though.
I did the same reverts and the kernel built and booted fine.
Thanks,
John
>
> cheers, MArc
>
> --
> Pengutronix e.K. | Marc Kleine-Budde |
> Industrial Linux Solutions | Phone: +49-231-2826-924 |
> Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
^ permalink raw reply [flat|nested] 5+ messages in thread
* multiple definition of `show_mem'
2011-03-24 15:20 multiple definition of `show_mem' Marc Kleine-Budde
2011-03-24 19:47 ` John Linn
@ 2011-03-24 22:22 ` David Rientjes
2011-03-25 11:06 ` Marc Kleine-Budde
1 sibling, 1 reply; 5+ messages in thread
From: David Rientjes @ 2011-03-24 22:22 UTC (permalink / raw)
To: linux-arm-kernel
On Thu, 24 Mar 2011, Marc Kleine-Budde wrote:
> Hello,
>
> current mainline (v2.6.38-7210-gb81a618) on ARM/mxs has the following build failure:
>
> > lib/lib.a(show_mem.o): In function `show_mem':
> > .../linux-2.6/lib/show_mem.c:67: multiple definition of `show_mem'
> > arch/arm/mm/built-in.o:.../linux-2.6/arch/arm/mm/init.c:82: first defined here
> > make: *** [vmlinux.o] Error 1
>
> After reverting these patches the kernel compiles...
>
> cbf978bfb12d7deca97d7333f65eda0381a072de oom: suppress nodes that are not allowed from meminfo on page alloc failure
> 29423e77c06cee7d4e335ef4a7cbd949da978c91 oom: suppress show_mem() for many nodes in irq context on page alloc failure
> ddd588b5dd55f14320379961e47683db4e4c1d90 oom: suppress nodes that are not allowed from meminfo on oom kill
>
> No time to boot the kernel, though.
>
Sorry about that, Marc. I have a patch at
http://marc.info/?l=linux-kernel&m=130100511521954
which should fix the issue for you (and I tested it with my arm cross
compiler).
^ permalink raw reply [flat|nested] 5+ messages in thread
* multiple definition of `show_mem'
2011-03-24 22:22 ` David Rientjes
@ 2011-03-25 11:06 ` Marc Kleine-Budde
2011-03-25 17:09 ` John Linn
0 siblings, 1 reply; 5+ messages in thread
From: Marc Kleine-Budde @ 2011-03-25 11:06 UTC (permalink / raw)
To: linux-arm-kernel
On 03/24/2011 11:22 PM, David Rientjes wrote:
>> current mainline (v2.6.38-7210-gb81a618) on ARM/mxs has the following build failure:
>>
>>> lib/lib.a(show_mem.o): In function `show_mem':
>>> .../linux-2.6/lib/show_mem.c:67: multiple definition of `show_mem'
>>> arch/arm/mm/built-in.o:.../linux-2.6/arch/arm/mm/init.c:82: first defined here
>>> make: *** [vmlinux.o] Error 1
[..]
> Sorry about that, Marc. I have a patch at
>
> http://marc.info/?l=linux-kernel&m=130100511521954
>
> which should fix the issue for you (and I tested it with my arm cross
> compiler).
\o/ - the patch is already in mainline, boots like charm on my mx28evk.
regards, Marc
--
Pengutronix e.K. | Marc Kleine-Budde |
Industrial Linux Solutions | Phone: +49-231-2826-924 |
Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20110325/d45f8f9a/attachment.sig>
^ permalink raw reply [flat|nested] 5+ messages in thread
* multiple definition of `show_mem'
2011-03-25 11:06 ` Marc Kleine-Budde
@ 2011-03-25 17:09 ` John Linn
0 siblings, 0 replies; 5+ messages in thread
From: John Linn @ 2011-03-25 17:09 UTC (permalink / raw)
To: linux-arm-kernel
> -----Original Message-----
> From: linux-arm-kernel-bounces at lists.infradead.org
[mailto:linux-arm-kernel-
> bounces at lists.infradead.org] On Behalf Of Marc Kleine-Budde
> Sent: Friday, March 25, 2011 5:07 AM
> To: David Rientjes
> Cc: linux-arm-kernel; LKML; kernel at pengutronix.de
> Subject: Re: multiple definition of `show_mem'
>
> On 03/24/2011 11:22 PM, David Rientjes wrote:
> >> current mainline (v2.6.38-7210-gb81a618) on ARM/mxs has the
following build failure:
> >>
> >>> lib/lib.a(show_mem.o): In function `show_mem':
> >>> .../linux-2.6/lib/show_mem.c:67: multiple definition of `show_mem'
> >>> arch/arm/mm/built-in.o:.../linux-2.6/arch/arm/mm/init.c:82: first
> >>> defined here
> >>> make: *** [vmlinux.o] Error 1
>
> [..]
>
> > Sorry about that, Marc. I have a patch at
> >
> > http://marc.info/?l=linux-kernel&m=130100511521954
> >
> > which should fix the issue for you (and I tested it with my arm
cross
> > compiler).
>
> \o/ - the patch is already in mainline, boots like charm on my
mx28evk.
I pulled it, rebuilt without any issues, and it runs also on the Xilinx
platform.
Thanks,
John
>
> regards, Marc
> --
> Pengutronix e.K. | Marc Kleine-Budde |
> Industrial Linux Solutions | Phone: +49-231-2826-924 |
> Vertretung West/Dortmund | Fax: +49-5121-206917-5555 |
> Amtsgericht Hildesheim, HRA 2686 | http://www.pengutronix.de |
This email and any attachments are intended for the sole use of the named recipient(s) and contain(s) confidential information that may be proprietary, privileged or copyrighted under applicable law. If you are not the intended recipient, do not read, copy, or forward this email message or any attachments. Delete this email message and any attachments immediately.
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2011-03-25 17:09 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-24 15:20 multiple definition of `show_mem' Marc Kleine-Budde
2011-03-24 19:47 ` John Linn
2011-03-24 22:22 ` David Rientjes
2011-03-25 11:06 ` Marc Kleine-Budde
2011-03-25 17:09 ` John Linn
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).