Skip to contentSkip to conversation

BROKEN BUILD (Re: Upgrade genapic code to 2.6.16-rc6 codebase. Remove entries from)

DISCUSSION Sean Dague 2 participants 2 messages Mar 20, 2006 – Mar 21, 2006 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Sean Dague

author
#1 lore raw

The following changeset breaks the build on gcc 4.0.1 with the following error:

gcc -O2 -fomit-frame-pointer -DNDEBUG -m64 -Wall -Wstrict-prototypes -Wdeclaration-after-statement -nostdinc -fno-builtin -fno-common -fno-strict-aliasing -iwithprefix include -Werror -Wno-pointer-arith -pipe -I/home/sdague/xen-unstable/xen/include -I/home/sdague/xen-unstable/xen/include/asm-x86/mach-generic -I/home/sdague/xen-unstable/xen/include/asm-x86/mach-default -msoft-float -mno-red-zone -fpic -fno-reorder-blocks -fno-asynchronous-unwind-tables -g -D__XEN__ -c es7000plat.c -o es7000plat.o
cc1: warnings being treated as errors
es7000plat.c: In function 'find_unisys_acpi_oem_table':
es7000plat.c:192: warning: 'sdt.count' is used uninitialized in this function
make[5]: *** [es7000plat.o] Error 1

Could we make compilation with gcc 4.x an entrance criteria for patches?

-Sean

Quoted 31 lines · Xen patchbot -unstable

Diffstat output:

 arch/x86/genapic/default.c                  |   18 +++++
 arch/x86/genapic/es7000.h                   |   14 +++-
 arch/x86/genapic/es7000plat.c               |   58 +++++++++--------
 include/asm-x86/genapic.h                   |   17 -----
 include/asm-x86/mach-bigsmp/mach_apic.h     |   91 +++++++++-------------------
 include/asm-x86/mach-bigsmp/mach_apicdef.h  |    4 -
 include/asm-x86/mach-default/mach_apic.h    |   20 ------
 include/asm-x86/mach-default/mach_apicdef.h |    2 
 include/asm-x86/mach-default/mach_ipi.h     |   25 +++++++
 include/asm-x86/mach-default/mach_mpparse.h |   11 ---
 include/asm-x86/mach-es7000/mach_apic.h     |   20 ------
 include/asm-x86/mach-es7000/mach_apicdef.h  |    2 
 include/asm-x86/mach-es7000/mach_mpparse.h  |   41 +++++++-----
 include/asm-x86/mach-generic/mach_apic.h    |   23 ++++++-
 include/asm-x86/mach-generic/mach_apicdef.h |    1 
 include/asm-x86/mach-generic/mach_mpparse.h |   12 ++-
 include/asm-x86/mach-summit/mach_apic.h     |   20 ------
 include/asm-x86/mach-summit/mach_apicdef.h  |    2 
 include/asm-x86/mach-summit/mach_mpparse.h  |   11 ---
 19 files changed, 169 insertions(+), 223 deletions(-)

# HG changeset patch
# User [email protected]
# Node ID d982f5fa9bad263bf4b28afad2e55a5b1675faba
# Parent a8b1d4fad72d2b0bba1b121bc250b4ac80fcf9ac Upgrade genapic code to 2.6.16-rc6 codebase. Remove entries from genapic structure that Xen does not require (mostly because we do not support Visual Workstation nor IBM/Sequent NUMA-Q).

Quoted 1 line

-Sean

Signature · 3 lines
Sean Dague
IBM Linux Technology Center                     email: [email protected]
Open Hypervisor Team                           alt: [email protected]

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#2 lore raw
Quoted 1 line · Sean Dague

Could we make compilation with gcc 4.x an entrance criteria for patches?

Turns out it's a real bug, it's also present in native Linux, and it isn't picked up by gcc-4.1-pre on x86/64 on a debug build. Anyway, fixed now. :-)

-- Keir