Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemd-239: Fix struct statx compilation on OSELAS.Toolchain-2018.12.0
Add upstream patch: systemd/systemd@9c869d0 This fixes the following compilation problem when building with OSELAS.Toolchain-2018.12.0 In file included from ../systemd-239/src/basic/util.h:28, from ../systemd-239/src/basic/fs-util.h:14, from ../systemd-239/src/libsystemd/sd-network/sd-network.c:13: ../systemd-239/src/basic/missing.h:1369:8: error: redefinition of 'struct statx_timestamp' struct statx_timestamp { ^~~~~~~~~~~~~~~ In file included from /opt/OSELAS.Toolchain-2018.12.0/arm-v5te-linux-gnueabi/gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/sysroot-arm-v5te-linux-gnueabi/usr/include/sys/stat.h:446, from ../systemd-239/src/basic/util.h:19, from ../systemd-239/src/basic/fs-util.h:14, from ../systemd-239/src/libsystemd/sd-network/sd-network.c:13: /opt/OSELAS.Toolchain-2018.12.0/arm-v5te-linux-gnueabi/gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/sysroot-arm-v5te-linux-gnueabi/usr/include/bits/statx.h:25:8: note: originally defined here struct statx_timestamp ^~~~~~~~~~~~~~~ In file included from ../systemd-239/src/basic/util.h:28, from ../systemd-239/src/basic/fs-util.h:14, from ../systemd-239/src/libsystemd/sd-network/sd-network.c:13: ../systemd-239/src/basic/missing.h:1374:8: error: redefinition of 'struct statx' struct statx { ^~~~~ In file included from /opt/OSELAS.Toolchain-2018.12.0/arm-v5te-linux-gnueabi/gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/sysroot-arm-v5te-linux-gnueabi/usr/include/sys/stat.h:446, from ../systemd-239/src/basic/util.h:19, from ../systemd-239/src/basic/fs-util.h:14, from ../systemd-239/src/libsystemd/sd-network/sd-network.c:13: /opt/OSELAS.Toolchain-2018.12.0/arm-v5te-linux-gnueabi/gcc-8.2.1-glibc-2.28-binutils-2.31.1-kernel-4.19-sanitized/sysroot-arm-v5te-linux-gnueabi/usr/include/bits/statx.h:36:8: note: originally defined here struct statx ^~~~~ [5/749] Compiling C object 'src/libsystemd/systemd_static@sta/sd-path_sd-path.c.o'. FAILED: src/libsystemd/systemd_static@sta/sd-path_sd-path.c.o Signed-off-by: Jon Ringle <jringle@gridpoint.com>
- Loading branch information