#13568 closed bug (fixed)

Compilation error on u-boot loader when compiling Haiku for ARM platform

Reported by: pemdp Owned by: jessicah
Priority: normal Milestone: Unscheduled
Component: System/Boot Loader Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: yes Platform: arm

Description

Compiling Haiku for ARM results in a compilation error (no matching function for call to) on the function platform_get_boot_partitions() of u-boot/devices.cpp. On that function a partition is being added to a NodeList, however it seems that Partition class is not properly defined. The problem may be related with a missing include (partitions.h). Please check the patch in attach.

To reproduce the issue you can run the following command:

../configure --build-cross-tools arm ../../buildtools/
jam -q -sHAIKU_BOOT_BOARD=verdex -sHAIKU_BOOTSTRAP_BUILD=1 haiku-mmc-image haiku-flash-uimage

This was verified on a machine running Linux Ubuntu 16.04.

Attachments (1)

0001-Add-missing-include-with-Partition-class-definition.patch (822 bytes) - added by pemdp 22 months ago.

Download all attachments as: .zip

Change History (6)

comment:1 Changed 22 months ago by pemdp

Has a Patch: set

comment:2 Changed 22 months ago by waddlesplash

Patch LGTM.

comment:4 Changed 22 months ago by pulkomandy

Owner: changed from nobody to jessicah
Status: newassigned

Patch looks similar to f286626cd, which fixed the same problem for BIOS platforms after some UEFI changes. Sounds good.

comment:5 Changed 22 months ago by waddlesplash

Resolution: fixed
Status: assignedclosed

Applied in hrev51214. Thanks!

Note: See TracTickets for help on using tickets.