Failure to build tests on ARM: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object
It works fine on other arches but ARM. Here the relevant output:
[85/91] cc -o tests/checkasm 'tests/59830eb@@checkasm@exe/checkasm_checkasm.c.o' 'tests/59830eb@@checkasm@exe/checkasm_arm_checkasm_32.S.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_cdef.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_ipred.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_itx.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_loopfilter.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_looprestoration.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_mc.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_cdef.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_ipred.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_itx.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_loopfilter.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_looprestoration.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_mc.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/ipred_prepare_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/ipred_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/itx_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/lf_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/loopfilter_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/mc_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/cdef_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/cdef_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/lr_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/looprestoration_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/recon_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/film_grain_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/arm_looprestoration_init_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/arm_mc_init_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/ipred_prepare_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/ipred_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/itx_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/lf_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/loopfilter_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/mc_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/cdef_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/cdef_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/lr_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/looprestoration_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/recon_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/film_grain_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/arm_looprestoration_init_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/arm_mc_init_tmpl.c.o' 'src/25a6634@@dav1d_entrypoint@sta/lib.c.o' 'src/25a6634@@dav1d_entrypoint@sta/thread_task.c.o' 'src/25a6634@@dav1d@sha/picture.c.o' 'src/25a6634@@dav1d@sha/cpu.c.o' 'src/25a6634@@dav1d@sha/data.c.o' 'src/25a6634@@dav1d@sha/ref.c.o' 'src/25a6634@@dav1d@sha/getbits.c.o' 'src/25a6634@@dav1d@sha/obu.c.o' 'src/25a6634@@dav1d@sha/decode.c.o' 'src/25a6634@@dav1d@sha/cdf.c.o' 'src/25a6634@@dav1d@sha/msac.c.o' 'src/25a6634@@dav1d@sha/tables.c.o' 'src/25a6634@@dav1d@sha/scan.c.o' 'src/25a6634@@dav1d@sha/dequant_tables.c.o' 'src/25a6634@@dav1d@sha/intra_edge.c.o' 'src/25a6634@@dav1d@sha/lf_mask.c.o' 'src/25a6634@@dav1d@sha/ref_mvs.c.o' 'src/25a6634@@dav1d@sha/warpmv.c.o' 'src/25a6634@@dav1d@sha/wedge.c.o' 'src/25a6634@@dav1d@sha/qm.c.o' 'src/25a6634@@dav1d@sha/arm_cpu.c.o' 'src/25a6634@@dav1d@sha/arm_32_mc.S.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group -lm -Wl,--end-group -pthread
FAILED: tests/checkasm
cc -o tests/checkasm 'tests/59830eb@@checkasm@exe/checkasm_checkasm.c.o' 'tests/59830eb@@checkasm@exe/checkasm_arm_checkasm_32.S.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_cdef.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_ipred.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_itx.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_loopfilter.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_looprestoration.c.o' 'tests/59830eb@@checkasm_bitdepth_8@sta/checkasm_mc.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_cdef.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_ipred.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_itx.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_loopfilter.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_looprestoration.c.o' 'tests/59830eb@@checkasm_bitdepth_16@sta/checkasm_mc.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/ipred_prepare_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/ipred_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/itx_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/lf_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/loopfilter_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/mc_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/cdef_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/cdef_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/lr_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/looprestoration_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/recon_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/film_grain_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/arm_looprestoration_init_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_8@sta/arm_mc_init_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/ipred_prepare_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/ipred_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/itx_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/lf_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/loopfilter_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/mc_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/cdef_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/cdef_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/lr_apply_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/looprestoration_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/recon_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/film_grain_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/arm_looprestoration_init_tmpl.c.o' 'src/25a6634@@dav1d_bitdepth_16@sta/arm_mc_init_tmpl.c.o' 'src/25a6634@@dav1d_entrypoint@sta/lib.c.o' 'src/25a6634@@dav1d_entrypoint@sta/thread_task.c.o' 'src/25a6634@@dav1d@sha/picture.c.o' 'src/25a6634@@dav1d@sha/cpu.c.o' 'src/25a6634@@dav1d@sha/data.c.o' 'src/25a6634@@dav1d@sha/ref.c.o' 'src/25a6634@@dav1d@sha/getbits.c.o' 'src/25a6634@@dav1d@sha/obu.c.o' 'src/25a6634@@dav1d@sha/decode.c.o' 'src/25a6634@@dav1d@sha/cdf.c.o' 'src/25a6634@@dav1d@sha/msac.c.o' 'src/25a6634@@dav1d@sha/tables.c.o' 'src/25a6634@@dav1d@sha/scan.c.o' 'src/25a6634@@dav1d@sha/dequant_tables.c.o' 'src/25a6634@@dav1d@sha/intra_edge.c.o' 'src/25a6634@@dav1d@sha/lf_mask.c.o' 'src/25a6634@@dav1d@sha/ref_mvs.c.o' 'src/25a6634@@dav1d@sha/warpmv.c.o' 'src/25a6634@@dav1d@sha/wedge.c.o' 'src/25a6634@@dav1d@sha/qm.c.o' 'src/25a6634@@dav1d@sha/arm_cpu.c.o' 'src/25a6634@@dav1d@sha/arm_32_mc.S.o' -Wl,--no-undefined -Wl,--as-needed -Wl,-O1 -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -fexceptions -fstack-protector-strong -grecord-gcc-switches -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -march=armv7-a -mfpu=vfpv3-d16 -mtune=generic-armv7-a -mabi=aapcs-linux -mfloat-abi=hard -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -Wl,--start-group -lm -Wl,--end-group -pthread
/usr/bin/ld: tests/59830eb@@checkasm@exe/checkasm_arm_checkasm_32.S.o: relocation R_ARM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
collect2: error: ld returned 1 exit status
Logs: https://koji.fedoraproject.org/koji/taskinfo?taskID=31410986