-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Description
When trying to build app-helloworld-go, we get this error:
/home/razvan/Documents/Unikraft/debug_helloworld_go/apps/app-helloworld-go/build/libgcc/origin/gcc-7.3.0/libgo/runtime/go-signal.c:200:33: error: ‘siginfo_t {aka struct <anonymous>}’ has no member named ‘si_addr’; did you mean ‘si_code’?
ret.sigaddr = (uintptr)(info->si_addr);
This didn't happen before the uksignal support was integrated in newlib [1].
Apparently, the definition for siginfo_t is now provided by lib-newlib/musl-imported/include/signal.h and it is lighter than before, not including si_addr (this patch has lost it's effect [2]).
I think some newlib/uksignal updates will be needed in order to cover this usecase again.
[1] 08d36e6
[2] https://github.com/unikraft/lib-newlib/blob/staging/patches/0006-Add-si_addr-field-for-siginfo_t-and-use-__rtems__-de.patch
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working