Note: This is a public test instance of Red Hat Bugzilla. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback at bugzilla.redhat.com.

Bug 1865664

Summary: pipewire: FTBFS in Fedora rawhide/f33
Product: [Fedora] Fedora Reporter: Fedora Release Engineering <releng>
Component: buildsystemAssignee: Seth Vidal <skvidal>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 33CC: brunovern.a, wtaymans
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-09-02 08:02:39 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1803234    
Attachments:
Description Flags
build.log
none
root.log
none
state.log none

Description Fedora Release Engineering 2020-08-03 21:33:23 UTC
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

Comment 1 Fedora Release Engineering 2020-08-03 21:33:25 UTC
Created attachment 1710139 [details]
build.log

file build.log too big, will only attach last 32768 bytes

Comment 2 Fedora Release Engineering 2020-08-03 21:33:26 UTC
Created attachment 1710140 [details]
root.log

file root.log too big, will only attach last 32768 bytes

Comment 3 Fedora Release Engineering 2020-08-03 21:33:27 UTC
Created attachment 1710141 [details]
state.log

Comment 4 Wim Taymans 2020-08-04 08:16:15 UTC
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

Comment 5 Wim Taymans 2020-08-04 08:18:02 UTC
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

Comment 6 Wim Taymans 2020-08-04 08:32:18 UTC
Disabled LTO for armv7hl and it built now:

https://koji.fedoraproject.org/koji/taskinfo?taskID=48605103

Comment 7 Ben Cotton 2020-08-11 15:15:45 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 33 development cycle.
Changing version to 33.