* Re: Build regressions/improvements in v3.10-rc1 (um)
[not found] ` <alpine.DEB.2.00.1305122239040.5463@ayla.of.borg>
@ 2013-05-12 20:47 ` Geert Uytterhoeven
2013-05-12 21:17 ` richard -rw- weinberger
0 siblings, 1 reply; 12+ messages in thread
From: Geert Uytterhoeven @ 2013-05-12 20:47 UTC (permalink / raw)
To: Linux Kernel Development; +Cc: User-mode Linux Kernel Development
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
arch/um/os-Linux/skas/process.c:321: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
arch/um/os-Linux/skas/process.c:321: error: (Each undeclared identifier is reported only once: 1 errors in 1 logs
arch/um/os-Linux/skas/process.c:321: error: for each function it appears in.): 1 errors in 1 logs
arch/um/os-Linux/skas/process.c:412: error: 'PTRACE_GETSIGINFO' undeclared (first use in this function): 1 errors in 1 logs
arch/um/os-Linux/skas/process.c:560: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
arch/um/os-Linux/start_up.c:245: error: 'PTRACE_SETOPTIONS' undeclared (first use in this function): 1 errors in 1 logs
arch/um/os-Linux/start_up.c:245: error: (Each undeclared identifier is reported only once: 1 errors in 1 logs
arch/um/os-Linux/start_up.c:245: error: for each function it appears in.): 1 errors in 1 logs
arch/um/os-Linux/start_up.c:246: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
arch/um/os-Linux/start_up.c:303: error: 'PTRACE_SETOPTIONS' undeclared (first use in this function): 1 errors in 1 logs
arch/um/os-Linux/start_up.c:304: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
v3.10-rc1/um-i386/um-defconfig
Old host environment on kissb?
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] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-12 20:47 ` Build regressions/improvements in v3.10-rc1 (um) Geert Uytterhoeven
@ 2013-05-12 21:17 ` richard -rw- weinberger
2013-05-13 8:18 ` Geert Uytterhoeven
0 siblings, 1 reply; 12+ messages in thread
From: richard -rw- weinberger @ 2013-05-12 21:17 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Linux Kernel Development, User-mode Linux Kernel Development
Geert,
On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven
<geert@linux-m68k.org> 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
> arch/um/os-Linux/skas/process.c:321: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
> arch/um/os-Linux/skas/process.c:321: error: (Each undeclared identifier is reported only once: 1 errors in 1 logs
> arch/um/os-Linux/skas/process.c:321: error: for each function it appears in.): 1 errors in 1 logs
> arch/um/os-Linux/skas/process.c:412: error: 'PTRACE_GETSIGINFO' undeclared (first use in this function): 1 errors in 1 logs
> arch/um/os-Linux/skas/process.c:560: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
> arch/um/os-Linux/start_up.c:245: error: 'PTRACE_SETOPTIONS' undeclared (first use in this function): 1 errors in 1 logs
> arch/um/os-Linux/start_up.c:245: error: (Each undeclared identifier is reported only once: 1 errors in 1 logs
> arch/um/os-Linux/start_up.c:245: error: for each function it appears in.): 1 errors in 1 logs
> arch/um/os-Linux/start_up.c:246: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
> arch/um/os-Linux/start_up.c:303: error: 'PTRACE_SETOPTIONS' undeclared (first use in this function): 1 errors in 1 logs
> arch/um/os-Linux/start_up.c:304: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 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
--
Thanks,
//richard
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-12 21:17 ` richard -rw- weinberger
@ 2013-05-13 8:18 ` Geert Uytterhoeven
2013-05-13 9:54 ` Michael Ellerman
0 siblings, 1 reply; 12+ messages in thread
From: Geert Uytterhoeven @ 2013-05-13 8:18 UTC (permalink / raw)
To: richard -rw- weinberger, Michael Ellerman, Stephen Rothwell
Cc: Linux Kernel Development, User-mode Linux Kernel Development
On Sun, May 12, 2013 at 11:17 PM, richard -rw- weinberger
<richard.weinberger@gmail.com> wrote:
> On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven
> <geert@linux-m68k.org> 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
>> arch/um/os-Linux/skas/process.c:321: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
>> arch/um/os-Linux/skas/process.c:321: error: (Each undeclared identifier is reported only once: 1 errors in 1 logs
>> arch/um/os-Linux/skas/process.c:321: error: for each function it appears in.): 1 errors in 1 logs
>> arch/um/os-Linux/skas/process.c:412: error: 'PTRACE_GETSIGINFO' undeclared (first use in this function): 1 errors in 1 logs
>> arch/um/os-Linux/skas/process.c:560: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
>> arch/um/os-Linux/start_up.c:245: error: 'PTRACE_SETOPTIONS' undeclared (first use in this function): 1 errors in 1 logs
>> arch/um/os-Linux/start_up.c:245: error: (Each undeclared identifier is reported only once: 1 errors in 1 logs
>> arch/um/os-Linux/start_up.c:245: error: for each function it appears in.): 1 errors in 1 logs
>> arch/um/os-Linux/start_up.c:246: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 1 errors in 1 logs
>> arch/um/os-Linux/start_up.c:303: error: 'PTRACE_SETOPTIONS' undeclared (first use in this function): 1 errors in 1 logs
>> arch/um/os-Linux/start_up.c:304: error: 'PTRACE_O_TRACESYSGOOD' undeclared (first use in this function): 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?
Thanks!
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] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-13 8:18 ` Geert Uytterhoeven
@ 2013-05-13 9:54 ` Michael Ellerman
2013-05-13 10:02 ` Geert Uytterhoeven
2013-05-13 10:07 ` richard -rw- weinberger
0 siblings, 2 replies; 12+ messages in thread
From: Michael Ellerman @ 2013-05-13 9:54 UTC (permalink / raw)
To: Geert Uytterhoeven, richard -rw- weinberger, Stephen Rothwell
Cc: Linux Kernel Development, User-mode Linux Kernel Development
Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>On Sun, May 12, 2013 at 11:17 PM, richard -rw- weinberger
><richard.weinberger@gmail.com> wrote:
>> On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven
>> <geert@linux-m68k.org> 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
>>> arch/um/os-Linux/skas/process.c:321: error: 'PTRACE_O_TRACESYSGOOD'
>undeclared (first use in this function): 1 errors in 1 logs
>>> arch/um/os-Linux/skas/process.c:321: error: (Each undeclared
>identifier is reported only once: 1 errors in 1 logs
>>> arch/um/os-Linux/skas/process.c:321: error: for each function it
>appears in.): 1 errors in 1 logs
>>> arch/um/os-Linux/skas/process.c:412: error: 'PTRACE_GETSIGINFO'
>undeclared (first use in this function): 1 errors in 1 logs
>>> arch/um/os-Linux/skas/process.c:560: error: 'PTRACE_O_TRACESYSGOOD'
>undeclared (first use in this function): 1 errors in 1 logs
>>> arch/um/os-Linux/start_up.c:245: error: 'PTRACE_SETOPTIONS'
>undeclared (first use in this function): 1 errors in 1 logs
>>> arch/um/os-Linux/start_up.c:245: error: (Each undeclared identifier
>is reported only once: 1 errors in 1 logs
>>> arch/um/os-Linux/start_up.c:245: error: for each function it appears
>in.): 1 errors in 1 logs
>>> arch/um/os-Linux/start_up.c:246: error: 'PTRACE_O_TRACESYSGOOD'
>undeclared (first use in this function): 1 errors in 1 logs
>>> arch/um/os-Linux/start_up.c:303: error: 'PTRACE_SETOPTIONS'
>undeclared (first use in this function): 1 errors in 1 logs
>>> arch/um/os-Linux/start_up.c:304: error: 'PTRACE_O_TRACESYSGOOD'
>undeclared (first use in this function): 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.
cheers
--
Sent from my Android phone with K-9 Mail. Please excuse my brevity.
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-13 9:54 ` Michael Ellerman
@ 2013-05-13 10:02 ` Geert Uytterhoeven
2013-05-13 10:07 ` richard -rw- weinberger
1 sibling, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2013-05-13 10:02 UTC (permalink / raw)
To: Michael Ellerman
Cc: richard -rw- weinberger, Stephen Rothwell,
Linux Kernel Development, User-mode Linux Kernel Development
On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman
<michael@ellerman.id.au> wrote:
>>> This really looks like a host environment issue.
>>> PTRACE_O_TRACESYSGOOD for example is defined in
>>/usr/include/linux/ptrace.h
Actually these are in both /usr/include/sys/ptrace.h and
/usr/include/linux/ptrace.h on
my system.
>>Yep, just like e.g. htobe32().
/usr/include/endian.h
>>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.
Perhaps just the cross C library? On Ubuntu 10.04, both
/usr/include/endian.h and
/usr/include/sys/ptrace.h are provided by libc6-dev.
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] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-13 9:54 ` Michael Ellerman
2013-05-13 10:02 ` Geert Uytterhoeven
@ 2013-05-13 10:07 ` richard -rw- weinberger
2013-05-13 10:18 ` Geert Uytterhoeven
2013-05-13 12:15 ` Michael Ellerman
1 sibling, 2 replies; 12+ messages in thread
From: richard -rw- weinberger @ 2013-05-13 10:07 UTC (permalink / raw)
To: Michael Ellerman
Cc: Geert Uytterhoeven, Stephen Rothwell, Linux Kernel Development,
User-mode Linux Kernel Development
On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman
<michael@ellerman.id.au> wrote:
>
>
> Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
>>On Sun, May 12, 2013 at 11:17 PM, richard -rw- weinberger
>><richard.weinberger@gmail.com> wrote:
>>> On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven
>>> <geert@linux-m68k.org> 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
>>>> arch/um/os-Linux/skas/process.c:321: error: 'PTRACE_O_TRACESYSGOOD'
>>undeclared (first use in this function): 1 errors in 1 logs
>>>> arch/um/os-Linux/skas/process.c:321: error: (Each undeclared
>>identifier is reported only once: 1 errors in 1 logs
>>>> arch/um/os-Linux/skas/process.c:321: error: for each function it
>>appears in.): 1 errors in 1 logs
>>>> arch/um/os-Linux/skas/process.c:412: error: 'PTRACE_GETSIGINFO'
>>undeclared (first use in this function): 1 errors in 1 logs
>>>> arch/um/os-Linux/skas/process.c:560: error: 'PTRACE_O_TRACESYSGOOD'
>>undeclared (first use in this function): 1 errors in 1 logs
>>>> arch/um/os-Linux/start_up.c:245: error: 'PTRACE_SETOPTIONS'
>>undeclared (first use in this function): 1 errors in 1 logs
>>>> arch/um/os-Linux/start_up.c:245: error: (Each undeclared identifier
>>is reported only once: 1 errors in 1 logs
>>>> arch/um/os-Linux/start_up.c:245: error: for each function it appears
>>in.): 1 errors in 1 logs
>>>> arch/um/os-Linux/start_up.c:246: error: 'PTRACE_O_TRACESYSGOOD'
>>undeclared (first use in this function): 1 errors in 1 logs
>>>> arch/um/os-Linux/start_up.c:303: error: 'PTRACE_SETOPTIONS'
>>undeclared (first use in this function): 1 errors in 1 logs
>>>> arch/um/os-Linux/start_up.c:304: error: 'PTRACE_O_TRACESYSGOOD'
>>undeclared (first use in this function): 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
--
Thanks,
//richard
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-13 10:07 ` richard -rw- weinberger
@ 2013-05-13 10:18 ` Geert Uytterhoeven
2013-05-13 10:20 ` richard -rw- weinberger
2013-05-13 12:15 ` Michael Ellerman
1 sibling, 1 reply; 12+ messages in thread
From: Geert Uytterhoeven @ 2013-05-13 10:18 UTC (permalink / raw)
To: richard -rw- weinberger
Cc: Michael Ellerman, Stephen Rothwell, Linux Kernel Development,
User-mode Linux Kernel Development
On Mon, May 13, 2013 at 12:07 PM, richard -rw- weinberger
<richard.weinberger@gmail.com> wrote:
> On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman
> <michael@ellerman.id.au> wrote:
>> 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
Well, it used to work: http://kisskb.ellerman.id.au/kisskb/target/2974/
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] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-13 10:18 ` Geert Uytterhoeven
@ 2013-05-13 10:20 ` richard -rw- weinberger
2013-05-15 2:48 ` Stephen Rothwell
0 siblings, 1 reply; 12+ messages in thread
From: richard -rw- weinberger @ 2013-05-13 10:20 UTC (permalink / raw)
To: Geert Uytterhoeven
Cc: Michael Ellerman, Stephen Rothwell, Linux Kernel Development,
User-mode Linux Kernel Development
On Mon, May 13, 2013 at 12:18 PM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Mon, May 13, 2013 at 12:07 PM, richard -rw- weinberger
> <richard.weinberger@gmail.com> wrote:
>> On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman
>> <michael@ellerman.id.au> wrote:
>
>>> 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
>
> Well, it used to work: http://kisskb.ellerman.id.au/kisskb/target/2974/
Cool!
--
Thanks,
//richard
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-13 10:07 ` richard -rw- weinberger
2013-05-13 10:18 ` Geert Uytterhoeven
@ 2013-05-13 12:15 ` Michael Ellerman
2013-05-15 2:57 ` Stephen Rothwell
1 sibling, 1 reply; 12+ messages in thread
From: Michael Ellerman @ 2013-05-13 12:15 UTC (permalink / raw)
To: richard -rw- weinberger
Cc: Geert Uytterhoeven, Stephen Rothwell, Linux Kernel Development,
User-mode Linux Kernel Development
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@ellerman.id.au> wrote:
> >
> >
> > Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> >
> >>On Sun, May 12, 2013 at 11:17 PM, richard -rw- weinberger
> >><richard.weinberger@gmail.com> wrote:
> >>> On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven
> >>> <geert@linux-m68k.org> 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
> >>>> arch/um/os-Linux/skas/process.c:321: error: 'PTRACE_O_TRACESYSGOOD'
> >>undeclared (first use in this function): 1 errors in 1 logs
> >>>> arch/um/os-Linux/skas/process.c:321: error: (Each undeclared
> >>identifier is reported only once: 1 errors in 1 logs
> >>>> arch/um/os-Linux/skas/process.c:321: error: for each function it
> >>appears in.): 1 errors in 1 logs
> >>>> arch/um/os-Linux/skas/process.c:412: error: 'PTRACE_GETSIGINFO'
> >>undeclared (first use in this function): 1 errors in 1 logs
> >>>> arch/um/os-Linux/skas/process.c:560: error: 'PTRACE_O_TRACESYSGOOD'
> >>undeclared (first use in this function): 1 errors in 1 logs
> >>>> arch/um/os-Linux/start_up.c:245: error: 'PTRACE_SETOPTIONS'
> >>undeclared (first use in this function): 1 errors in 1 logs
> >>>> arch/um/os-Linux/start_up.c:245: error: (Each undeclared identifier
> >>is reported only once: 1 errors in 1 logs
> >>>> arch/um/os-Linux/start_up.c:245: error: for each function it appears
> >>in.): 1 errors in 1 logs
> >>>> arch/um/os-Linux/start_up.c:246: error: 'PTRACE_O_TRACESYSGOOD'
> >>undeclared (first use in this function): 1 errors in 1 logs
> >>>> arch/um/os-Linux/start_up.c:303: error: 'PTRACE_SETOPTIONS'
> >>undeclared (first use in this function): 1 errors in 1 logs
> >>>> arch/um/os-Linux/start_up.c:304: error: 'PTRACE_O_TRACESYSGOOD'
> >>undeclared (first use in this function): 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.
cheers
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-13 10:20 ` richard -rw- weinberger
@ 2013-05-15 2:48 ` Stephen Rothwell
0 siblings, 0 replies; 12+ messages in thread
From: Stephen Rothwell @ 2013-05-15 2:48 UTC (permalink / raw)
To: richard -rw- weinberger
Cc: Geert Uytterhoeven, Michael Ellerman, Linux Kernel Development,
User-mode Linux Kernel Development, Tony Breeds, Al Viro
[-- Attachment #1: Type: text/plain, Size: 1019 bytes --]
Hi all,
On Mon, 13 May 2013 12:20:24 +0200 richard -rw- weinberger <richard.weinberger@gmail.com> wrote:
>
> On Mon, May 13, 2013 at 12:18 PM, Geert Uytterhoeven
> <geert@linux-m68k.org> wrote:
> > On Mon, May 13, 2013 at 12:07 PM, richard -rw- weinberger
> > <richard.weinberger@gmail.com> wrote:
> >> On Mon, May 13, 2013 at 11:54 AM, Michael Ellerman
> >> <michael@ellerman.id.au> wrote:
> >
> >>> 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
> >
> > Well, it used to work: http://kisskb.ellerman.id.au/kisskb/target/2974/
>
> Cool!
We started getting these PTRACE_ errors on Nov 4, 2011. Just before
that, we have commit 966e803ab125 ("um: unify ptrace_user.h") which seems
to have lost the include of linux/ptrace.h and now only includes
sys/ptrace.h ...
--
Cheers,
Stephen Rothwell sfr@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-13 12:15 ` Michael Ellerman
@ 2013-05-15 2:57 ` Stephen Rothwell
2013-05-15 6:50 ` Geert Uytterhoeven
0 siblings, 1 reply; 12+ messages in thread
From: Stephen Rothwell @ 2013-05-15 2:57 UTC (permalink / raw)
To: Michael Ellerman
Cc: richard -rw- weinberger, Geert Uytterhoeven,
Linux Kernel Development, User-mode Linux Kernel Development,
Tony Breeds
[-- Attachment #1: Type: text/plain, Size: 2173 bytes --]
On Mon, 13 May 2013 22:15:52 +1000 Michael Ellerman <michael@ellerman.id.au> 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@ellerman.id.au> wrote:
> > >
> > >
> > > Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> > >
> > >>On Sun, May 12, 2013 at 11:17 PM, richard -rw- weinberger
> > >><richard.weinberger@gmail.com> wrote:
> > >>> On Sun, May 12, 2013 at 10:47 PM, Geert Uytterhoeven
> > >>> <geert@linux-m68k.org> 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@canb.auug.org.au
[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 12+ messages in thread
* Re: Build regressions/improvements in v3.10-rc1 (um)
2013-05-15 2:57 ` Stephen Rothwell
@ 2013-05-15 6:50 ` Geert Uytterhoeven
0 siblings, 0 replies; 12+ messages in thread
From: Geert Uytterhoeven @ 2013-05-15 6:50 UTC (permalink / raw)
To: Stephen Rothwell
Cc: Michael Ellerman, richard -rw- weinberger,
Linux Kernel Development, User-mode Linux Kernel Development,
Tony Breeds
On Wed, May 15, 2013 at 4:57 AM, Stephen Rothwell <sfr@canb.auug.org.au> wrote:
> 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.
This is a UML "requirement", not a generic Linux build environment
requirement.
Introduced by
commit d824d06328904f610b47652dcd488392f2fc62b6
Author: Al Viro <viro@zeniv.linux.org.uk>
Date: Thu Apr 5 23:35:03 2012 -0400
um: switch cow_user.h to htobe{32,64}/betoh{32,64}
... rather than open-coding the 64bit versions. endian.h has those guys.
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
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] 12+ messages in thread
end of thread, other threads:[~2013-05-15 6:50 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <alpine.DEB.2.00.1305122130270.3789@ayla.of.borg>
[not found] ` <alpine.DEB.2.00.1305122239040.5463@ayla.of.borg>
2013-05-12 20:47 ` Build regressions/improvements in v3.10-rc1 (um) Geert Uytterhoeven
2013-05-12 21:17 ` richard -rw- weinberger
2013-05-13 8:18 ` Geert Uytterhoeven
2013-05-13 9:54 ` Michael Ellerman
2013-05-13 10:02 ` Geert Uytterhoeven
2013-05-13 10:07 ` richard -rw- weinberger
2013-05-13 10:18 ` Geert Uytterhoeven
2013-05-13 10:20 ` richard -rw- weinberger
2013-05-15 2:48 ` Stephen Rothwell
2013-05-13 12:15 ` Michael Ellerman
2013-05-15 2:57 ` Stephen Rothwell
2013-05-15 6:50 ` Geert Uytterhoeven
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox