Bug 1951280 - libvpx: FTBFS in Red Hat Enterprise Linux 9 CentOS Stream
Summary: libvpx: FTBFS in Red Hat Enterprise Linux 9 CentOS Stream
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: gcc
Version: CentOS Stream
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: beta
: ---
Assignee: Dave Malcolm
QA Contact: Václav Kadlčík
URL:
Whiteboard:
Depends On:
Blocks: RHEL9BetaFTBFS
TreeView+ depends on / blocked
 
Reported: 2021-04-19 21:23 UTC by Mohan Boddu
Modified: 2023-07-18 14:25 UTC (History)
7 users (show)

Fixed In Version: gcc-11.2.1-1.el9
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-12-07 21:30:47 UTC
Type: ---
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
build.log (32.00 KB, text/plain)
2021-04-19 21:23 UTC, Mohan Boddu
no flags Details
root.log (32.00 KB, text/plain)
2021-04-19 21:23 UTC, Mohan Boddu
no flags Details
state.log (1.07 KB, text/plain)
2021-04-19 21:23 UTC, Mohan Boddu
no flags Details


Links
System ID Private Priority Status Summary Last Updated
GNU Compiler Collection 99766 0 P1 RESOLVED [11 Regression] ICE: unable to generate reloads with SVE code since r11-7807-gbe70bb5e 2021-04-24 19:44:10 UTC
GNU Compiler Collection 100241 0 P3 UNCONFIRMED internal compiler error: in curr_insn_transform, at lra-constraints.c:4133 2021-05-06 17:15:27 UTC

Description Mohan Boddu 2021-04-19 21:23:35 UTC
libvpx failed to build from source in Red Hat Enterprise Linux 9 CentOS Stream

https://kojihub.stream.rdu2.redhat.com//koji/taskinfo?taskID=247600


For details on the mass rebuild see:

Please fix libvpx at your earliest convenience and set the bug's status to
ASSIGNED when you start fixing it.

Comment 1 Mohan Boddu 2021-04-19 21:23:37 UTC
Created attachment 1773497 [details]
build.log

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

Comment 2 Mohan Boddu 2021-04-19 21:23:38 UTC
Created attachment 1773498 [details]
root.log

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

Comment 3 Mohan Boddu 2021-04-19 21:23:39 UTC
Created attachment 1773499 [details]
state.log

Comment 4 Marek Polacek 2021-04-22 20:51:14 UTC
This is a GCC bug.  Only manifests with LTO enabled.  I'm reducing this now; currently at:

# gcc -Wl,--version-script,libvpx.ver -shared  -flto=auto -ffat-lto-objects -march=armv8-a -fPIC -O3 -std=gnu89 *.i
../rpmbuild/BUILD/libvpx-1.9.0.lto/vp9/encoder/vp9_firstpass.c: In function ‘vp9_first_pass_encode_tile_mb_row.constprop’:
../rpmbuild/BUILD/libvpx-1.9.0.lto/vp9/encoder/vp9_firstpass.c:1348:1: error: unable to generate reloads for:
 1348 | }
      | ^
(insn 3469 3480 3475 293 (set (reg:V2DI 3038)
        (vec_concat:V2DI (mem:DI (plus:DI (reg/v/f:DI 5193 [orig:1730 fp_acc_data ] [1730])
                    (const_int 32 [0x20])) [3 fp_acc_data_166(D)->frame_noise_energy+0 S8 A64])
            (mem:DI (plus:DI (reg/v/f:DI 5193 [orig:1730 fp_acc_data ] [1730])
                    (const_int 40 [0x28])) [3 fp_acc_data_166(D)->intra_error+0 S8 A64]))) "../rpmbuild/BUILD/libvpx-1.9.0.lto/vp9/encoder/vp9_firstpass.c":814:34 2473 {load_pair_lanesdi}
     (nil))
during RTL pass: reload
../rpmbuild/BUILD/libvpx-1.9.0.lto/vp9/encoder/vp9_firstpass.c:1348:1: internal compiler error: in curr_insn_transform, at lra-constraints.c:4133
0x14881df diagnostic_impl(rich_location*, diagnostic_metadata const*, int, char const*, std::__va_list*, diagnostic_t)
	???:0
0xc8b7db internal_error(char const*, ...)
	???:0
0xc8b8cf fancy_abort(char const*, int, char const*)
	???:0
0x783fab _fatal_insn(char const*, rtx_def const*, char const*, int, char const*)
	???:0
0xe152a7 curr_insn_transform(bool)
	???:0
0xe102d7 lra_constraints(bool)
	???:0
0x127407b lra(_IO_FILE*)
	???:0
0x1267e3f (anonymous namespace)::pass_reload::execute(function*)
	???:0
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [/tmp/cc8Ekzhr.mk:5: /tmp/ccsATGRw.ltrans1.ltrans.o] Error 1
make: *** Waiting for unfinished jobs....
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 Marek Polacek 2021-04-23 02:22:21 UTC
I've made some progress, cvise now running.

Comment 7 Marek Polacek 2021-04-24 19:42:25 UTC
Already fixed upstream.  Should be fixed by an update from F34 gcc before another mass rebuild.


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