xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* Hypervisor compilation for arm without debug=y
@ 2013-08-19 11:44 Andrii Anisov
  2013-08-19 15:11 ` Ian Campbell
  0 siblings, 1 reply; 7+ messages in thread
From: Andrii Anisov @ 2013-08-19 11:44 UTC (permalink / raw)
  To: xen-devel@lists.xen.org


[-- Attachment #1.1: Type: text/plain, Size: 872 bytes --]

Hello,

I tried to get hypervisor built without debug=y option.
Unfortunately built binary doesn't boot.
I've localized a problem and get a workaround for it:

diff --git a/xen/arch/arm/mm.c b/xen/arch/arm/mm.c
index d1290cd..aa8e057 100644
--- a/xen/arch/arm/mm.c
+++ b/xen/arch/arm/mm.c
@@ -332,7 +332,7 @@ void __cpuinit setup_virt_paging(void)

 /* Boot-time pagetable setup.
  * Changes here may need matching changes in head.S */
-void __init setup_pagetables(unsigned long boot_phys_offset, paddr_t
xen_paddr)
+void __attribute__((optimize("-fno-omit-frame-pointer"))) __init
setup_pagetables(unsigned long boot_phys_offset, paddr_t xen_paddr)
 {
     unsigned long dest_va;
     lpae_t pte, *p;

Is it a known issue? Is there a better solution for it?
I work with 4.3 release, build with gcc version 4.6.3 (Ubuntu/Linaro
4.6.3-1ubuntu5)

Sincerely,
Andrii Anisov.

[-- Attachment #1.2: Type: text/html, Size: 1214 bytes --]

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

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

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

end of thread, other threads:[~2013-08-21 10:38 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-08-19 11:44 Hypervisor compilation for arm without debug=y Andrii Anisov
2013-08-19 15:11 ` Ian Campbell
2013-08-19 15:49   ` Andrii Anisov
2013-08-20 16:03     ` Andrii Anisov
2013-08-20 16:59       ` Julien Grall
2013-08-20 17:07         ` Julien Grall
2013-08-21 10:38           ` Andrii Anisov

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