* build for pv-grub stubdom
@ 2013-07-21 16:36 IAN DELANEY
2013-07-22 18:09 ` Ian Campbell
2013-07-26 13:55 ` Samuel Thibault
0 siblings, 2 replies; 10+ messages in thread
From: IAN DELANEY @ 2013-07-21 16:36 UTC (permalink / raw)
To: xen-devel
Does this
install -d -m0755 -p
"/mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/image//usr/lib/xen/boot"
install -m0644 -p mini-os-x86_32-grub/mini-os.gz
"/mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/image//usr/lib/xen/boot/pv-grub-x86_32.gz"
make: Leaving directory
`/mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom'
>>> Completed installing xen-pvgrub-4.3.0
>>> into /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/image/
* QA Notice: make jobserver unavailable:
*
* make[1]: warning: jobserver unavailable: using -j1. Add `+'
to parent make rule.
* make[1]: warning: jobserver unavailable: using -j1. Add `+'
to parent make rule.
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:61:3:
warning: implicit declaration of function
‘kill’ [-Wimplicit-function-declaration]
* ../grub-upstream/stage2/builtins.c:1728:3: warning: implicit
declaration of function ‘do_exit’ [-Wimplicit-function-declaration]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:453:5:
warning: implicit declaration of function
‘memcpy’ [-Wimplicit-function-declaration]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:455:5:
warning: implicit declaration of function
‘memmove’ [-Wimplicit-function-declaration]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:457:5:
warning: implicit declaration of function
‘memset’ [-Wimplicit-function-declaration]
* ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:61:3:
warning: implicit declaration of function
‘kill’ [-Wimplicit-function-declaration]
* ../../../../../newlib-1.16.0/newlib/libc/reent/fstat64r.c:65:3:
warning: implicit declaration of function
‘_fstat64’ [-Wimplicit-function-declaration]
* ../../../../../newlib-1.16.0/newlib/libc/reent/open64r.c:62:3:
warning: implicit declaration of function
‘_open64’ [-Wimplicit-function-declaration]
* ../../../../../newlib-1.16.0/newlib/libc/reent/lseek64r.c:61:3:
warning: implicit declaration of function
‘lseek64’ [-Wimplicit-function-declaration]
* ../../../../newlib-1.16.0/libgloss/i386/cygmon-gmon.c:355:7:
warning: implicit declaration of function
‘profil’ [-Wimplicit-function-declaration]
* ../grub-upstream/stage2/builtins.c:1728:3: warning: implicit
declaration of function ‘do_exit’ [-Wimplicit-function-declaration]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:453:5:
warning: implicit declaration of function
‘memcpy’ [-Wimplicit-function-declaration]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:455:5:
warning: implicit declaration of function
‘memmove’ [-Wimplicit-function-declaration]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:457:5:
warning: implicit declaration of function
‘memset’ [-Wimplicit-function-declaration]
* QA Notice: Package triggers severe warnings which indicate that it
* may exhibit random runtime failures.
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:453:14:
warning: incompatible implicit declaration of built-in function
‘memcpy’ [enabled by default]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:455:14:
warning: incompatible implicit declaration of built-in function
‘memmove’ [enabled by default]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:457:14:
warning: incompatible implicit declaration of built-in function
‘memset’ [enabled by default]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:453:14:
warning: incompatible implicit declaration of built-in function
‘memcpy’ [enabled by default]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:455:14:
warning: incompatible implicit declaration of built-in function
‘memmove’ [enabled by default]
* /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:457:14:
warning: incompatible implicit declaration of built-in function
‘memset’ [enabled by default]
* Please do not file a Gentoo bug and instead report the above QA
* issues directly to the upstream developers of this software.
* Homepage: http://xen.org/
draw any concern from anyone? These have been in place for a long time
in 4.x.x. Basically portage keep a memory of any and all gcc warnings
and lists them all in one list at the build's end. I highlighted them
before, thought I might 'try again'.
--
kind regards
Ian Delaney
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: build for pv-grub stubdom
2013-07-21 16:36 build for pv-grub stubdom IAN DELANEY
@ 2013-07-22 18:09 ` Ian Campbell
2013-07-26 13:55 ` Samuel Thibault
1 sibling, 0 replies; 10+ messages in thread
From: Ian Campbell @ 2013-07-22 18:09 UTC (permalink / raw)
To: IAN DELANEY; +Cc: xen-devel
On Mon, 2013-07-22 at 00:36 +0800, IAN DELANEY wrote:
> Does this
[...]
> draw any concern from anyone? These have been in place for a long time
> in 4.x.x. Basically portage keep a memory of any and all gcc warnings
> and lists them all in one list at the build's end. I highlighted them
> before, thought I might 'try again'.
Thanks for bringing them up.
These mostly seem to be from 3rd party code included with Xen (mostly
newlib it seems). Unless there are upstream fixes which we could
backport (or resync to a new-newlib) I don't think we care all that
much. There are also plans afoot to replace newlib with something
better, so it might not even be worth doing that.
Ian.
^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: build for pv-grub stubdom
2013-07-21 16:36 build for pv-grub stubdom IAN DELANEY
2013-07-22 18:09 ` Ian Campbell
@ 2013-07-26 13:55 ` Samuel Thibault
2013-07-29 8:17 ` Ian Campbell
2013-07-29 9:18 ` [PATCH] Fix stubdom undeclared function build warnings Samuel Thibault
1 sibling, 2 replies; 10+ messages in thread
From: Samuel Thibault @ 2013-07-26 13:55 UTC (permalink / raw)
To: IAN DELANEY; +Cc: xen-devel
Hello,
IAN DELANEY, le Mon 22 Jul 2013 00:36:43 +0800, a écrit :
> * ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:61:3:
> warning: implicit declaration of function
> ‘kill’ [-Wimplicit-function-declaration]
> ‘_fstat64’ [-Wimplicit-function-declaration]
> ‘_open64’ [-Wimplicit-function-declaration]
> ‘lseek64’ [-Wimplicit-function-declaration]
> ‘profil’ [-Wimplicit-function-declaration]
We don't actually provide these functions.
> * ../grub-upstream/stage2/builtins.c:1728:3: warning: implicit
> declaration of function ‘do_exit’ [-Wimplicit-function-declaration]
This should be fixed by this I guess:
diff --git a/stubdom/grub/config.h b/stubdom/grub/config.h
index 1649d51..15a6583 100644
--- a/stubdom/grub/config.h
+++ b/stubdom/grub/config.h
@@ -2,6 +2,7 @@
#undef putchar
#include <ctype.h>
#include <string.h>
+#include <kernel.h>
#define debug _debug
#define grub_halt(a) do_exit()
#define printf grub_printf
> * /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:453:5:
> warning: implicit declaration of function
> ‘memcpy’ [-Wimplicit-function-declaration]
And that, by that:
diff --git a/xen/include/xen/libelf.h b/xen/include/xen/libelf.h
index 2a6fa54..e65db6d 100644
--- a/xen/include/xen/libelf.h
+++ b/xen/include/xen/libelf.h
@@ -39,11 +39,13 @@ typedef int elf_negerrnoval; /* 0: ok; -EFOO: error */
#ifdef __XEN__
#include <public/elfnote.h>
#include <public/features.h>
+#include <xen/string.h>
#else
#include <xen/elfnote.h>
#include <xen/features.h>
#include <stdarg.h>
+#include <string.h>
struct elf_binary;
typedef void elf_log_callback(struct elf_binary*, void *caller_data,
Samuel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: build for pv-grub stubdom
2013-07-26 13:55 ` Samuel Thibault
@ 2013-07-29 8:17 ` Ian Campbell
[not found] ` <20130731155041.603b9048@archtester.homenetwork>
2013-07-29 9:18 ` [PATCH] Fix stubdom undeclared function build warnings Samuel Thibault
1 sibling, 1 reply; 10+ messages in thread
From: Ian Campbell @ 2013-07-29 8:17 UTC (permalink / raw)
To: Samuel Thibault; +Cc: IAN DELANEY, xen-devel
On Fri, 2013-07-26 at 15:55 +0200, Samuel Thibault wrote:
> Hello,
>
> IAN DELANEY, le Mon 22 Jul 2013 00:36:43 +0800, a écrit :
> > * ../../../../../newlib-1.16.0/newlib/libc/reent/signalr.c:61:3:
> > warning: implicit declaration of function
> > ‘kill’ [-Wimplicit-function-declaration]
> > ‘_fstat64’ [-Wimplicit-function-declaration]
> > ‘_open64’ [-Wimplicit-function-declaration]
> > ‘lseek64’ [-Wimplicit-function-declaration]
> > ‘profil’ [-Wimplicit-function-declaration]
>
> We don't actually provide these functions.
>
> > * ../grub-upstream/stage2/builtins.c:1728:3: warning: implicit
> > declaration of function ‘do_exit’ [-Wimplicit-function-declaration]
>
> This should be fixed by this I guess:
Ian, can you confirm if these work. If so the Samuel please can I get a
S-o-b (and ideally a commit message so I don't have to fabricate one).
Thanks,
Ian.
>
> diff --git a/stubdom/grub/config.h b/stubdom/grub/config.h
> index 1649d51..15a6583 100644
> --- a/stubdom/grub/config.h
> +++ b/stubdom/grub/config.h
> @@ -2,6 +2,7 @@
> #undef putchar
> #include <ctype.h>
> #include <string.h>
> +#include <kernel.h>
> #define debug _debug
> #define grub_halt(a) do_exit()
> #define printf grub_printf
>
> > * /mnt/gen2/TmpDir/portage/app-emulation/xen-pvgrub-4.3.0/work/xen-4.3.0/stubdom/include/xen/libelf/libelf.h:453:5:
> > warning: implicit declaration of function
> > ‘memcpy’ [-Wimplicit-function-declaration]
>
> And that, by that:
>
> diff --git a/xen/include/xen/libelf.h b/xen/include/xen/libelf.h
> index 2a6fa54..e65db6d 100644
> --- a/xen/include/xen/libelf.h
> +++ b/xen/include/xen/libelf.h
> @@ -39,11 +39,13 @@ typedef int elf_negerrnoval; /* 0: ok; -EFOO: error */
> #ifdef __XEN__
> #include <public/elfnote.h>
> #include <public/features.h>
> +#include <xen/string.h>
> #else
> #include <xen/elfnote.h>
> #include <xen/features.h>
>
> #include <stdarg.h>
> +#include <string.h>
>
> struct elf_binary;
> typedef void elf_log_callback(struct elf_binary*, void *caller_data,
>
> Samuel
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
* [PATCH] Fix stubdom undeclared function build warnings
2013-07-26 13:55 ` Samuel Thibault
2013-07-29 8:17 ` Ian Campbell
@ 2013-07-29 9:18 ` Samuel Thibault
2013-08-02 16:08 ` Ian Campbell
1 sibling, 1 reply; 10+ messages in thread
From: Samuel Thibault @ 2013-07-29 9:18 UTC (permalink / raw)
To: IAN DELANEY, xen-devel
This includes a few headers to fix some missing function declarations.
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
diff --git a/stubdom/grub/config.h b/stubdom/grub/config.h
index 1649d51..15a6583 100644
--- a/stubdom/grub/config.h
+++ b/stubdom/grub/config.h
@@ -2,6 +2,7 @@
#undef putchar
#include <ctype.h>
#include <string.h>
+#include <kernel.h>
#define debug _debug
#define grub_halt(a) do_exit()
#define printf grub_printf
diff --git a/xen/include/xen/libelf.h b/xen/include/xen/libelf.h
index 2a6fa54..e65db6d 100644
--- a/xen/include/xen/libelf.h
+++ b/xen/include/xen/libelf.h
@@ -39,11 +39,13 @@ typedef int elf_negerrnoval; /* 0: ok; -EFOO: error */
#ifdef __XEN__
#include <public/elfnote.h>
#include <public/features.h>
+#include <xen/string.h>
#else
#include <xen/elfnote.h>
#include <xen/features.h>
#include <stdarg.h>
+#include <string.h>
struct elf_binary;
typedef void elf_log_callback(struct elf_binary*, void *caller_data,
^ permalink raw reply related [flat|nested] 10+ messages in thread
* Re: [PATCH] Fix stubdom undeclared function build warnings
2013-07-29 9:18 ` [PATCH] Fix stubdom undeclared function build warnings Samuel Thibault
@ 2013-08-02 16:08 ` Ian Campbell
0 siblings, 0 replies; 10+ messages in thread
From: Ian Campbell @ 2013-08-02 16:08 UTC (permalink / raw)
To: Samuel Thibault; +Cc: IAN DELANEY, xen-devel
On Mon, 2013-07-29 at 11:18 +0200, Samuel Thibault wrote:
> This includes a few headers to fix some missing function declarations.
I inserted:
../grub-upstream/stage2/builtins.c:1728:3: warning: implicit declaration of function ‘do_exit’ [-Wimplicit-function-declaration]
stubdom/include/xen/libelf/libelf.h:453:5: warning: implicit declaration of function ‘memcpy’ [-Wimplicit-function-declaration]
> Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Acked + added a Reported-by for IAN + applied.
>
> diff --git a/stubdom/grub/config.h b/stubdom/grub/config.h
> index 1649d51..15a6583 100644
> --- a/stubdom/grub/config.h
> +++ b/stubdom/grub/config.h
> @@ -2,6 +2,7 @@
> #undef putchar
> #include <ctype.h>
> #include <string.h>
> +#include <kernel.h>
> #define debug _debug
> #define grub_halt(a) do_exit()
> #define printf grub_printf
> diff --git a/xen/include/xen/libelf.h b/xen/include/xen/libelf.h
> index 2a6fa54..e65db6d 100644
> --- a/xen/include/xen/libelf.h
> +++ b/xen/include/xen/libelf.h
> @@ -39,11 +39,13 @@ typedef int elf_negerrnoval; /* 0: ok; -EFOO: error */
> #ifdef __XEN__
> #include <public/elfnote.h>
> #include <public/features.h>
> +#include <xen/string.h>
> #else
> #include <xen/elfnote.h>
> #include <xen/features.h>
>
> #include <stdarg.h>
> +#include <string.h>
>
> struct elf_binary;
> typedef void elf_log_callback(struct elf_binary*, void *caller_data,
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@lists.xen.org
> http://lists.xen.org/xen-devel
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel
^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2013-08-13 21:12 UTC | newest]
Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-21 16:36 build for pv-grub stubdom IAN DELANEY
2013-07-22 18:09 ` Ian Campbell
2013-07-26 13:55 ` Samuel Thibault
2013-07-29 8:17 ` Ian Campbell
[not found] ` <20130731155041.603b9048@archtester.homenetwork>
2013-07-31 12:05 ` Ian Campbell
[not found] ` <20130731214647.722c0821@archtester.homenetwork>
2013-07-31 13:56 ` Ian Campbell
[not found] ` <1375278970.7382.80.camel@kazak.uk.xensource.com>
2013-08-01 6:55 ` IAN DELANEY
2013-08-13 21:12 ` Samuel Thibault
2013-07-29 9:18 ` [PATCH] Fix stubdom undeclared function build warnings Samuel Thibault
2013-08-02 16:08 ` Ian Campbell
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).