#14313 closed bug (fixed)

ARM toolchain broken

Reported by: kallisti5 Owned by: bonefish
Priority: high Milestone: Unscheduled
Component: Build System Version: R1/Development
Keywords: ARM Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

After the GCC 7 change, our ARM build is broken.

KernelLd /home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/kernel_arm 
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/kernel_core.o: In function `scheduler_init':
scheduling_analysis.cpp:(.text+0x4270c): undefined reference to `operator delete[](void*, unsigned long)'
scheduling_analysis.cpp:(.text+0x42758): undefined reference to `operator delete[](void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/debug/kernel_debug.o: In function `BKernel::HexDumpDataProvider::~HexDumpDataProvider()':
user_debugger.cpp:(.text+0xdfe8): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/debug/kernel_debug.o: In function `BKernel::HexDumpBufferDataProvider::~HexDumpBufferDataProvider()':
user_debugger.cpp:(.text._ZN7BKernel25HexDumpBufferDataProviderD0Ev[_ZN7BKernel25HexDumpBufferDataProviderD5Ev]+0x14): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/device_manager/kernel_device_manager.o: In function `BPrivate::AbstractModuleDevice::~AbstractModuleDevice()':
IOSchedulerSimple.cpp:(.text+0x178): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/device_manager/kernel_device_manager.o: In function `BPrivate::BaseDevice::~BaseDevice()':
IOSchedulerSimple.cpp:(.text+0x230): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/device_manager/kernel_device_manager.o: In function `BPrivate::FileDevice::~FileDevice()':
IOSchedulerSimple.cpp:(.text+0x787c): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/device_manager/kernel_device_manager.o:IOSchedulerSimple.cpp:(.text+0x78b0): more undefined references to `operator delete(void*, unsigned long)' follow
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/device_manager/kernel_device_manager.o: In function `IOSchedulerSimple::~IOSchedulerSimple()':
IOSchedulerSimple.cpp:(.text+0x11ff0): undefined reference to `operator delete[](void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/messaging/kernel_messaging.o: In function `BPrivate::MessagingArea::Create(long, long)':
MessagingService.cpp:(.text+0x1cec): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/messaging/kernel_messaging.o: In function `BPrivate::MessagingService::UnregisterService()':
MessagingService.cpp:(.text+0x21a4): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/messaging/kernel_messaging.o: In function `BPrivate::MessagingService::_AllocateCommand(long, long, BPrivate::MessagingArea*&, void*&, bool&)':
MessagingService.cpp:(.text+0x2298): undefined reference to `operator delete(void*, unsigned long)'
MessagingService.cpp:(.text+0x22fc): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/posix/kernel_posix.o: In function `_user_xsi_semget':
xsi_semaphore.cpp:(.text+0x60ac): undefined reference to `operator delete[](void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/posix/kernel_posix.o: In function `_user_xsi_semctl':
xsi_semaphore.cpp:(.text+0x6cc4): undefined reference to `operator delete[](void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/util/kernel_util.o: In function `AVLTreeCompare::~AVLTreeCompare()':
StringHash.cpp:(.text+0x18): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/util/kernel_util.o: In function `BKernel::KernelReferenceable::~KernelReferenceable()':
StringHash.cpp:(.text._ZN7BKernel19KernelReferenceableD0Ev[_ZN7BKernel19KernelReferenceableD5Ev]+0x3c): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/util/kernel_util.o: In function `non-virtual thunk to BKernel::KernelReferenceable::~KernelReferenceable()':
StringHash.cpp:(.text._ZN7BKernel19KernelReferenceableD0Ev[_ZN7BKernel19KernelReferenceableD5Ev]+0x84): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/vm/kernel_vm.o: In function `vm_page_write_modified_page_range':
VMUserArea.cpp:(.text+0x1200c): undefined reference to `operator delete[](void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/arch/arm/kernel_arch_arm.o: In function `ARMPagingStructures::~ARMPagingStructures()':
ARMVMTranslationMap32Bit.cpp:(.text+0x521c): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/lib/kernel_misc.o: In function `BDataIO::~BDataIO()':
Referenceable.cpp:(.text+0x318): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/lib/kernel_misc.o: In function `BMemoryIO::~BMemoryIO()':
Referenceable.cpp:(.text+0x338): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/lib/kernel_misc.o: In function `BMallocIO::~BMallocIO()':
Referenceable.cpp:(.text+0x650): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/lib/kernel_misc.o: In function `BPositionIO::~BPositionIO()':
Referenceable.cpp:(.text+0x870): undefined reference to `operator delete(void*, unsigned long)'
/home/kallisti5/Code/haiku/generated.arm/objects/haiku/arm/release/system/kernel/lib/kernel_misc.o:Referenceable.cpp:(.text+0xac4): more undefined references to `operator delete(void*, unsigned long)' follow

We are seeing complaints about improper PIC support in libstdc++ during bootstrap from ICU as well.

Change History (1)

comment:1 by waddlesplash, 10 months ago

Resolution: fixed
Status: newclosed

This was fixed by adding that delete symbol to the kernel_cpp support.

Note: See TracTickets for help on using tickets.