Bug 1865664 - pipewire: FTBFS in Fedora rawhide/f33
Summary: pipewire: FTBFS in Fedora rawhide/f33
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: buildsystem
Version: 33
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Seth Vidal
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: F33FTBFS
TreeView+ depends on / blocked
 
Reported: 2020-08-03 21:33 UTC by Fedora Release Engineering
Modified: 2020-09-02 08:02 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-09-02 08:02:39 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2020-08-03 21:33 UTC, Fedora Release Engineering
no flags Details
root.log (32.00 KB, text/plain)
2020-08-03 21:33 UTC, Fedora Release Engineering
no flags Details
state.log (969 bytes, text/plain)
2020-08-03 21:33 UTC, Fedora Release Engineering
no flags Details

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.


Note You need to log in before you can comment on or make changes to this bug.