pipewire failed to build from source in Fedora rawhide/f33 https://koji.fedoraproject.org/koji/taskinfo?taskID=48366970 For details on the mass rebuild see: https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild Please fix pipewire at your earliest convenience and set the bug's status to ASSIGNED when you start fixing it. If the bug remains in NEW state for 8 weeks, pipewire will be orphaned. Before branching of Fedora 34, pipewire will be retired, if it still fails to build. For more details on the FTBFS policy, please visit: https://fedoraproject.org/wiki/Fails_to_build_from_source
Created attachment 1710139 [details] build.log file build.log too big, will only attach last 32768 bytes
Created attachment 1710140 [details] root.log file root.log too big, will only attach last 32768 bytes
Created attachment 1710141 [details] state.log
I believe this is caused by lto that is not using the right flags on armv7. Any idea how I can fix this? If nothing else I'll disable NEON on armv7 for now. FAILED: spa/plugins/audioconvert/spa-resample gcc -o spa/plugins/audioconvert/spa-resample spa/plugins/audioconvert/spa-resample.p/spa-resample.c.o -Wl,--as-needed -Wl,--no-undefined -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -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 spa/plugins/audioconvert/libaudioconvert.a spa/plugins/audioconvert/libaudioconvert_neon.a spa/plugins/audioconvert/libtest_lib.a /usr/lib/libsndfile.so -lm -Wl,--end-group '-Wl,-rpath,$ORIGIN/' -Wl,-rpath-link,/builddir/build/BUILD/pipewire-0.3.8/armv7hl-redhat-linux-gnueabi/spa/plugins/audioconvert {standard input}: Assembler messages: {standard input}:961: Error: selected FPU does not support instruction -- `vmul.f32 q0,q4,q8' {standard input}:969: Error: selected FPU does not support instruction -- `vmul.f32 q0,q4,q8' {standard input}:970: Error: selected FPU does not support instruction -- `vmul.f32 q1,q5,q9' {standard input}:971: Error: selected FPU does not support instruction -- `vmul.f32 q2,q6,q10' {standard input}:972: Error: selected FPU does not support instruction -- `vmul.f32 q3,q7,q11' {standard input}:979: Error: selected FPU does not support instruction -- `vmla.f32 q0,q4,q8' {standard input}:980: Error: selected FPU does not support instruction -- `vmla.f32 q1,q5,q9' {standard input}:981: Error: selected FPU does not support instruction -- `vmla.f32 q2,q6,q10' {standard input}:982: Error: selected FPU does not support instruction -- `vmla.f32 q3,q7,q11' {standard input}:984: Error: selected FPU does not support instruction -- `vadd.f32 q4,q0,q1' {standard input}:985: Error: selected FPU does not support instruction -- `vadd.f32 q5,q2,q3' {standard input}:987: Error: selected FPU does not support instruction -- `vadd.f32 q0,q4,q5' {standard input}:992: Error: selected FPU does not support instruction -- `vmla.f32 q0,q6,q10' {standard input}:994: Error: selected FPU does not support instruction -- `vadd.f32 d0,d0,d1' {standard input}:995: Error: selected processor does not support `vpadd.f32 d0,d0,d0' in ARM mode {standard input}:3360: Error: selected processor does not support `vdup.32 q10,r2' in ARM mode {standard input}:3365: Error: selected FPU does not support instruction -- `vmul.f32 q0,q4,q8' {standard input}:3366: Error: selected FPU does not support instruction -- `vmul.f32 q1,q5,q9' {standard input}:3367: Error: selected FPU does not support instruction -- `vmul.f32 q2,q6,q8' {standard input}:3368: Error: selected FPU does not support instruction -- `vmul.f32 q3,q7,q9' {standard input}:3374: Error: selected FPU does not support instruction -- `vmla.f32 q0,q4,q8' {standard input}:3375: Error: selected FPU does not support instruction -- `vmla.f32 q1,q5,q9' {standard input}:3376: Error: selected FPU does not support instruction -- `vmla.f32 q2,q6,q8' {standard input}:3377: Error: selected FPU does not support instruction -- `vmla.f32 q3,q7,q9' {standard input}:3379: Error: selected FPU does not support instruction -- `vadd.f32 q0,q0,q1' {standard input}:3380: Error: selected FPU does not support instruction -- `vadd.f32 q2,q2,q3' {standard input}:3381: Error: selected FPU does not support instruction -- `vsub.f32 q2,q2,q0' {standard input}:3382: Error: selected FPU does not support instruction -- `vmla.f32 q0,q2,q10' {standard input}:3383: Error: selected FPU does not support instruction -- `vadd.f32 d0,d0,d1' {standard input}:3384: Error: selected processor does not support `vpadd.f32 d0,d0,d0' in ARM mode make: *** [/tmp/cceV36O9.mk:2: /tmp/spa-resample.i6Qtub.ltrans0.ltrans.o] Error 1 lto-wrapper: fatal error: make returned 2 exit status compilation terminated. /usr/bin/ld: error: lto-wrapper failed collect2: error: ld returned 1 exit status
Just saw this in another package for the same issue: +%ifarch x86_64 +# Fails due to asm issue +%define _lto_cflags %{nil} +%endif I'm going to try the same for armv7
Disabled LTO for armv7hl and it built now: https://koji.fedoraproject.org/koji/taskinfo?taskID=48605103
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle. Changing version to 33.