public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/108163] New: LTO crosscompilation for arm fails
@ 2022-12-17 23:52 david at ixit dot cz
2022-12-18 0:09 ` [Bug target/108163] mesa LTO compiling ICEs with unable to generate reloads for neon_vld4qav16qi on arm-linux-gnueabihf pinskia at gcc dot gnu.org
2023-02-08 16:28 ` david at ixit dot cz
0 siblings, 2 replies; 3+ messages in thread
From: david at ixit dot cz @ 2022-12-17 23:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108163
Bug ID: 108163
Summary: LTO crosscompilation for arm fails
Product: gcc
Version: 10.2.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: david at ixit dot cz
Target Milestone: ---
Whole log: https://gitlab.freedesktop.org/okias/mesa/-/jobs/33700498
I'll test with more recent compiler soon, but this one is Debian default,
reporting just for sure.
FAILED: src/util/tests/format/u_format_test
/usr/lib/ccache/arm-linux-gnueabihf-g++ -o src/util/tests/format/u_format_test
src/util/tests/format/u_format_test.p/u_format_test.c.o -flto -Wl,--as-needed
-Wl,--no-undefined -Wl,--start-group src/util/libmesa_util.a
src/util/format/libmesa_format.a src/util/libmesa_util_sse41.a
src/c11/impl/libmesa_util_c11.a /usr/lib/arm-linux-gnueabihf/libz.so -pthread
-lm -ldl -Wl,--end-group
../src/util/format/u_format_unpack_neon.c: In function
'util_format_b8g8r8a8_unorm_unpack_rgba_8unorm_neon':
../src/util/format/u_format_unpack_neon.c:53:1: error: unable to generate
reloads for:
53 | }
| ^
(insn 30 78 34 4 (set (reg:XI 124 [ _19 ])
(unspec:XI [
(mem:OI (post_inc:SI (reg/f:SI 147)) [0 MEM[(const
__builtin_neon_qi[64] *)src_67]+0 S32 A8])
(unspec:V16QI [
(const_int 0 [0])
] UNSPEC_VSTRUCTDUMMY)
] UNSPEC_VLD4A))
"/usr/lib/gcc-cross/arm-linux-gnueabihf/10/include/arm_neon.h":13069:14 2673
{neon_vld4qav16qi}
(expr_list:REG_INC (reg/f:SI 147)
(nil)))
during RTL pass: reload
../src/util/format/u_format_unpack_neon.c:53:1: internal compiler error: in
curr_insn_transform, at lra-constraints.c:4017
0x5927ef _fatal_insn(char const*, rtx_def const*, char const*, int, char
const*)
../../src/gcc/rtl-error.c:108
0x892df7 curr_insn_transform
../../src/gcc/lra-constraints.c:4017
0x8939b7 lra_constraints(bool)
../../src/gcc/lra-constraints.c:5036
0x8820cf lra(_IO_FILE*)
../../src/gcc/lra.c:2443
0x840657 do_reload
../../src/gcc/ira.c:5527
0x840657 execute
../../src/gcc/ira.c:5713
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:///usr/share/doc/gcc-10/README.Bugs> for instructions.
lto-wrapper: fatal error: /usr/bin/arm-linux-gnueabihf-g++ returned 1 exit
status
compilation terminated.
mold: fatal: lto-wrapper failed
collect2: error: ld returned 1 exit status
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/108163] mesa LTO compiling ICEs with unable to generate reloads for neon_vld4qav16qi on arm-linux-gnueabihf
2022-12-17 23:52 [Bug c++/108163] New: LTO crosscompilation for arm fails david at ixit dot cz
@ 2022-12-18 0:09 ` pinskia at gcc dot gnu.org
2023-02-08 16:28 ` david at ixit dot cz
1 sibling, 0 replies; 3+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-12-18 0:09 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108163
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Ever confirmed|0 |1
Last reconfirmed| |2022-12-18
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Definitely needs a testcase really.
^ permalink raw reply [flat|nested] 3+ messages in thread
* [Bug target/108163] mesa LTO compiling ICEs with unable to generate reloads for neon_vld4qav16qi on arm-linux-gnueabihf
2022-12-17 23:52 [Bug c++/108163] New: LTO crosscompilation for arm fails david at ixit dot cz
2022-12-18 0:09 ` [Bug target/108163] mesa LTO compiling ICEs with unable to generate reloads for neon_vld4qav16qi on arm-linux-gnueabihf pinskia at gcc dot gnu.org
@ 2023-02-08 16:28 ` david at ixit dot cz
1 sibling, 0 replies; 3+ messages in thread
From: david at ixit dot cz @ 2023-02-08 16:28 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108163
--- Comment #2 from David Heidelberg (okias) <david at ixit dot cz> ---
I have suspicion it could be some parts of mesa compiled with
-mfpu=neon
while other parts are compiled without this option explicitly stated.
I think the test case could be passing it to different parts of the code which
gets interlinked.
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-02-08 16:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-17 23:52 [Bug c++/108163] New: LTO crosscompilation for arm fails david at ixit dot cz
2022-12-18 0:09 ` [Bug target/108163] mesa LTO compiling ICEs with unable to generate reloads for neon_vld4qav16qi on arm-linux-gnueabihf pinskia at gcc dot gnu.org
2023-02-08 16:28 ` david at ixit dot cz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).