-
-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Closed
Labels
Milestone
Description
Submission type
- Bug report
Note: not sure whether this is systemd ot util-linux bug, or both,
please close if the bug does not belong to systemd.
systemd version the issue has been seen with
master @ 0d9fca7
Used distribution
custom, arm, cross compiled
In case of bug report: Expected behaviour you didn't see
Build succeeds
In case of bug report: Unexpected behaviour you saw
Build fails
FAILED: src/core/core@sta/service.c.o
armv8-rpi3-linux-gnueabihf-gcc -pipe -Wno-unused-value -Wno-unused-but-set-variable -Wno-deprecated-declarations -Wno-misleading-indentation -Wno-unused-function -Wno-unused-result -Wno-unused-parameter -Wimplicit-fallthrough=0 -Wno-unused-but-set-parameter -Wno-int-in-bool-context -mcpu=cortex-a53 -mfpu=neon-fp-armv8 -ftree-vectorize -mvectorize-with-neon-quad -ftree-loop-vectorize -O2 -flto=8 -Wl,-flto=8 -fno-fat-lto-objects -ffast-math -funsafe-math-optimizations -ftrapv -Wno-error=format-nonliteral -Isrc/core/core@sta -Isrc/core -I../../../src/systemd/src/core -I. -I../../../src/systemd/ -Isrc/libsystemd-network -I../../../src/systemd/src/libsystemd-network -I../../../src/systemd/src/libsystemd/sd-network -I../../../src/systemd/src/libsystemd/sd-netlink -I../../../src/systemd/src/libsystemd/sd-id128 -I../../../src/systemd/src/libsystemd/sd-hwdb -I../../../src/systemd/src/libsystemd/sd-device -I../../../src/systemd/src/libsystemd/sd-bus -Isrc/libudev -I../../../src/systemd/src/libudev -Isrc/udev -I../../../src/systemd/src/udev -Isrc/login -I../../../src/systemd/src/login -Isrc/timesync -I../../../src/systemd/src/timesync -Isrc/resolve -I../../../src/systemd/src/resolve -Isrc/journal -I../../../src/systemd/src/journal -Isrc/systemd -I../../../src/systemd/src/systemd -Isrc/shared -I../../../src/systemd/src/shared -Isrc/basic -I../../../src/systemd/src/basic -I/home/asavah/kross/build/rpi3/rootfs/usr/include/libmount -I/home/asavah/kross/build/rpi3/rootfs/usr/include/blkid -I/home/asavah/kross/build/rpi3/rootfs/usr/include/uuid -flto -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -std=gnu99 -Wextra -Werror=undef -Wlogical-op -Wmissing-include-dirs -Wold-style-definition -Wpointer-arith -Winit-self -Wdeclaration-after-statement -Wfloat-equal -Wsuggest-attribute=noreturn -Werror=missing-prototypes -Werror=implicit-function-declaration -Werror=missing-declarations -Werror=return-type -Werror=incompatible-pointer-types -Werror=format=2 -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wimplicit-fallthrough=5 -Wshadow -Wendif-labels -Wstrict-aliasing=2 -Wwrite-strings -Werror=overflow -Wdate-time -Wnested-externs -ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing -fvisibility=hidden -fstack-protector -fstack-protector-strong --param=ssp-buffer-size=4 -fPIE -Wno-unused-parameter -Wno-missing-field-initializers -Wno-unused-result -Wno-format-signedness -Wno-error=nonnull -Werror=shadow -ffunction-sections -fdata-sections -include config.h -fPIC -pthread -MD -MQ 'src/core/core@sta/service.c.o' -MF 'src/core/core@sta/service.c.o.d' -o 'src/core/core@sta/service.c.o' -c ../../../src/systemd/src/core/service.c
In file included from ../../../src/systemd/src/basic/util.h:47:0,
from ../../../src/systemd/src/basic/hashmap.h:30,
from ../../../src/systemd/src/shared/bus-util.h:31,
from ../../../src/systemd/src/core/service.c:31:
../../../src/systemd/src/basic/missing.h:528:17: error: expected identifier before numeric constant
#define MS_MOVE 8192
In case of bug report: Steps to reproduce the problem
Build systemd with latest util-linux master @ util-linux/util-linux@edc1c90 and linux headers 4.14.x (MS_* defines not fixed)
The possible cause is described here #8452 , defines clash ...
when building systemd with this line https://github.com/karelzak/util-linux/blob/master/libmount/src/libmount.h.in#L31 commented out the build succeeds.
ping @karelzak
Maybe a missing define guard somewhere ...
Reactions are currently unavailable