-
Notifications
You must be signed in to change notification settings - Fork 47
Open
Description
I packaged libucontext for Fedora and tried to build the package in our build system, but it apparently fails on PPC64LE due to some type errors:
[8/21] gcc -Ilibucontext_posix.so.1.p -I. -I.. -I../include -I../arch/common -I../arch/common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_DEFAULT_SOURCE -DEXPORT_UNPREFIXED -MD -MQ libucontext_posix.so.1.p/arch_ppc64_makecontext.c.o -MF libucontext_posix.so.1.p/arch_ppc64_makecontext.c.o.d -o libucontext_posix.so.1.p/arch_ppc64_makecontext.c.o -c ../arch/ppc64/makecontext.c
FAILED: [code=1] libucontext_posix.so.1.p/arch_ppc64_makecontext.c.o
gcc -Ilibucontext_posix.so.1.p -I. -I.. -I../include -I../arch/common -I../arch/common/include -fdiagnostics-color=always -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=gnu11 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -mcpu=power8 -mtune=power8 -fasynchronous-unwind-tables -fstack-clash-protection -fPIC -D_DEFAULT_SOURCE -DEXPORT_UNPREFIXED -MD -MQ libucontext_posix.so.1.p/arch_ppc64_makecontext.c.o -MF libucontext_posix.so.1.p/arch_ppc64_makecontext.c.o.d -o libucontext_posix.so.1.p/arch_ppc64_makecontext.c.o -c ../arch/ppc64/makecontext.c
In file included from ../include/libucontext/libucontext.h:5,
from ../arch/ppc64/makecontext.c:19:
../arch/common/include/libucontext/bits.h:8:9: error: unknown type name ‘greg_t’; did you mean ‘gregset_t’?
8 | typedef greg_t libucontext_greg_t;
| ^~~~~~
| gregset_t
Full build log: libucontext-1.3.3-1.fc44.ppc64le-build.log.txt
Koji build task: https://koji.fedoraproject.org/koji/taskinfo?taskID=139032486
Metadata
Metadata
Assignees
Labels
No labels