Opened 14 years ago

Closed 14 years ago

#6325 closed bug (fixed)

[build system] build is broken when TRACE_VM86 is enabled

Reported by: diver Owned by: bonefish
Priority: normal Milestone: R1
Component: Build System Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

After uncommenting #define TRACE_VM86 in src/system/kernel/arch/x86/vm86.cpp kernel doesn't compile.

cc1plus: warnings being treated as errors
/home/diver/haiku/trunk/src/system/kernel/arch/x86/vm86.cpp: In function `bool vm86_fault_callback(long unsigned int, long unsigned int, bool)':
/home/diver/haiku/trunk/src/system/kernel/arch/x86/vm86.cpp:518: warning: unsigned int format, addr_t arg (arg 2)
/home/diver/haiku/trunk/src/system/kernel/arch/x86/vm86.cpp:518: warning: unsigned int format, addr_t arg (arg 3)

/home/diver/haiku/trunk/generated.x86gcc2/cross-tools/bin/i586-pc-haiku-gcc -c "/home/diver/haiku/trunk/src/system/kernel/arch/x86/vm86.cpp" -O -Wall -Wno-trigraphs -Wno-multichar -nostdinc -march=pentium -D_ZETA_USING_DEPRECATED_API_=1 -D_ZETA_TS_FIND_DIR_=1 -Werror -finline -fno-builtin -fno-exceptions -march=pentium -fno-pic -D_KERNEL_MODE -D__HAIKU__ -DHAIKU_DISTRO_COMPATIBILITY_DEFAULT -D__INTEL__ -DARCH_x86 -DBOOT_ARCHIVE_IMAGE_OFFSET=300 -DB_USE_BUILTIN_ATOMIC_FUNCTIONS -DHAIKU_INCLUDE_PATENTED_CODE=0 -D_BEOS_R5_COMPATIBLE_ -DHAIKU_TARGET_PLATFORM_HAIKU -I/home/diver/haiku/trunk/build/user_config_headers -I/home/diver/haiku/trunk/build/config_headers -I/home/diver/haiku/trunk/src/system/kernel/arch/x86 -I/home/diver/haiku/trunk/generated.x86gcc2/objects/common/system/kernel/arch/x86 -I/home/diver/haiku/trunk/generated.x86gcc2/objects/linux/x86/common/system/kernel/arch/x86 -I/home/diver/haiku/trunk/generated.x86gcc2/objects/haiku/x86/common/system/kernel/arch/x86 -I/home/diver/haiku/trunk/src/system/kernel/arch/x86/paging -I/home/diver/haiku/trunk/src/system/kernel/arch/x86/paging/32bit -I/home/diver/haiku/trunk/src/system/kernel/arch/x86/paging/pae -I/home/diver/haiku/trunk/src/system/kernel/arch/x86/timers -I/home/diver/haiku/trunk/generated.x86gcc2/objects/haiku/x86/common/system/kernel -I/home/diver/haiku/trunk/src/add-ons/kernel/bus_managers/ps2 -I/home/diver/haiku/trunk/src/system/kernel/arch/x86/timers -I- -I/home/diver/haiku/trunk/headers/private/. -I/home/diver/haiku/trunk/headers/private/kernel -I/home/diver/haiku/trunk/headers/private/libroot -I/home/diver/haiku/trunk/headers/private/shared -I/home/diver/haiku/trunk/headers/private/kernel/boot/platform/bios_ia32 -I/home/diver/haiku/trunk/headers/private/kernel/arch/x86 -I/home/diver/haiku/trunk/generated.x86gcc2/objects/haiku/x86/common/system/kernel -I/home/diver/haiku/trunk/headers/private/. -I/home/diver/haiku/trunk/headers/private/system -I/home/diver/haiku/trunk/headers/private/system/arch/x86 -I/home/diver/haiku/trunk/headers/private/shared -I/home/diver/haiku/trunk/headers/private/. -I/home/diver/haiku/trunk/headers/private/kernel -I/home/diver/haiku/trunk/headers/private/libroot -I/home/diver/haiku/trunk/headers/private/shared -I/home/diver/haiku/trunk/headers/private/kernel/boot/platform/bios_ia32 -I/home/diver/haiku/trunk/headers/private/kernel/arch/x86 -I/home/diver/haiku/trunk/generated.x86gcc2/objects/haiku/x86/common/system/kernel -I/home/diver/haiku/trunk/headers/private/. -I/home/diver/haiku/trunk/headers/private/system -I/home/diver/haiku/trunk/headers/private/system/arch/x86 -I/home/diver/haiku/trunk/headers/cpp -I/home/diver/haiku/trunk/headers/build/gcc-2.95.3 -I/home/diver/haiku/trunk/headers -I/home/diver/haiku/trunk/headers/posix -I/home/diver/haiku/trunk/headers/glibc -I/home/diver/haiku/trunk/headers/os -I/home/diver/haiku/trunk/headers/os/add-ons -I/home/diver/haiku/trunk/headers/os/add-ons/file_system -I/home/diver/haiku/trunk/headers/os/add-ons/graphics -I/home/diver/haiku/trunk/headers/os/add-ons/input_server -I/home/diver/haiku/trunk/headers/os/add-ons/registrar -I/home/diver/haiku/trunk/headers/os/add-ons/screen_saver -I/home/diver/haiku/trunk/headers/os/add-ons/tracker -I/home/diver/haiku/trunk/headers/os/app -I/home/diver/haiku/trunk/headers/os/device -I/home/diver/haiku/trunk/headers/os/drivers -I/home/diver/haiku/trunk/headers/os/game -I/home/diver/haiku/trunk/headers/os/interface -I/home/diver/haiku/trunk/headers/os/kernel -I/home/diver/haiku/trunk/headers/os/locale -I/home/diver/haiku/trunk/headers/os/media -I/home/diver/haiku/trunk/headers/os/mail -I/home/diver/haiku/trunk/headers/os/midi -I/home/diver/haiku/trunk/headers/os/midi2 -I/home/diver/haiku/trunk/headers/os/net -I/home/diver/haiku/trunk/headers/os/opengl -I/home/diver/haiku/trunk/headers/os/storage -I/home/diver/haiku/trunk/headers/os/support -I/home/diver/haiku/trunk/headers/os/translation -I/home/diver/haiku/trunk/headers/private/. -o "/home/diver/haiku/trunk/generated.x86gcc2/objects/haiku/x86/release/system/kernel/arch/x86/vm86.o" ;

...failed C++ /home/diver/haiku/trunk/generated.x86gcc2/objects/haiku/x86/release/system/kernel/arch/x86/vm86.o ...

This is with hrev37541.

Change History (1)

comment:1 by bonefish, 14 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev37556.

Note: See TracTickets for help on using tickets.