From: "Randy.Dunlap" <rdunlap@xenotime.net>
To: earny@net4u.de, akpm <akpm@osdl.org>
Cc: list-lkml@net4u.de, linux-kernel@vger.kernel.org,
rth@twiddle.net, mita@miraclelinux.com
Subject: [PATCH] alpha: generic hweight (Re: ALPHA 2.6.17-rc5 compile error)
Date: Mon, 29 May 2006 16:48:22 -0700 [thread overview]
Message-ID: <20060529164822.c16cfe43.rdunlap@xenotime.net> (raw)
In-Reply-To: <200605291848.58756.list-lkml@net4u.de>
On Mon, 29 May 2006 18:48:58 +0200 Ernst Herzberg wrote:
> moin.
>
> 2.6.16.18 works fine.
>
> 2.6.17-rc5 bails out with
>
> [.....]
> LD net/ipv4/built-in.o
> LD net/built-in.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
> lib/lib.a(bitmap.o): In function `__bitmap_weight':
> : undefined reference to `hweight64'
> lib/lib.a(bitmap.o): In function `__bitmap_weight':
> : undefined reference to `hweight64'
> lib/lib.a(bitmap.o): In function `__bitmap_weight':
> : undefined reference to `hweight64'
> lib/lib.a(bitmap.o): In function `__bitmap_weight':
> : undefined reference to `hweight64'
> drivers/built-in.o: In function `pcips2_interrupt':
> : undefined reference to `hweight8'
> drivers/built-in.o: In function `pcips2_interrupt':
> : undefined reference to `hweight8'
> net/built-in.o: In function `netlink_bind':
> : undefined reference to `hweight32'
> net/built-in.o: In function `netlink_bind':
> : undefined reference to `hweight32'
> net/built-in.o: In function `netlink_bind':
> : undefined reference to `hweight32'
> net/built-in.o: In function `netlink_bind':
> : undefined reference to `hweight32'
> make: *** [.tmp_vmlinux1] Error 1
Please try the patch below.
From: Randy Dunlap <rdunlap@xenotime.net>
According to include/asm-alpha/bitops.h, only ALPHA_EV67 has
hardware hweight support, so ALPHA_EV6 needs to use GENERIC_HWEIGHT.
Signed-off-by: Randy Dunlap <rdunlap@xenotime.net>
---
arch/alpha/Kconfig | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
--- linux-2617-rc5.orig/arch/alpha/Kconfig
+++ linux-2617-rc5/arch/alpha/Kconfig
@@ -453,7 +453,7 @@ config ALPHA_IRONGATE
config GENERIC_HWEIGHT
bool
- default y if !ALPHA_EV6 && !ALPHA_EV67
+ default y if !ALPHA_EV67
config ALPHA_AVANTI
bool
next prev parent reply other threads:[~2006-05-29 23:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-05-29 16:48 ALPHA 2.6.17-rc5 compile error Ernst Herzberg
2006-05-29 23:48 ` Randy.Dunlap [this message]
2006-05-30 14:45 ` [PATCH] alpha: generic hweight (Re: ALPHA 2.6.17-rc5 compile error) Ernst Herzberg
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=20060529164822.c16cfe43.rdunlap@xenotime.net \
--to=rdunlap@xenotime.net \
--cc=akpm@osdl.org \
--cc=earny@net4u.de \
--cc=linux-kernel@vger.kernel.org \
--cc=list-lkml@net4u.de \
--cc=mita@miraclelinux.com \
--cc=rth@twiddle.net \
/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
all inboxes | Powered by JetHome®