* 2.6.35-rc2 compilation error on Alpha
@ 2010-06-06 22:35 Michael Cree
2010-06-07 0:08 ` Matt Turner
0 siblings, 1 reply; 6+ messages in thread
From: Michael Cree @ 2010-06-06 22:35 UTC (permalink / raw)
To: linux-kernel; +Cc: Borislav Petkov, H. Peter Anvin, linux-alpha
When compiling 2.6.35-rc2 for Alpha architecture the following compiler
error is seen:
CC arch/alpha/kernel/asm-offsets.s
In file included from include/linux/kernel.h:17,
from include/linux/sched.h:54,
from arch/alpha/kernel/asm-offsets.c:9:
include/linux/bitops.h: In function ‘hweight_long’:
include/linux/bitops.h:49: error: implicit declaration of function
‘__arch_hweight32’
Cheers
Michael.
^ permalink raw reply [flat|nested] 6+ messages in thread* Re: 2.6.35-rc2 compilation error on Alpha 2010-06-06 22:35 2.6.35-rc2 compilation error on Alpha Michael Cree @ 2010-06-07 0:08 ` Matt Turner 2010-06-07 1:13 ` Michael Cree 0 siblings, 1 reply; 6+ messages in thread From: Matt Turner @ 2010-06-07 0:08 UTC (permalink / raw) To: Michael Cree; +Cc: linux-kernel, Borislav Petkov, H. Peter Anvin, linux-alpha On Sun, Jun 6, 2010 at 6:35 PM, Michael Cree <mcree@orcon.net.nz> wrote: > When compiling 2.6.35-rc2 for Alpha architecture the following compiler > error is seen: > > CC arch/alpha/kernel/asm-offsets.s > In file included from include/linux/kernel.h:17, > from include/linux/sched.h:54, > from arch/alpha/kernel/asm-offsets.c:9: > include/linux/bitops.h: In function ‘hweight_long’: > include/linux/bitops.h:49: error: implicit declaration of function > ‘__arch_hweight32’ > > Cheers > Michael. > -- > To unsubscribe from this list: send the line "unsubscribe linux-alpha" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Yeah, it was a stupid typo in 1527bc8b928dd1399c3d3467dd47d9ede210978a. I've fixed it and put the patch in my tree for Linus. Unfortunately, there's another compile error--PCI breakage. I'll do this too... Thanks, Matt ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.35-rc2 compilation error on Alpha 2010-06-07 0:08 ` Matt Turner @ 2010-06-07 1:13 ` Michael Cree 2010-06-07 1:24 ` Matt Turner 0 siblings, 1 reply; 6+ messages in thread From: Michael Cree @ 2010-06-07 1:13 UTC (permalink / raw) To: Matt Turner; +Cc: linux-kernel, Borislav Petkov, H. Peter Anvin, linux-alpha On 07/06/10 12:08, Matt Turner wrote: > On Sun, Jun 6, 2010 at 6:35 PM, Michael Cree<mcree@orcon.net.nz> wrote: >> When compiling 2.6.35-rc2 for Alpha architecture the following compiler >> error is seen: >> >> CC arch/alpha/kernel/asm-offsets.s >> In file included from include/linux/kernel.h:17, >> from include/linux/sched.h:54, >> from arch/alpha/kernel/asm-offsets.c:9: >> include/linux/bitops.h: In function ‘hweight_long’: >> include/linux/bitops.h:49: error: implicit declaration of function >> ‘__arch_hweight32’ > > Yeah, it was a stupid typo in > 1527bc8b928dd1399c3d3467dd47d9ede210978a. I've fixed it and put the > patch in my tree for Linus. Ah, now the offending commit is pointed out to me I can see the trivial fix. With that, as you say, compilation now bombs out in the pci-sysfs stuff. Since you claim to have that in hand I'll await your solution. Cheers Michael. ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.35-rc2 compilation error on Alpha 2010-06-07 1:13 ` Michael Cree @ 2010-06-07 1:24 ` Matt Turner 2010-06-07 3:04 ` Greg KH 2010-06-08 17:24 ` Chris Wright 0 siblings, 2 replies; 6+ messages in thread From: Matt Turner @ 2010-06-07 1:24 UTC (permalink / raw) To: Michael Cree Cc: linux-kernel, Borislav Petkov, H. Peter Anvin, linux-alpha, Chris Wright, Greg Kroah-Hartman, Peter Zijlstra On Sun, Jun 6, 2010 at 9:13 PM, Michael Cree <mcree@orcon.net.nz> wrote: > On 07/06/10 12:08, Matt Turner wrote: >> >> On Sun, Jun 6, 2010 at 6:35 PM, Michael Cree<mcree@orcon.net.nz> wrote: >>> >>> When compiling 2.6.35-rc2 for Alpha architecture the following compiler >>> error is seen: >>> >>> CC arch/alpha/kernel/asm-offsets.s >>> In file included from include/linux/kernel.h:17, >>> from include/linux/sched.h:54, >>> from arch/alpha/kernel/asm-offsets.c:9: >>> include/linux/bitops.h: In function ‘hweight_long’: >>> include/linux/bitops.h:49: error: implicit declaration of function >>> ‘__arch_hweight32’ >> >> Yeah, it was a stupid typo in >> 1527bc8b928dd1399c3d3467dd47d9ede210978a. I've fixed it and put the >> patch in my tree for Linus. > > Ah, now the offending commit is pointed out to me I can see the trivial fix. > With that, as you say, compilation now bombs out in the pci-sysfs stuff. > Since you claim to have that in hand I'll await your solution. > > Cheers > Michael. > -- > To unsubscribe from this list: send the line "unsubscribe linux-alpha" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html > Fixes for both breaks are in: git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha-2.6.git for-linus I know alpha hardware isn't easy to get your hands on to compile test these changes, but guys, please just send linux-alpha@ the patch and _I'll_ do it. Both these breaks were not even compile tested. pci break: 2c3c8bea608866d8bd9dcf92657d57fdcac011c5 hweight break: 1527bc8b928dd1399c3d3467dd47d9ede210978a Greg, I haven't checked, but if either of these commits are in .34 or older, then my fixes need to go into -stable. Thanks, Matt ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.35-rc2 compilation error on Alpha 2010-06-07 1:24 ` Matt Turner @ 2010-06-07 3:04 ` Greg KH 2010-06-08 17:24 ` Chris Wright 1 sibling, 0 replies; 6+ messages in thread From: Greg KH @ 2010-06-07 3:04 UTC (permalink / raw) To: Matt Turner Cc: Michael Cree, linux-kernel, Borislav Petkov, H. Peter Anvin, linux-alpha, Chris Wright, Peter Zijlstra On Sun, Jun 06, 2010 at 09:24:03PM -0400, Matt Turner wrote: > On Sun, Jun 6, 2010 at 9:13 PM, Michael Cree <mcree@orcon.net.nz> wrote: > > On 07/06/10 12:08, Matt Turner wrote: > >> > >> On Sun, Jun 6, 2010 at 6:35 PM, Michael Cree<mcree@orcon.net.nz> ?wrote: > >>> > >>> When compiling 2.6.35-rc2 for Alpha architecture the following compiler > >>> error is seen: > >>> > >>> ?CC ? ? ?arch/alpha/kernel/asm-offsets.s > >>> In file included from include/linux/kernel.h:17, > >>> ? ? ? ? ? ? ? ? from include/linux/sched.h:54, > >>> ? ? ? ? ? ? ? ? from arch/alpha/kernel/asm-offsets.c:9: > >>> include/linux/bitops.h: In function ?hweight_long?: > >>> include/linux/bitops.h:49: error: implicit declaration of function > >>> ?__arch_hweight32? > >> > >> Yeah, it was a stupid typo in > >> 1527bc8b928dd1399c3d3467dd47d9ede210978a. I've fixed it and put the > >> patch in my tree for Linus. > > > > Ah, now the offending commit is pointed out to me I can see the trivial fix. > > ?With that, as you say, compilation now bombs out in the pci-sysfs stuff. > > ?Since you claim to have that in hand I'll await your solution. > > > > Cheers > > Michael. > > -- > > To unsubscribe from this list: send the line "unsubscribe linux-alpha" in > > the body of a message to majordomo@vger.kernel.org > > More majordomo info at ?http://vger.kernel.org/majordomo-info.html > > > > Fixes for both breaks are in: > git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha-2.6.git > for-linus > > I know alpha hardware isn't easy to get your hands on to compile test > these changes, but guys, please just send linux-alpha@ the patch and > _I'll_ do it. Both these breaks were not even compile tested. > > pci break: 2c3c8bea608866d8bd9dcf92657d57fdcac011c5 > hweight break: 1527bc8b928dd1399c3d3467dd47d9ede210978a > > Greg, I haven't checked, but if either of these commits are in .34 or > older, then my fixes need to go into -stable. Could you check please? thanks, greg k-h ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: 2.6.35-rc2 compilation error on Alpha 2010-06-07 1:24 ` Matt Turner 2010-06-07 3:04 ` Greg KH @ 2010-06-08 17:24 ` Chris Wright 1 sibling, 0 replies; 6+ messages in thread From: Chris Wright @ 2010-06-08 17:24 UTC (permalink / raw) To: Matt Turner Cc: Michael Cree, linux-kernel, Borislav Petkov, H. Peter Anvin, linux-alpha, Chris Wright, Greg Kroah-Hartman, Peter Zijlstra * Matt Turner (mattst88@gmail.com) wrote: > Fixes for both breaks are in: > git://git.kernel.org/pub/scm/linux/kernel/git/mattst88/alpha-2.6.git > for-linus Your 83926ce2dd37e4337ecf53b1e435d08e70b5871b will work, but you can also simply drop the filp from pci_mmap_resource(). That's an internal helper (local to alpha/kernel/pci-sysfs.c) and doesn't require the filp. Sorry, that was my fault, and should be localized to 2.6.35-rc. > I know alpha hardware isn't easy to get your hands on to compile test > these changes, but guys, please just send linux-alpha@ the patch and > _I'll_ do it. Both these breaks were not even compile tested. > > pci break: 2c3c8bea608866d8bd9dcf92657d57fdcac011c5 $ git describe --contains 2c3c8bea608866d8bd9dcf92657d57fdcac011c5 v2.6.35-rc1~459^2~9 > hweight break: 1527bc8b928dd1399c3d3467dd47d9ede210978a > > Greg, I haven't checked, but if either of these commits are in .34 or > older, then my fixes need to go into -stable. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2010-06-08 17:25 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-06-06 22:35 2.6.35-rc2 compilation error on Alpha Michael Cree 2010-06-07 0:08 ` Matt Turner 2010-06-07 1:13 ` Michael Cree 2010-06-07 1:24 ` Matt Turner 2010-06-07 3:04 ` Greg KH 2010-06-08 17:24 ` Chris Wright
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox