Page MenuHomePhabricator

FTBFS on SPARC64 due to _eina_mmap_safe_sigbus() Unaligned memory access - BUS_ADRALN. SIGBUS!!!
Open, Incoming QueuePublic

Description

EFL 1.25.1 fails to build from source on sparc64 with the following error:

[1801/2741] cc -Isrc/bin/edje/edje_pick.p -Isrc/bin/edje -I../src/bin/edje -Isrc/lib/eina -I../src/lib/eina -I. -I.. -Isrc/lib/eo -I../src/lib/eo -Isrc/lib/efl -I../src/lib/efl -Isrc/lib/eet -I../src/lib/eet -Isrc/lib/emile -I../src/lib/emile -Isrc/lib/evas/software_generic -I../src/lib/evas/software_generic -I../src/modules/evas/engines/software_generic/filters -Isrc/lib/evas -I../src/lib/evas -Isrc/lib/evas/common -I../src/lib/evas/common -Isrc/lib/evas/include -I../src/lib/evas/include -Isrc/lib/evas/filters -I../src/lib/evas/filters -Isrc/lib/evas/canvas -I../src/lib/evas/canvas -Isrc/static_libs/vg_common -I../src/static_libs/vg_common -Isrc/modules/evas/engines/buffer -I../src/modules/evas/engines/buffer -Isrc/lib/ecore -I../src/lib/ecore -Isrc/lib/ector -I../src/lib/ector -Isrc/lib/ecore_file -I../src/lib/ecore_file -Isrc/lib/ecore_input -I../src/lib/ecore_input -Isrc/lib/ecore_imf -I../src/lib/ecore_imf -Isrc/lib/ecore_imf_evas -I../src/lib/ecore_imf_evas -Isrc/lib/embryo -I../src/lib/embryo -Isrc/lib/efreet -I../src/lib/efreet -Isrc/lib/eio -I../src/lib/eio -Isrc/lib/edje -I../src/lib/edje -Isrc/lib/ecore_evas -I../src/lib/ecore_evas -Isrc/lib/efl/interfaces -Isrc/lib/evas/gesture -Isrc/lib/ector/gl -Isrc/lib/ector/software -I/usr/include/lua5.2 -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -Wall -Wpointer-arith -Wunused-parameter -Wsign-compare -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -DEFL_BETA_API_SUPPORT=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -pthread '-DPACKAGE_DATA_DIR="/usr/share/edje"' -DNEED_RUN_IN_TREE=1 -MD -MQ src/bin/edje/edje_pick.p/edje_pick.c.o -MF src/bin/edje/edje_pick.p/edje_pick.c.o.d -o src/bin/edje/edje_pick.p/edje_pick.c.o -c ../src/bin/edje/edje_pick.c
[1802/2741] /usr/bin/env EFL_RUN_IN_TREE=1 /<<PKGBUILDDIR>>/obj-sparc64-linux-gnu/src/bin/edje/edje_cc -beta -fastcomp -deps data/elementary/themes/default.edj.d -sd /<<PKGBUILDDIR>>/data/elementary/themes/snd -id /<<PKGBUILDDIR>>/data/elementary/themes/img -id /<<PKGBUILDDIR>>/data/elementary/themes/fdo -fd /<<PKGBUILDDIR>>/data/elementary/themes/fnt ../data/elementary/themes/default.edc data/elementary/themes/default.edj
FAILED: data/elementary/themes/default.edj 
/usr/bin/env EFL_RUN_IN_TREE=1 /<<PKGBUILDDIR>>/obj-sparc64-linux-gnu/src/bin/edje/edje_cc -beta -fastcomp -deps data/elementary/themes/default.edj.d -sd /<<PKGBUILDDIR>>/data/elementary/themes/snd -id /<<PKGBUILDDIR>>/data/elementary/themes/img -id /<<PKGBUILDDIR>>/data/elementary/themes/fdo -fd /<<PKGBUILDDIR>>/data/elementary/themes/fnt ../data/elementary/themes/default.edc data/elementary/themes/default.edj
ERR<4000482>:eina_mmap ../src/lib/eina/eina_mmap.c:93 _eina_mmap_safe_sigbus() Unaligned memory access - BUS_ADRALN. SIGBUS!!!
Aborted
[1803/2741] cc -Isrc/modules/evas/engines/gl_generic/libgl_generic.so.p -Isrc/modules/evas/engines/gl_generic -I../src/modules/evas/engines/gl_generic -I. -I.. -I../src/modules/evas/engines/software_generic -I../src/modules/evas/engines/gl_common -Isrc/lib/eina -I../src/lib/eina -Isrc/lib/evas/software_generic -I../src/lib/evas/software_generic -I../src/modules/evas/engines/software_generic/filters -Isrc/lib/evas -I../src/lib/evas -Isrc/lib/evas/common -I../src/lib/evas/common -Isrc/lib/evas/include -I../src/lib/evas/include -Isrc/lib/evas/filters -I../src/lib/evas/filters -Isrc/lib/evas/canvas -I../src/lib/evas/canvas -Isrc/static_libs/vg_common -I../src/static_libs/vg_common -Isrc/modules/evas/engines/buffer -I../src/modules/evas/engines/buffer -Isrc/lib/ecore -I../src/lib/ecore -Isrc/lib/eo -I../src/lib/eo -Isrc/lib/efl -I../src/lib/efl -Isrc/lib/ector -I../src/lib/ector -Isrc/lib/emile -I../src/lib/emile -Isrc/static_libs/buildsystem -I../src/static_libs/buildsystem -Isrc/lib -I../src/lib -Isrc/static_libs/libunibreak -I../src/static_libs/libunibreak -Isrc/wayland_protocol -I../src/wayland_protocol -Isrc/lib/eet -I../src/lib/eet -Isrc/lib/evas/gesture -Isrc/lib/efl/interfaces -Isrc/lib/ector/gl -Isrc/lib/ector/software -I/usr/include/lua5.2 -I/usr/include/freetype2 -I/usr/include/libpng16 -I/usr/include/uuid -I/usr/include/fribidi -I/usr/include/harfbuzz -I/usr/include/glib-2.0 -I/usr/lib/sparc64-linux-gnu/glib-2.0/include -fdiagnostics-color=always -pipe -D_FILE_OFFSET_BITS=64 -Wall -Winvalid-pch -fvisibility=hidden -Wall -Wpointer-arith -Wunused-parameter -Wsign-compare -Wno-missing-field-initializers -DHAVE_CONFIG_H=1 -D_GNU_SOURCE=1 -DEFL_BETA_API_SUPPORT=1 -DNEED_RUN_IN_TREE=1 -DELM_INTERNAL_API_ARGESFSDFEFC=1 -g -O2 -fdebug-prefix-map=/<<PKGBUILDDIR>>=. -fstack-protector-strong -Wformat -Werror=format-security -fvisibility=hidden -O3 -Wdate-time -D_FORTIFY_SOURCE=2 -fPIC -pthread -MD -MQ src/modules/evas/engines/gl_generic/libgl_generic.so.p/.._gl_common_evas_gl_api_ext.c.o -MF src/modules/evas/engines/gl_generic/libgl_generic.so.p/.._gl_common_evas_gl_api_ext.c.o.d -o src/modules/evas/engines/gl_generic/libgl_generic.so.p/.._gl_common_evas_gl_api_ext.c.o -c ../src/modules/evas/engines/gl_common/evas_gl_api_ext.c
ninja: build stopped: subcommand failed.
dh_auto_build: error: cd obj-sparc64-linux-gnu && LC_ALL=C.UTF-8 ninja -j8 -v returned exit code 1
make[1]: *** [debian/rules:64: override_dh_auto_build] Error 25
make[1]: Leaving directory '/<<PKGBUILDDIR>>'
make: *** [debian/rules:33: binary-arch] Error 2

Full build log is at https://buildd.debian.org/status/fetch.php?pkg=efl&arch=sparc64&ver=1.25.1-1&stamp=1605408823&raw=0