[systemd-devel] systemd-196/196 fails to build with x32 Abi support
Stephan Raue
mailinglists at openelec.tv
Fri Jan 18 07:14:09 PST 2013
Hi,
i try to port my distro to x32 abi. compiling systemd-197 fails with
/bin/sh ./libtool --tag=CC --mode=compile
/home/stephan/projects/openelec-next/build.OpenELEC-ARCTIC_MC.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnux32-gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -include ./config.h
-DSYSTEM_CONFIG_FILE=\"/etc/systemd/system.conf\"
-DSYSTEM_CONFIG_UNIT_PATH=\"/etc/systemd/system\"
-DSYSTEM_DATA_UNIT_PATH=\"//lib/systemd/system\"
-DSYSTEM_SYSVINIT_PATH=\"\" -DSYSTEM_SYSVRCND_PATH=\"\"
-DUSER_CONFIG_FILE=\"/etc/systemd/user.conf\"
-DUSER_CONFIG_UNIT_PATH=\"/etc/systemd/user\"
-DUSER_DATA_UNIT_PATH=\"/usr/lib/systemd/user\"
-DCATALOG_PATH=\"/var/lib/systemd/catalog\"
-DHWDB_BIN=\"/etc/udev/hwdb.bin\"
-DSYSTEMD_CGROUP_AGENT_PATH=\"//lib/systemd/systemd-cgroups-agent\"
-DSYSTEMD_BINARY_PATH=\"//lib/systemd/systemd\"
-DSYSTEMD_SHUTDOWN_BINARY_PATH=\"//lib/systemd/systemd-shutdown\"
-DSYSTEMD_SLEEP_BINARY_PATH=\"//lib/systemd/systemd-sleep\"
-DSYSTEMCTL_BINARY_PATH=\"//bin/systemctl\"
-DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"//bin/systemd-tty-ask-password-agent\"
-DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"/usr/bin/systemd-stdio-bridge\"
-DROOTPREFIX=\"/\" -DRANDOM_SEED=\"/var/lib/random-seed\"
-DSYSTEMD_CRYPTSETUP_PATH=\"//lib/systemd/systemd-cryptsetup\"
-DSYSTEM_GENERATOR_PATH=\"//lib/systemd/system-generators\"
-DUSER_GENERATOR_PATH=\"/usr/lib/systemd/user-generators\"
-DSYSTEM_SHUTDOWN_PATH=\"//lib/systemd/system-shutdown\"
-DSYSTEM_SLEEP_PATH=\"//lib/systemd/system-sleep\"
-DSYSTEMD_KBD_MODEL_MAP=\"/usr/share/systemd/kbd-model-map\"
-DX_SERVER=\"/usr/bin/X\" -DUDEVLIBEXECDIR=\"//lib/udev\"
-DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -I ./src -I
./src/shared -I ./src/login -I ./src/journal -I ./src/systemd -I
./src/core -I ./src/core -I ./src/libudev -I ./src/udev
-Wp,-D_FORTIFY_SOURCE=2 -pipe -Wall -Wextra -Wno-inline -Wundef
-Wformat=2 -Wlogical-op -Wsign-compare -Wmissing-include-dirs
-Wold-style-definition -Wpointer-arith -Winit-self
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations
-Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align
-Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long
-Wno-overlength-strings -Wno-unused-parameter
-Wno-missing-field-initializers -Wno-unused-result -Werror=overflow
-ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing
-fvisibility=hidden -ffunction-sections -fdata-sections
-fstack-protector --param=ssp-buffer-size=4
-I/home/stephan/projects/openelec-next/build.OpenELEC-ARCTIC_MC.x86_64-devel/toolchain/x86_64-openelec-linux-gnux32/sysroot/usr/include/dbus-1.0
-I/home/stephan/projects/openelec-next/build.OpenELEC-ARCTIC_MC.x86_64-devel/toolchain/x86_64-openelec-linux-gnux32/sysroot/usr/lib/dbus-1.0/include
-march=atom -mx32 -fomit-frame-pointer -Wall -pipe -Os
-fexcess-precision=fast -ffast-math -mfpmath=sse -msse2 -mssse3 -mmovbe
-MT src/core/libsystemd_core_la-manager.lo -MD -MP -MF
src/core/.deps/libsystemd_core_la-manager.Tpo -c -o
src/core/libsystemd_core_la-manager.lo `test -f 'src/core/manager.c' ||
echo './'`src/core/manager.c
libtool: compile:
/home/stephan/projects/openelec-next/build.OpenELEC-ARCTIC_MC.x86_64-devel/toolchain/bin/x86_64-openelec-linux-gnux32-gcc
-std=gnu99 -DHAVE_CONFIG_H -I. -include ./config.h
-DSYSTEM_CONFIG_FILE=\"/etc/systemd/system.conf\"
-DSYSTEM_CONFIG_UNIT_PATH=\"/etc/systemd/system\"
-DSYSTEM_DATA_UNIT_PATH=\"//lib/systemd/system\"
-DSYSTEM_SYSVINIT_PATH=\"\" -DSYSTEM_SYSVRCND_PATH=\"\"
-DUSER_CONFIG_FILE=\"/etc/systemd/user.conf\"
-DUSER_CONFIG_UNIT_PATH=\"/etc/systemd/user\"
-DUSER_DATA_UNIT_PATH=\"/usr/lib/systemd/user\"
-DCATALOG_PATH=\"/var/lib/systemd/catalog\"
-DHWDB_BIN=\"/etc/udev/hwdb.bin\"
-DSYSTEMD_CGROUP_AGENT_PATH=\"//lib/systemd/systemd-cgroups-agent\"
-DSYSTEMD_BINARY_PATH=\"//lib/systemd/systemd\"
-DSYSTEMD_SHUTDOWN_BINARY_PATH=\"//lib/systemd/systemd-shutdown\"
-DSYSTEMD_SLEEP_BINARY_PATH=\"//lib/systemd/systemd-sleep\"
-DSYSTEMCTL_BINARY_PATH=\"//bin/systemctl\"
-DSYSTEMD_TTY_ASK_PASSWORD_AGENT_BINARY_PATH=\"//bin/systemd-tty-ask-password-agent\"
-DSYSTEMD_STDIO_BRIDGE_BINARY_PATH=\"/usr/bin/systemd-stdio-bridge\"
-DROOTPREFIX=\"/\" -DRANDOM_SEED=\"/var/lib/random-seed\"
-DSYSTEMD_CRYPTSETUP_PATH=\"//lib/systemd/systemd-cryptsetup\"
-DSYSTEM_GENERATOR_PATH=\"//lib/systemd/system-generators\"
-DUSER_GENERATOR_PATH=\"/usr/lib/systemd/user-generators\"
-DSYSTEM_SHUTDOWN_PATH=\"//lib/systemd/system-shutdown\"
-DSYSTEM_SLEEP_PATH=\"//lib/systemd/system-sleep\"
-DSYSTEMD_KBD_MODEL_MAP=\"/usr/share/systemd/kbd-model-map\"
-DX_SERVER=\"/usr/bin/X\" -DUDEVLIBEXECDIR=\"//lib/udev\"
-DPOLKIT_AGENT_BINARY_PATH=\"/usr/bin/pkttyagent\" -I ./src -I
./src/shared -I ./src/login -I ./src/journal -I ./src/systemd -I
./src/core -I ./src/core -I ./src/libudev -I ./src/udev
-Wp,-D_FORTIFY_SOURCE=2 -pipe -Wall -Wextra -Wno-inline -Wundef
-Wformat=2 -Wlogical-op -Wsign-compare -Wmissing-include-dirs
-Wold-style-definition -Wpointer-arith -Winit-self
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
-Wstrict-prototypes -Wredundant-decls -Wmissing-declarations
-Wmissing-noreturn -Wshadow -Wendif-labels -Wcast-align
-Wstrict-aliasing=2 -Wwrite-strings -Wno-long-long
-Wno-overlength-strings -Wno-unused-parameter
-Wno-missing-field-initializers -Wno-unused-result -Werror=overflow
-ffast-math -fno-common -fdiagnostics-show-option -fno-strict-aliasing
-fvisibility=hidden -ffunction-sections -fdata-sections
-fstack-protector --param=ssp-buffer-size=4
-I/home/stephan/projects/openelec-next/build.OpenELEC-ARCTIC_MC.x86_64-devel/toolchain/x86_64-openelec-linux-gnux32/sysroot/usr/include/dbus-1.0
-I/home/stephan/projects/openelec-next/build.OpenELEC-ARCTIC_MC.x86_64-devel/toolchain/x86_64-openelec-linux-gnux32/sysroot/usr/lib/dbus-1.0/include
-march=atom -mx32 -fomit-frame-pointer -Wall -pipe -Os
-fexcess-precision=fast -ffast-math -mfpmath=sse -msse2 -mssse3 -mmovbe
-MT src/core/libsystemd_core_la-manager.lo -MD -MP -MF
src/core/.deps/libsystemd_core_la-manager.Tpo -c src/core/manager.c
-fPIC -DPIC -o src/core/.libs/libsystemd_core_la-manager.o
In file included from src/core/unit.h:35:0,
from src/core/manager.h:80,
from src/core/manager.c:49:
./src/shared/util.h:498:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
void* memdup(const void *p, size_t l) _malloc_;
^
./src/shared/util.h:529:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
_malloc_ static inline void *malloc_multiply(size_t a, size_t b) {
^
./src/shared/util.h:536:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
_malloc_ static inline void *memdup_multiply(const void *p, size_t a,
size_t b) {
^
In file included from src/core/manager.c:53:0:
./src/shared/strv.h:34:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
char **strv_copy(char **l) _malloc_;
^
./src/shared/strv.h:47:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
char **strv_new(const char *x, ...) _sentinel_ _malloc_;
^
./src/shared/strv.h:48:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
char **strv_new_ap(const char *x, va_list ap) _malloc_;
^
./src/shared/strv.h:58:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
char **strv_split(const char *s, const char *separator) _malloc_;
^
./src/shared/strv.h:59:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
char **strv_split_quoted(const char *s) _malloc_;
^
./src/shared/strv.h:61:1: warning: 'rpl_malloc' attribute directive
ignored [-Wattributes]
char *strv_join(char **l, const char *separator) _malloc_;
^
src/core/manager.c: In function 'manager_setup_time_change':
src/core/manager.c:160:14: error: static assertion failed:
"sizeof(time_t) == sizeof(long)"
assert_cc(sizeof(time_t) == sizeof(long));
^
make[3]: *** [src/core/libsystemd_core_la-manager.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/stephan/projects/openelec-next/build.OpenELEC-ARCTIC_MC.x86_64-devel/systemd-197'
make: *** [system] Fehler 2
how this can be fixed?
greetings
Stephan
More information about the systemd-devel
mailing list