Linux-Next discussions
 help / color / mirror / Atom feed
* Re: [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type"
       [not found] <804dabb00810291851xc617690wac1404176437fb84@mail.gmail.com>
@ 2008-10-30  8:31 ` Geert Uytterhoeven
  2008-10-30 15:14   ` Peter Teoh
  2008-10-30 23:38   ` Stephen Rothwell
  0 siblings, 2 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2008-10-30  8:31 UTC (permalink / raw)
  To: Peter Teoh, Stephen Rothwell; +Cc: uml-devel, linux-next

On Thu, 30 Oct 2008, Peter Teoh wrote:
> While compiling the latest 2.6.28-rc2 (make linux ARCH=um O=uml):
> 
>   CC      arch/um/kernel/syscall.o
> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c: In function
> 'kernel_execve':
> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
> passing argument 1 of 'um_execve' discards qualifiers from pointer
> target type
> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
> passing argument 2 of 'um_execve' discards qualifiers from pointer
> target type
> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
> passing argument 3 of 'um_execve' discards qualifiers from pointer
> target type
> u  CC      arch/um/kernel/sysrq.o
>   CC      arch/um/kernel/time.o
> 
> snip
> 
>   CC      kernel/trace/trace.o
> /hdc1/download/2.6/linux26-acer/kernel/trace/trace.c: In function
> 'tracing_generic_entry_update':
> /hdc1/download/2.6/linux26-acer/kernel/trace/trace.c:659: error:
> implicit declaration of function 'irqs_disabled_flags'
> make[3]: *** [kernel/trace/trace.o] Error 1
> make[2]: *** [kernel/trace] Error 2
> make[1]: *** [kernel] Error 2
> make: *** [sub-make] Error 2
> 
> The .config as per attached.

I see there are no UML builds yet on
http://kisskb.ellerman.id.au/kisskb/matrix/.
Perhaps it would be a good idea to add them?

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] 4+ messages in thread

* Re: [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type"
  2008-10-30  8:31 ` [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type" Geert Uytterhoeven
@ 2008-10-30 15:14   ` Peter Teoh
  2008-10-30 23:38   ` Stephen Rothwell
  1 sibling, 0 replies; 4+ messages in thread
From: Peter Teoh @ 2008-10-30 15:14 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Stephen Rothwell, uml-devel, linux-next

On Thu, Oct 30, 2008 at 4:31 PM, Geert Uytterhoeven
<geert@linux-m68k.org> wrote:
> On Thu, 30 Oct 2008, Peter Teoh wrote:
>> While compiling the latest 2.6.28-rc2 (make linux ARCH=um O=uml):
>>
>>   CC      arch/um/kernel/syscall.o
>> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c: In function
>> 'kernel_execve':
>> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
>> passing argument 1 of 'um_execve' discards qualifiers from pointer
>> target type
>> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
>> passing argument 2 of 'um_execve' discards qualifiers from pointer
>> target type
>> /hdc1/download/2.6/linux26-acer/arch/um/kernel/syscall.c:130: warning:
>> passing argument 3 of 'um_execve' discards qualifiers from pointer
>> target type
>> u  CC      arch/um/kernel/sysrq.o
>>   CC      arch/um/kernel/time.o
>>
>> snip
>>
>>   CC      kernel/trace/trace.o
>> /hdc1/download/2.6/linux26-acer/kernel/trace/trace.c: In function
>> 'tracing_generic_entry_update':
>> /hdc1/download/2.6/linux26-acer/kernel/trace/trace.c:659: error:
>> implicit declaration of function 'irqs_disabled_flags'
>> make[3]: *** [kernel/trace/trace.o] Error 1
>> make[2]: *** [kernel/trace] Error 2
>> make[1]: *** [kernel] Error 2
>> make: *** [sub-make] Error 2
>>
>> The .config as per attached.
>
> I see there are no UML builds yet on
> http://kisskb.ellerman.id.au/kisskb/matrix/.
> Perhaps it would be a good idea to add them?
>

sorry i don't understand how to read the table.   my target is x86
32bit UML, compiler is x86 32bit as well.   and the defconfig i used
is arch/um/defconfig, with some modification.


> 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
>



-- 
Regards,
Peter Teoh

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

* Re: [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type"
  2008-10-30  8:31 ` [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type" Geert Uytterhoeven
  2008-10-30 15:14   ` Peter Teoh
@ 2008-10-30 23:38   ` Stephen Rothwell
  2008-10-31  8:52     ` Geert Uytterhoeven
  1 sibling, 1 reply; 4+ messages in thread
From: Stephen Rothwell @ 2008-10-30 23:38 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: Peter Teoh, uml-devel, linux-next

[-- Attachment #1: Type: text/plain, Size: 475 bytes --]

Hi Geert,

On Thu, 30 Oct 2008 09:31:04 +0100 (CET) Geert Uytterhoeven <geert@linux-m68k.org> wrote:
>
> I see there are no UML builds yet on
> http://kisskb.ellerman.id.au/kisskb/matrix/.
> Perhaps it would be a good idea to add them?

We would love to, but we can't figure out how to cross build an x86 based
uml kernel on a powerpc machine.  Any hints?

-- 
Cheers,
Stephen Rothwell                    sfr@canb.auug.org.au
http://www.canb.auug.org.au/~sfr/

[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]

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

* Re: [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type"
  2008-10-30 23:38   ` Stephen Rothwell
@ 2008-10-31  8:52     ` Geert Uytterhoeven
  0 siblings, 0 replies; 4+ messages in thread
From: Geert Uytterhoeven @ 2008-10-31  8:52 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: Peter Teoh, uml-devel, linux-next

On Fri, 31 Oct 2008, Stephen Rothwell wrote:
> On Thu, 30 Oct 2008 09:31:04 +0100 (CET) Geert Uytterhoeven <geert@linux-m68k.org> wrote:
> >
> > I see there are no UML builds yet on
> > http://kisskb.ellerman.id.au/kisskb/matrix/.
> > Perhaps it would be a good idea to add them?
> 
> We would love to, but we can't figure out how to cross build an x86 based
> uml kernel on a powerpc machine.  Any hints?

Haven't tried it, but something like ARCH=um SUBARCH=x86 should work...

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] 4+ messages in thread

end of thread, other threads:[~2008-10-31  8:52 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <804dabb00810291851xc617690wac1404176437fb84@mail.gmail.com>
2008-10-30  8:31 ` [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type" Geert Uytterhoeven
2008-10-30 15:14   ` Peter Teoh
2008-10-30 23:38   ` Stephen Rothwell
2008-10-31  8:52     ` Geert Uytterhoeven

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