Re: Build regressions/improvements in v3.10-rc1 (um)
From: Stephen Rothwell
Date: Tue May 14 2013 - 22:57:20 EST
On Mon, 13 May 2013 22:15:52 +1000 Michael Ellerman <michael@xxxxxxxxxxxxxx> wrote:
>
> On Mon, 2013-05-13 at 12:07 +0200, richard -rw- weinberger wrote:
> > On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman
> > <michael@xxxxxxxxxxxxxx> wrote:
> > >
> > >
> > > Geert Uytterhoeven <geert@xxxxxxxxxxxxxx> wrote:
> > >
> > >>On Sun, May 12, 2013 at 11:17 PM, richard -rw- weinberger
> > >><richard.weinberger@xxxxxxxxx> wrote:
> > >>> On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven
> > >>> <geert@xxxxxxxxxxxxxx> wrote:
> > >>>> On Sun, 12 May 2013, Geert Uytterhoeven wrote:
> > >>>>> However, the full list of errors isn't that unmanageable, so I'm
> > >>following
> > >>>>> up with a digested list...
> > >>>>
> > >>>> arch/um/drivers/cow_user.c:216: error: implicit declaration of
> > >>function 'htobe32': 1 errors in 1 logs
> > >>>> arch/um/drivers/cow_user.c:249: error: implicit declaration of
> > >>function 'htobe64': 1 errors in 1 logs
> > >>>> arch/um/drivers/cow_user.c:303: error: implicit declaration of
> > >>function 'be32toh': 1 errors in 1 logs
> > >>>> arch/um/drivers/cow_user.c:330: error: implicit declaration of
> > >>function 'be64toh': 1 errors in 1 logs
> > >>>> v3.10-rc1/um-i386/um-defconfig
> > >>>> Old host environment on kissb?
> > >>>
> > >>> This really looks like a host environment issue.
> > >>> PTRACE_O_TRACESYSGOOD for example is defined in
> > >>/usr/include/linux/ptrace.h
> > >>
> > >>Yep, just like e.g. htobe32().
> > >>
> > >>Michael, Stephen: Any chance this can be fixed?
> > >
> > > Possibly. We're cross compiling these on powerpc so perhaps we need to update the cross compiler.
> >
> > Looks like you are the first man on planet earth who tries do build
> > UML/x86 on powerpc. :D
>
> :) It has given us some trouble over the years.
>
> I'll talk to Stephen tomorrow about it and see if we can get it working
> again.
So htobe32 etc were introduced in glibc 2.9 - our build environment is
glibc 2.3 ... Documentation/Changes does not specify a minimum version of
glibc.
--
Cheers,
Stephen Rothwell sfr@xxxxxxxxxxxxxxxx
Attachment:
pgp00000.pgp
Description: PGP signature