linux-um archives
 help / color / mirror / Atom feed
* [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type"
@ 2008-10-30  1:51 Peter Teoh
  2008-10-30  8:31 ` Geert Uytterhoeven
  0 siblings, 1 reply; 5+ messages in thread
From: Peter Teoh @ 2008-10-30  1:51 UTC (permalink / raw)
  To: uml-devel

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

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.

-- 
Regards,
Peter Teoh

[-- Attachment #2: .config --]
[-- Type: application/x-config, Size: 17661 bytes --]

[-- Attachment #3: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

[-- Attachment #4: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type"
  2008-10-30  1:51 [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type" Peter Teoh
@ 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; 5+ messages in thread
From: Geert Uytterhoeven @ 2008-10-30  8:31 UTC (permalink / raw)
  To: Peter Teoh, Stephen Rothwell; +Cc: linux-next, uml-devel

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

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

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

* Re: [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type"
  2008-10-30  8:31 ` 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; 5+ messages in thread
From: Stephen Rothwell @ 2008-10-30 23:38 UTC (permalink / raw)
  To: Geert Uytterhoeven; +Cc: linux-next, uml-devel


[-- Attachment #1.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 #1.2: Type: application/pgp-signature, Size: 197 bytes --]

[-- Attachment #2: Type: text/plain, Size: 363 bytes --]

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/

[-- Attachment #3: Type: text/plain, Size: 194 bytes --]

_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

^ permalink raw reply	[flat|nested] 5+ 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; 5+ messages in thread
From: Geert Uytterhoeven @ 2008-10-31  8:52 UTC (permalink / raw)
  To: Stephen Rothwell; +Cc: linux-next, uml-devel

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

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
User-mode-linux-devel mailing list
User-mode-linux-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-devel

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

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

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-10-30  1:51 [uml-devel] "warning: passing argument 1 of ‘um_execve’ discards qualifiers from pointer target type" Peter Teoh
2008-10-30  8:31 ` 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