op-build
op-build copied to clipboard
Kernel 5.15.28 and buildroot 2022.02
There are a bunch of bugs in hostboot that need fixing before this can be merged.
../../../../src/include/util/impl/unique_ptr.H: In instantiation of ‘typename std::enable_if<std::is_array<X>::value, decltype (declval<X>()[declval<Index>()])>::type std::unique_ptr<T, Deleter>::operator[](Index) [with Index = int; X = STDUniquePtrTest::practice_struct []; T = STDUniquePtrTest::practice_struct []; Deleter = std::default_delete<STDUniquePtrTest::practice_struct []>; typename std::enable_if<std::is_array<X>::value, decltype (declval<X>()[declval<Index>()])>::type = STDUniquePtrTest::practice_struct&&]’:
./unique_ptr.H:114:16: required from here
../../../../src/include/util/impl/unique_ptr.H:408:30: error: cannot bind rvalue reference of type ‘std::enable_if<true, STDUniquePtrTest::practice_struct&&>::type’ {aka ‘STDUniquePtrTest::practice_struct&&’} to lvalue of type ‘STDUniquePtrTest::practice_struct’
408 | return iv_ptr[i];
| ~~~~~~^
edit: see this issue https://github.com/open-power/hostboot/issues/204
Can one of the admins verify this patch?
ok to test