All of lore.kernel.org
 help / color / mirror / Atom feed
* stubdom: build failure
@ 2008-09-24 12:25 Christoph Egger
  2008-09-24 12:33 ` Samuel Thibault
  0 siblings, 1 reply; 21+ messages in thread
From: Christoph Egger @ 2008-09-24 12:25 UTC (permalink / raw)
  To: xen-devel

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


In extras/mini-os/include/types.h, line 22 tries to include stddef.h .
But this file doesn't exist and due to use of -nostdinc the libc's stddef.h
isn't used/found.

On NetBSD, this leads to this build error:

gmake[6]: Entering directory 
`/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/libc/argz' 
gcc -isystem /root/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include -D__MINIOS__ -DHAVE_LIBC -isystem /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/posix -isystem /build/xen-staging-netbsd.hg/stubdom/../tools/xenstore  -isystem /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/x86 -isystem /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/x86/x86_64 -U__linux__ -U__FreeBSD__ -U__sun__ -nostdinc -isystem /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/posix -isystem /build/xen-staging-netbsd.hg/stubdom/cross-root-x86_64/x86_64-xen-elf/include -isystem 
include -isystem /build/xen-staging-netbsd.hg/stubdom/lwip-x86_64/src/include -isystem /build/xen-staging-netbsd.hg/stubdom/lwip-x86_64/src/include/ipv4 -I/build/xen-staging-netbsd.hg/stubdom/include -mno-red-zone -O0 -fno-omit-frame-pointer -fno-optimize-sibling-calls  -m64 -mno-red-zone -fno-reorder-blocks -fno-asynchronous-unwind-tables -m64 -g -fno-strict-aliasing -std=gnu99 -Wall -Wstrict-prototypes -Wno-unused-value -Wdeclaration-after-statement   -fno-stack-protector  -D_I386MACH_ALLOW_HW_INTERRUPTS -B/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/ -isystem /build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/newlib/targ-include -isystem /build/xen-staging-netbsd.hg/stubdom/newlib-1.16.0/newlib/libc/include -B/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/x86_64 -L/build/xen-staging-netbsd.hg/stubdom/newlib-x86_64/x86_64-xen-elf/libgloss/libnosys -L/build/xen-staging-netbsd.hg/stubdom/newlib-1.16.0/libgloss/x86_64 -DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" -DPACKAGE_VERSION=\"1.16.0\" -DPACKAGE_STRING=\"newlib\ 
1.16.0\" -DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../newlib-1.16.0/newlib/libc/argz -O2 -DMISSING_SYSCALL_NAMES -fno-builtin      -O2 -g -g -O2   -c -o 
lib_a-argz_add.o `test -f 'argz_add.c' || 
echo '../../../../../newlib-1.16.0/newlib/libc/argz/'`argz_add.c
In file included 
from /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/time.h:22,
                 
from /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/sched.h:5,
                 
from /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/errno.h:116,
                 
from ../../../../../newlib-1.16.0/newlib/libc/argz/argz_add.c:7: /build/xen-staging-netbsd.hg/stubdom/../extras/mini-os/include/mini-os/types.h:22:20: 
error: stddef.h: No such file or directory




-- 
AMD Saxony, Dresden, Germany
Operating System Research Center

Legal Information:
AMD Saxony Limited Liability Company & Co. KG
Sitz (Geschäftsanschrift):
   Wilschdorfer Landstr. 101, 01109 Dresden, Deutschland
Registergericht Dresden: HRA 4896
vertretungsberechtigter Komplementär:
   AMD Saxony LLC (Sitz Wilmington, Delaware, USA)
Geschäftsführer der AMD Saxony LLC:
   Dr. Hans-R. Deppe, Thomas McCoy

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

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

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Stubdom build failure
@ 2008-10-03  0:23 Neo Jia
  0 siblings, 0 replies; 21+ messages in thread
From: Neo Jia @ 2008-10-03  0:23 UTC (permalink / raw)
  To: xen-devel

hi,

Not sure if anybody else encounter this problem or not with TIP unstable branch.

make[2]: *** No rule to make target
`/home/cjia/scratch/workareas/vtd/xen-unstable-latest.hg/stubdom/ioemu/i386-stubdom/qemu.a',
needed by `/home/cjia/scratch/workareas/vtd/xen-unstable-latest.hg/stubdom/mini-os-x86_64-ioemu/mini-os_app.o'.
 Stop.

Thanks,
Neo
-- 
I would remember that if researchers were not ambitious
probably today we haven't the technology we are using!

^ permalink raw reply	[flat|nested] 21+ messages in thread
* stubdom build failure
@ 2009-07-29 14:37 George Dunlap
  2009-07-29 14:55 ` Stefano Stabellini
  2009-07-29 15:07 ` Keir Fraser
  0 siblings, 2 replies; 21+ messages in thread
From: George Dunlap @ 2009-07-29 14:37 UTC (permalink / raw)
  To: xen-devel

When I try to compile stubdoms, I get the following build failure:

ld -nostdlib -L/xensource/hg/open-source/xen-unstable.hg/stubdom/cross-root-i686/i686-xen-elf/lib
 -m elf_i386 -T arch/x86/minios-x86_32.lds
/xensource/hg/open-source/xen-unstable.hg/stubdom/mini-os-x86_32-ioemu/mini-os.o
 -o /xensource/hg/open-source/xen-unstable.hg/stubdom/mini-os-x86_32-ioemu/mini-os
/xensource/hg/open-source/xen-unstable.hg/stubdom/mini-os-x86_32-ioemu/mini-os.o:
In function `xenstore_dom_chmod':
/xensource/hg/open-source/xen-unstable.hg/stubdom/ioemu/xenstore.c:1531:
undefined reference to `xs_strings_to_perms'
/xensource/hg/open-source/xen-unstable.hg/stubdom/ioemu/xenstore.c:1532:
undefined reference to `xs_set_permissions'
make[2]: *** [/xensource/hg/open-source/xen-unstable.hg/stubdom/mini-os-x86_32-ioemu/mini-os]
Error 1
make[2]: Leaving directory
`/xensource/hg/open-source/xen-unstable.hg/extras/mini-os'
make[1]: *** [ioemu-stubdom] Error 2
make[1]: Leaving directory `/xensource/hg/open-source/xen-unstable.hg/stubdom'
make: *** [install-stubdom] Error 2


If I do a recursive grep, I can see xs_strings_to_perms() in libxc, so
I'm not sure what the problem is...

 -George

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

end of thread, other threads:[~2009-07-29 15:07 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-09-24 12:25 stubdom: build failure Christoph Egger
2008-09-24 12:33 ` Samuel Thibault
2008-09-24 12:40   ` Christoph Egger
2008-09-24 12:48     ` Samuel Thibault
2008-09-24 12:57       ` Christoph Egger
2008-09-24 13:13         ` Samuel Thibault
2008-09-24 13:39           ` Christoph Egger
2008-09-24 13:48             ` Samuel Thibault
2008-09-24 13:51             ` Keir Fraser
2008-09-24 14:21               ` Christoph Egger
2008-09-24 14:31                 ` Keir Fraser
2008-09-24 14:35                   ` Samuel Thibault
2008-09-24 14:43                     ` Christoph Egger
2008-09-24 14:51                       ` Samuel Thibault
2008-09-24 15:02                       ` Keir Fraser
2008-09-24 14:35                 ` Samuel Thibault
2008-09-24 14:24               ` Samuel Thibault
  -- strict thread matches above, loose matches on Subject: below --
2008-10-03  0:23 Stubdom " Neo Jia
2009-07-29 14:37 stubdom " George Dunlap
2009-07-29 14:55 ` Stefano Stabellini
2009-07-29 15:07 ` Keir Fraser

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.