fails to cross-compile for sparc64
Bug #1581843 reported by
wbx
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stress-ng |
Fix Released
|
High
|
Colin Ian King | ||
gcc |
Won't Fix
|
Medium
|
Bug Description
Hi,
in buildroot we have stress-ng package with version 0.04.16 and it fails
to cross-compile for sparc64 with following gcc ICE:
stress-vecmath.c: In function ‘stress_vecmath’:
stress-
a *= s; \
^
stress-
OPS(a64, b64, c64, s64);
^
Please submit a full bug report,
with preprocessed source if appropriate.
Latest 0.06.01 fails, too.
Any idea? GCC 4.9.3 is used.
best regards
Waldemar
Changed in gcc: | |
importance: | Unknown → Medium |
status: | Unknown → New |
Changed in gcc: | |
status: | New → Won't Fix |
To post a comment you must log in.
Created attachment 38445
Pre-processed source for stress-vecmath.c
Hi!
When building stress-ng on powerpc- linux-gnuspe, an internal compiler error occurs when compiling stress-vecmath.c:
cc -g -O2 -fstack- protector- strong -Wformat -Werror= format- security -Wall -Wextra -DVERSION="0.06.01" -O2 -DHAVE_APPARMOR -DHAVE_KEYUTILS_H -DHAVE_XATTR_H -DHAVE_LIB_BSD -DHAVE_LIB_Z -DHAVE_LIB_CRYPT -DHAVE_LIB_RT -DHAVE_LIB_PTHREAD -DHAVE_ FLOAT_DECIMAL -DHAVE_SECCOMP_H -DHAVE_LIB_AIO -DHAVE_SYS_CAP_H -c -o stress-vecmath.o stress-vecmath.c vecmath. c:49:4: internal compiler error: in expand_expr_real_2, at expr.c:9348 vecmath. c:114:4: note: in expansion of macro 'OPS' expr_real_ 2(separate_ ops*, rtx_def*, machine_mode, expand_modifier) src/gcc/ expr.c: 9348 gimple_ stmt_1 src/gcc/ cfgexpand. c:3462 src/gcc/ cfgexpand. c:3522 gimple_ basic_block src/gcc/ cfgexpand. c:5534 src/gcc/ cfgexpand. c:6152 //usr/share/ doc/gcc- 5/README. Bugs> for instructions.
stress-vecmath.c: In function 'stress_vecmath':
stress-
a ^= c; \
^
stress-
OPS(a64, b64, c64, s64);
^
0x103166eb expand_
../../
0x1021f24b expand_
../../
0x1021f24b expand_gimple_stmt
../../
0x10222ed3 expand_
../../
0x10224f33 execute
../../
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <file:/
Preprocessed source stored into /tmp/ccRHm88P.out file, please attach this to your bugreport.
This has been failing for quite some time. However, it seems it does not seem to be related to gcc directly as both the last successful build [1] and the last unsuccessful build [2] used both the same revision of gcc-4.9.2: r218987.
Attaching the pre-processed source from the last build with gcc-5.
Adrian
> [1] https:/ /buildd. debian. org/status/ fetch.php? pkg=stress- ng&arch= powerpcspe& ver=0.03. 12-1&stamp= 1422673290 /buildd. debian. org/status/ fetch.php? pkg=stress- ng&arch= powerpcspe& ver=0.03. 13-1&stamp= 1422840779
> [2] https:/