op-build icon indicating copy to clipboard operation
op-build copied to clipboard

Kernel 5.15.28 and buildroot 2022.02

Open shenki opened this issue 2 years ago • 4 comments

shenki avatar Mar 16 '22 01:03 shenki

There are a bunch of bugs in hostboot that need fixing before this can be merged.

shenki avatar Mar 16 '22 01:03 shenki

../../../../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

shenki avatar Mar 16 '22 01:03 shenki

Can one of the admins verify this patch?

op-jenkins avatar Mar 16 '22 01:03 op-jenkins

ok to test

IlyaSmirnov91 avatar Mar 16 '22 13:03 IlyaSmirnov91