sparse and multiarch include paths

2011-08-24 Thread Josh Triplett
When trying to use sparse on some low-level userspace code, I ran into the following error: /usr/include/bits/socket.h:381:11: error: unable to open 'asm/socket.h' It looks like that file lives in /usr/include/x86_64-linux-gnu/asm/socket.h , and gcc has /usr/include/x86_64-linux-gnu in its

Re: sparse and multiarch include paths

2011-08-24 Thread Chris Forbes
I've hit this as well. The ubuntu-packaged sparse seems to get this right; building from git sources gives busted paths -- suspect they have patches that need to come upstream? -- Chris On Thu, Aug 25, 2011 at 9:42 AM, Josh Triplett j...@joshtriplett.org wrote: When trying to use sparse on some

Re: sparse and multiarch include paths

2011-08-24 Thread Ludovic Brenta
Josh Triplett j...@joshtriplett.org writes: When trying to use sparse on some low-level userspace code, I ran into the following error: /usr/include/bits/socket.h:381:11: error: unable to open 'asm/socket.h' See http://bugs.debian.org/638418 Hope this helps -- Ludovic Brenta. -- To

Re: sparse and multiarch include paths

2011-08-24 Thread Josh Triplett
On Thu, Aug 25, 2011 at 12:43:37AM +0200, Ludovic Brenta wrote: Josh Triplett j...@joshtriplett.org writes: When trying to use sparse on some low-level userspace code, I ran into the following error: /usr/include/bits/socket.h:381:11: error: unable to open 'asm/socket.h' See