lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite for Android: free password hash cracker in your pocket
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:	Thu, 11 Jul 2013 18:00:08 -0500
From:	Rob Landley <rob@...dley.net>
To:	David Howells <dhowells@...hat.com>
Cc:	Geert Uytterhoeven <geert@...ux-m68k.org>, dhowells@...hat.com,
	Andrew Morton <akpm@...ux-foundation.org>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	Patrick McHardy <kaber@...sh.net>,
	"David S. Miller" <davem@...emloft.net>, linux-net@...r.kernel.org
Subject: Re: 3.10-rc1: commit ccdfcc398594 broke uClibc build.

On 07/09/2013 05:25:53 AM, David Howells wrote:
> Geert Uytterhoeven <geert@...ux-m68k.org> wrote:
> 
> > The #include <linux/kernel.h> added to include/uapi/linux/netlink.h  
> causes
> > the uClibc build to go:
> >
> > In file included from include/linux/kernel.h:4,
> >                  from include/linux/netlink.h:4,
> >                  from include/linux/rtnetlink.h:5,
> >                  from libc/inet/netlinkaccess.h:27,
> >                  from libc/inet/if_index.c:37:
> > > include/linux/sysinfo.h:8: error: expected  
> specifier-qualifier-list before
> > > '__kernel_long_t'
> > > make: *** [libc/inet/if_index.o] Error 1
> > >
> > > If I comment out that line, it builds fine. The kernel builds  
> (for my
> > > config) either way.
> 
> Comment out which line?  Line 8 of include/linux/sysinfo.h or the new  
> #include
> line?

http://landley.net/hg/aboriginal/file/1616/sources/patches/linux-fixuClibc.patch

> Also, what arch are you compiling for?

My Aboriginal Linux project does arm, mips, powerpc, sparc, sh4, x86,  
x86_64, m68k, and I'm poking at adding alpha.

I believe the uClibc build breaks in a target-independent manner. I  
just rebuilt armv5l without the patch to confirm:

   CC libc/inet/if_index.os
In file included from  
/home/landley/aboriginal/aboriginal/build/simple-cross-compiler-armv5l/include/linux/kernel.h:4,
                  from  
/home/landley/aboriginal/aboriginal/build/simple-cross-compiler-armv5l/include/linux/netlink.h:4,
                  from  
/home/landley/aboriginal/aboriginal/build/simple-cross-compiler-armv5l/include/linux/rtnetlink.h:5,
                  from libc/inet/netlinkaccess.h:27,
                  from libc/inet/if_index.c:37:
/home/landley/aboriginal/aboriginal/build/simple-cross-compiler-armv5l/include/linux/sysinfo.h:8:  
error: expected specifier-qualifier-list before '__kernel_long_t'
make: *** [libc/inet/if_index.os] Error 1
make: *** Waiting for unfinished jobs....

Rob--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ