WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] TOT doesn't link with debugging on

To: Kip Macy <kmacy@xxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] TOT doesn't link with debugging on
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Tue, 29 Jun 2004 20:41:50 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 29 Jun 2004 20:43:50 +0100
Envelope-to: steven.hand@xxxxxxxxxxxx
In-reply-to: Your message of "Tue, 29 Jun 2004 11:17:54 PDT." <20040629111659.K13158@xxxxxxxxxxxxxxxxxxxxx>
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Looks like you've got an inconsistent build -- common/kernel.c has
been built without NDEBUG defined, in contrast to arch/x86/mm.c.
If you change compile flags you need to 'make clean' for sanity.

 -- Keir


> make[2]: Entering directory `/x/eng/raidant/bk/xen-tot/xen/arch/x86'
> ld -r -o arch.o entry.o trampoline.o acpi.o apic.o delay.o domain_page.o
> extable.o flushtlb.o i387.o i8259.o idle0_task.o io_apic.o irq.o mm.o
> mpparse.o nmi.o pci-irq.o pci-pc.o pci-x86.o   process.o rwlock.o
> setup.o smpboot.o smp.o time.o traps.o usercopy.o
> ld -T xen.lds -N  boot/boot.o
> /x/eng/raidant/bk/xen-tot/xen/common/common.o
> /x/eng/raidant/bk/xen-tot/xen/drivers/char/driver.o
> /x/eng/raidant/bk/xen-tot/xen/drivers/acpi/driver.o
> /x/eng/raidant/bk/xen-tot/xen/drivers/pci/driver.o
> /x/eng/raidant/bk/xen-tot/xen/arch/x86/arch.o -o
> /x/eng/raidant/bk/xen-tot/xen/xen-syms
> /x/eng/raidant/bk/xen-tot/xen/common/common.o(.text+0x4d9c): In function
> `cmain':
> : undefined reference to `memguard_init'
> make[2]: *** [default] Error 1
> make[2]: Leaving directory `/x/eng/raidant/bk/xen-tot/xen/arch/x86'
> make[1]: *** [/x/eng/raidant/bk/xen-tot/xen/xen] Error 2
> make[1]: Leaving directory `/x/eng/raidant/bk/xen-tot/xen'
> make: *** [all] Error 2
> 
> 
> On Sat, 26 Jun 2004, Kip Macy wrote:
> 
> > kmacy@moe make
> > rm -f linux-xen-sparse
> > ln -sf linux-2.4.26-xen-sparse linux-xen-sparse
> > make prefix=/x/eng/raidant/bk/xen-tot/install dist=yes -C xen install
> > make[1]: Entering directory `/x/eng/raidant/bk/xen-tot/xen'
> > rm -f include/xen/compile.h common/kernel.o
> > rm -f include/asm
> > ln -sf asm-x86 include/asm
> > cd tools/figlet && make && ./figlet Xen 1.3"-devel"
> > 1>>../../include/xen/compile.h && cd ../..
> > make[2]: Entering directory `/x/eng/raidant/bk/xen-tot/xen/tools/figlet'
> > make[2]: `figlet' is up to date.
> > make[2]: Leaving directory `/x/eng/raidant/bk/xen-tot/xen/tools/figlet'
> >  __  __            _   _____        _                _
> >  \ \/ /___ _ __   / | |___ /     __| | _____   _____| |
> >   \  // _ \ '_ \  | |   |_ \ __ / _` |/ _ \ \ / / _ \ |
> >   /  \  __/ | | | | |_ ___) |__| (_| |  __/\ V /  __/ |
> >  /_/\_\___|_| |_| |_(_)____/    \__,_|\___| \_/ \___|_|
> >
> > make -C tools
> > make[2]: Entering directory `/x/eng/raidant/bk/xen-tot/xen/tools'
> > make -C figlet
> > make[3]: Entering directory `/x/eng/raidant/bk/xen-tot/xen/tools/figlet'
> > make[3]: `figlet' is up to date.
> > make[3]: Leaving directory `/x/eng/raidant/bk/xen-tot/xen/tools/figlet'
> > make[2]: Leaving directory `/x/eng/raidant/bk/xen-tot/xen/tools'
> > make -C common
> > make[2]: Entering directory `/x/eng/raidant/bk/xen-tot/xen/common'
> > gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -O3
> > -iwithprefix include -Wall -Werror -DMONITOR_BASE=0xFC500000
> > -fomit-frame-pointer -I/x/eng/raidant/bk/xen-tot/xen/include
> > -D__KERNEL__ -Wno-pointer-arith -Wredundant-decls -m32 -march=i686
> > -DNDEBUG -c kernel.c -o kernel.o
> > gcc -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -O3
> > -iwithprefix include -Wall -Werror -DMONITOR_BASE=0xFC500000
> > -fomit-frame-pointer -I/x/eng/raidant/bk/xen-tot/xen/include
> > -D__KERNEL__ -Wno-pointer-arith -Wredundant-decls -m32 -march=i686
> > -DNDEBUG -c sched_bvt.c -o sched_bvt.o
> > sched_bvt.c: In function `bvt_alloc_task':
> > sched_bvt.c:99: warning: use of cast expressions as lvalues is
> > deprecated
> > sched_bvt.c: In function `bvt_init_scheduler':
> > sched_bvt.c:413: warning: use of cast expressions as lvalues is
> > deprecated
> > make[2]: *** [sched_bvt.o] Error 1
> > make[2]: Leaving directory `/x/eng/raidant/bk/xen-tot/xen/common'
> > make[1]: *** [/x/eng/raidant/bk/xen-tot/xen/xen] Error 2
> > make[1]: Leaving directory `/x/eng/raidant/bk/xen-tot/xen'
> > make: *** [all] Error 2
> > kmacy@moe gcc -v
> > Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/3.3.3/specs
> > Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
> > --infodir=/usr/share/info --enable-shared --enable-threads=posix
> > --disable-checking --disable-libunwind-exceptions --with-system-zlib
> > --enable-__cxa_atexit --host=i386-redhat-linux
> > Thread model: posix
> > gcc version 3.3.3 20040412 (Red Hat Linux 3.3.3-7)
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email sponsored by Black Hat Briefings & Training.
> > Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
> > digital self defense, top technical experts, no vendor pitches,
> > unmatched networking opportunities. Visit www.blackhat.com
> > _______________________________________________
> > Xen-devel mailing list
> > Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> > https://lists.sourceforge.net/lists/listinfo/xen-devel
> >
> 
> 
> -------------------------------------------------------
> This SF.Net email sponsored by Black Hat Briefings & Training.
> Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
> digital self defense, top technical experts, no vendor pitches, 
> unmatched networking opportunities. Visit www.blackhat.com
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxxxx
> https://lists.sourceforge.net/lists/listinfo/xen-devel



-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 - 
digital self defense, top technical experts, no vendor pitches, 
unmatched networking opportunities. Visit www.blackhat.com
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>