Skip to content

Version 12.2 does not cross-compile on Void Linux armv6/7l architectures #1355

@pondichys

Description

@pondichys

Greetings,

I'm currently trying to package the latest version of picom for Void Linux. To be accepted in the official repository, the package should compile against multiple architecture. All cross-compilations succeed except the ones for armv6/7l.

It fails with the following error:

[3/50] Compiling C object src/picom.p/config.c.o
FAILED: src/picom.p/config.c.o 
armv7l-linux-gnueabihf-gcc -Isrc/picom.p -Isrc -I../src -I../include -Isubprojects/test.h -I../subprojects/test.h -I/usr/armv7l-linux-gnueabihf/usr/include/pixman-1 -I/usr/armv7l-linux-gnueabihf/usr/include/dbus-1.0 -I/usr/armv7l-linux-gnueabihf/usr/lib32/dbus-1.0/include -I/usr/armv7l-linux-gnueabihf/usr/include -fvisibility=hidden -flto=auto -fdiagnostics-color=always -DNDEBUG -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -std=c11 '-DPICOM_VERSION="v12.2"' '-DPICOM_FULL_VERSION="v12.2"' -D_GNU_SOURCE -DHAS_STDC_PREDEF_H -Wcast-function-type -Wignored-qualifiers -Wmissing-parameter-type -Wnonnull -Wshadow -Wno-type-limits -Wold-style-declaration -Woverride-init -Wsign-compare -Wtype-limits -Wuninitialized -Wshift-negative-value -Wunused-but-set-parameter -Wunused-parameter -Wimplicit-fallthrough=2 -Wno-missing-braces -Wconversion -Wempty-body -fstack-clash-protection -D_FORTIFY_SOURCE=2 -O2 -pipe -march=armv7-a -mfpu=vfpv3 -mfloat-abi=hard -ffile-prefix-map=/builddir/picom-12.2/build=. -pthread -DCONFIG_REGEX_PCRE -DCONFIG_OPENGL -DCONFIG_DBUS -DHAS_INOTIFY -MD -MQ src/picom.p/config.c.o -MF src/picom.p/config.c.o.d -o src/picom.p/config.c.o -c ../src/config.c
In file included from ../src/backend/driver.h:10,
                 from ../src/common.h:47,
                 from ../src/config.c:23:
../src/config.h:221:27: error: padding struct to align 'animations' [-Werror=padded]
  221 |         struct win_script animations[ANIMATION_TRIGGER_COUNT];
      |                           ^~~~~~~~~~
cc1: some warnings being treated as errors

I attached the log here under

picom_armv7l_do_build.log

Could you have a look at it ?
Best regards.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions