Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 263791

Summary: sys-kernel/gentoo-sources-2.6.29 - include/linux/unaligned/access_ok.h:9: error: stray '#' in program
Product: Gentoo Linux Reporter: David Pyke <gentoo-bugs>
Component: [OLD] Core systemAssignee: Gentoo Kernel Bug Wranglers and Kernel Maintainers <kernel>
Status: RESOLVED INVALID    
Severity: normal CC: jer
Priority: High    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: my kernel configuration
My paludis info

Description David Pyke 2009-03-25 22:23:46 UTC
compiling the kernel results in the following:

In file included from /usr/src/linux-2.6.29-gentoo/arch/x86/include/asm/unaligned.h:8,                              
                 from include/linux/etherdevice.h:30,                                                               
                 from net/mac80211/key.c:13:                                                                        
include/linux/unaligned/access_ok.h: In function 'get_unaligned_le16':                                              
include/linux/unaligned/access_ok.h:9: error: stray '#' in program                                                  
include/linux/unaligned/access_ok.h:9: warning: return makes integer from pointer without a cast                    
make[2]: *** [net/mac80211/key.o] Error 1                                                             

Reproducible: Always




I will attach my .config
Comment 1 David Pyke 2009-03-25 22:24:27 UTC
Created attachment 186272 [details]
my kernel configuration
Comment 2 David Pyke 2009-03-25 22:25:29 UTC
I'm using gcc-4.3.3 with the latest ~amd64 glibc (if that matters)
Comment 3 Jeroen Roovers (RETIRED) gentoo-dev 2009-03-27 23:48:47 UTC
Please post your `emerge --info' too. Can't seem to find that stray # in that file...
Comment 4 David Pyke 2009-03-28 12:32:53 UTC
Weird, now I can't duplicate it.  Was one of the patches changed?
Comment 5 Mike Pagano gentoo-dev 2009-03-29 00:01:32 UTC
No gentoo-sources patch affects include/linux/unaligned/access_ok.h
Comment 6 David Pyke 2009-03-29 00:46:08 UTC
Created attachment 186599 [details]
My paludis info
Comment 7 David Pyke 2009-03-29 15:26:20 UTC
Just found out I had a memory problem.  My apologies.