Opened 8 years ago

Closed 6 years ago

#7043 closed bug (fixed)

Boot loader DEBUG build fails

Reported by: yahd Owned by: pdziepak
Priority: normal Milestone: R1
Component: System/Boot Loader Version: R1/Development
Keywords: debug Cc:
Blocked By: Blocking:
Has a Patch: no Platform: x86

Description (last modified by bonefish)

Text of UserBuildConfig:

SetConfigVar DEBUG : HAIKU_TOP src system boot loader : 5 : global ;
HAIKU_IMAGE_SIZE        = 1000 ;

If comment first line, build succeeds. Host OS Gentoo 2.6.37-hrev2 (x86) Haiku nighly build hrev39986 Text of error:

/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/file_systems/tarfs/boot_zlib.a(zutil.o): In function `AddSymlinkToContainerCopyFilesScript <HaikuImage>system/add-ons/kernel/drivers/dev/console 
z_error':
/home/tokheim/haiku/haiku/src/libs/zlib/zutil.c:126: undefined reference to `exit'
AddSymlinkToContainerCopyFilesScript <HaikuImage>system/add-ons/kernel/drivers/dev/dprintf 

/home/tokheim/haiku/haiku/generated/cross-tools/bin/i586-pc-haiku-ld -Bstatic --script=./src/system/ldscripts/x86/boot_loader_bios_ia32.ld -o "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/boot/boot_loader_bios_ia32" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/boot/platform/bios_ia32/boot_platform_bios_ia32.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/boot/arch/x86/boot_arch_x86.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/boot_loader.a" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/net/boot_net.a" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/boot_partitions.a" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/file_systems/bfs/boot_bfs.a" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/file_systems/amiga_ffs/boot_amiga_ffs.a" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/file_systems/tarfs/boot_tarfs.a" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/file_systems/fat/boot_fatfs.a" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/debug_5/system/boot/loader/file_systems/tarfs/boot_zlib.a" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/abs.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/ctype.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/LocaleData.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/qsort.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/kernel_vsprintf.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/memcmp.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/memmove.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strdup.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strndup.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strlen.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strnlen.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strcmp.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strcasecmp.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strncmp.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strcat.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strcpy.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strlcat.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strlcpy.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strchr.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strrchr.o" "/home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/kernel/lib/strtol.o" /home/tokheim/haiku/haiku/generated/cross-tools/i586-pc-haiku/lib/libsupc++.a /home/tokheim/haiku/haiku/generated/cross-tools/lib/gcc/i586-pc-haiku/4.4.4/libgcc.a \



...failed KernelLd /home/tokheim/haiku/haiku/generated/objects/haiku/x86/release/system/boot/boot_loader_bios_ia32 ...

Change History (3)

comment:1 Changed 8 years ago by bonefish

Component: Build SystemSystem/Boot Loader
Description: modified (diff)
Keywords: jam UserBuildConfig removed
Owner: changed from bonefish to axeld
Summary: Jam @alpha-raw fails with UserBuildConfigBoot loader DEBUG build fails

comment:2 Changed 6 years ago by pdziepak

Owner: changed from axeld to pdziepak
Status: newassigned

Fixed in hrev46160.

comment:3 Changed 6 years ago by pdziepak

Resolution: fixed
Status: assignedclosed
Note: See TracTickets for help on using tickets.