public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 3.10-rc1: commit ccdfcc398594 broke uClibc build.
@ 2013-05-18  4:21 Rob Landley
  2013-07-09  8:02 ` Geert Uytterhoeven
  0 siblings, 1 reply; 5+ messages in thread
From: Rob Landley @ 2013-05-18  4:21 UTC (permalink / raw)
  To: linux-kernel, kaber, davem

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.

Rob

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 3.10-rc1: commit ccdfcc398594 broke uClibc build.
  2013-05-18  4:21 3.10-rc1: commit ccdfcc398594 broke uClibc build Rob Landley
@ 2013-07-09  8:02 ` Geert Uytterhoeven
  2013-07-09  8:13   ` Geert Uytterhoeven
  2013-07-09 10:25   ` David Howells
  0 siblings, 2 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2013-07-09  8:02 UTC (permalink / raw)
  To: Rob Landley, Andrew Morton, David Howells
  Cc: linux-kernel@vger.kernel.org, Patrick McHardy, David S. Miller,
	linux-net

Widening the audience...

On Sat, May 18, 2013 at 6:21 AM, Rob Landley <rob@landley.net> 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.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 3.10-rc1: commit ccdfcc398594 broke uClibc build.
  2013-07-09  8:02 ` Geert Uytterhoeven
@ 2013-07-09  8:13   ` Geert Uytterhoeven
  2013-07-09 10:25   ` David Howells
  1 sibling, 0 replies; 5+ messages in thread
From: Geert Uytterhoeven @ 2013-07-09  8:13 UTC (permalink / raw)
  To: Rob Landley, Andrew Morton, David Howells
  Cc: linux-kernel@vger.kernel.org, Patrick McHardy, David S. Miller,
	netdev@vger.kernel.org

On Tue, Jul 9, 2013 at 10:02 AM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> Widening the audience...

Do, linux-net is no more...

> On Sat, May 18, 2013 at 6:21 AM, Rob Landley <rob@landley.net> 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.

Gr{oetje,eeting}s,

                        Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
                                -- Linus Torvalds

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 3.10-rc1: commit ccdfcc398594 broke uClibc build.
  2013-07-09  8:02 ` Geert Uytterhoeven
  2013-07-09  8:13   ` Geert Uytterhoeven
@ 2013-07-09 10:25   ` David Howells
  2013-07-11 23:00     ` Rob Landley
  1 sibling, 1 reply; 5+ messages in thread
From: David Howells @ 2013-07-09 10:25 UTC (permalink / raw)
  To: Geert Uytterhoeven
  Cc: dhowells, Rob Landley, Andrew Morton,
	linux-kernel@vger.kernel.org, Patrick McHardy, David S. Miller,
	linux-net

Geert Uytterhoeven <geert@linux-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?

Also, what arch are you compiling for?

David

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: 3.10-rc1: commit ccdfcc398594 broke uClibc build.
  2013-07-09 10:25   ` David Howells
@ 2013-07-11 23:00     ` Rob Landley
  0 siblings, 0 replies; 5+ messages in thread
From: Rob Landley @ 2013-07-11 23:00 UTC (permalink / raw)
  To: David Howells
  Cc: Geert Uytterhoeven, dhowells, Andrew Morton,
	linux-kernel@vger.kernel.org, Patrick McHardy, David S. Miller,
	linux-net

On 07/09/2013 05:25:53 AM, David Howells wrote:
> Geert Uytterhoeven <geert@linux-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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2013-07-12  5:11 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-18  4:21 3.10-rc1: commit ccdfcc398594 broke uClibc build Rob Landley
2013-07-09  8:02 ` Geert Uytterhoeven
2013-07-09  8:13   ` Geert Uytterhoeven
2013-07-09 10:25   ` David Howells
2013-07-11 23:00     ` Rob Landley

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox