Skip to contentSkip to conversation

Comiple fails for Xen 2.0.2

DISCUSSION Nicholas Berry 1 participant 1 message Jan 5, 2005

lore
Share & tools
lore
#0 lore raw

Thanks. That fixed it.

Nik

Quoted 1 line
Quoted 1 line
Quoted 1 line

Adam Sulmicki <[email protected]> 01/05/05 12:38PM >>>

as per fix in xen 2.0-testing

sulmicki@redbull:/usr/src/cm/xen> cat xen-202r.idle_loop.diff ===== xen/arch/x86/domain.c 1.92 vs edited =====

xen/arch/x86/domain.c 2005-01-04 10:11:09 -07:00 renamed from xen/arch/x86/domain.c 2004-12-14 09:38:46 -07:00 +1 -1
@@ -57,7 +57,7 @@ static void default_idle(void)
          __sti();
  }
 
-static void idle_loop(void)
+static __attribute__((__used__)) void idle_loop(void)
  {
      int cpu = smp_processor_id();
      for ( ; ; )

sulmicki@redbull:/usr/src/cm/xen>

Quoted 13 lines · Nicholas Berry

Changes in xen/arch/x86/domain.c in 2.0.2 break comiple for me with:

ld --oformat elf32-i386  -T x86_32/xen.lds -N \
   boot/x86_32.o /home/root/xen-2.0/xen/common/common.o

/home/root/xen-2.0/xen/drivers/char/driver.o /home/root/xen-2.0/xen/drivers/acpi/driver.o /home/root/xen-2.0/xen/drivers/pci/driver.o /home/root/xen-2.0/xen/arch/x86/arch.o -o /home/root/xen-2.0/xen/xen-syms /home/root/xen-2.0/xen/arch/x86/arch.o(.text+0xc30): In function `continue_idle_task':
: undefined reference to `idle_loop'

Quoted 8 lines

This was from the tarball.

Nik

**********************************************************
Electronic Mail is not secure, may not be read every day, and should

not be used for urgent or sensitive issues.

Quoted 6 lines

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well,

almost....http://www.thinkgeek.com/sfshirt

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/xen-devel

**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues.

-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt