public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/97916] New: Can't compile gcc-10.2.0 with --enable-fixed-point
@ 2020-11-19 21:52 sbenzel at acm dot org
2020-11-19 21:53 ` [Bug c/97916] " sbenzel at acm dot org
` (3 more replies)
0 siblings, 4 replies; 5+ messages in thread
From: sbenzel at acm dot org @ 2020-11-19 21:52 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97916
Bug ID: 97916
Summary: Can't compile gcc-10.2.0 with --enable-fixed-point
Product: gcc
Version: 10.2.0
Status: UNCONFIRMED
Keywords: build
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: sbenzel at acm dot org
Target Milestone: ---
Received the following error when trying to build gcc-10.2.0 with fixed point
support using gcc-10.2.0 on
$uname --all
Linux WorkStation 5.9.9-arch1-1 #1 SMP PREEMPT Wed, 18 Nov 2020 19:52:04 +0000
x86_64 GNU/Linux
configured with
../gcc-10.2.0/configure --prefix=/home/jonny --enable-fixed-point
--disable-multilib --build=x86_64-unknown-linux-gnu --enable-languages=c
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug c/97916] Can't compile gcc-10.2.0 with --enable-fixed-point
2020-11-19 21:52 [Bug c/97916] New: Can't compile gcc-10.2.0 with --enable-fixed-point sbenzel at acm dot org
@ 2020-11-19 21:53 ` sbenzel at acm dot org
2020-11-19 22:13 ` [Bug bootstrap/97916] " pinskia at gcc dot gnu.org
` (2 subsequent siblings)
3 siblings, 0 replies; 5+ messages in thread
From: sbenzel at acm dot org @ 2020-11-19 21:53 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97916
--- Comment #1 from Steven Benzel <sbenzel at acm dot org> ---
/home/jonny/work/gcc_build/./gcc/xgcc -B/home/jonny/work/gcc_build/./gcc/
-B/home/jonny/x86_64-unknown-linux-gnu/bin/
-B/home/jonny/x86_64-unknown-linux-gnu/lib/ -isystem
/home/jonny/x86_64-unknown-linux-gnu/include -isystem
/home/jonny/x86_64-unknown-linux-gnu/sys-include -fno-checking -g -O2 -O2 -g
-O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wno-error=format-diag -Wno-format -Wstrict-prototypes -Wmissing-prototypes
-Wno-error=format-diag -Wold-style-definition -isystem ./include -fpic
-mlong-double-80 -DUSE_ELF_SYMVER -g -DIN_LIBGCC2 -fbuilding-libgcc
-fno-stack-protector -fpic -mlong-double-80 -DUSE_ELF_SYMVER -I. -I.
-I../.././gcc -I../../../gcc-10.2.0/libgcc -I../../../gcc-10.2.0/libgcc/.
-I../../../gcc-10.2.0/libgcc/../gcc -I../../../gcc-10.2.0/libgcc/../include
-I../../../gcc-10.2.0/libgcc/config/libbid -DENABLE_DECIMAL_BID_FORMAT
-DHAVE_CC_TLS -DUSE_TLS -o _addQQ.o -MT _addQQ.o -MD -MP -MF _addQQ.dep
-DL_add -DQQ_MODE -c ../../../gcc-10.2.0/libgcc/fixed-bit.c -fvisibility=hidden
-DHIDE_EXPORTS
In file included from ../../../gcc-10.2.0/libgcc/fixed-bit.c:55:
../../../gcc-10.2.0/libgcc/fixed-bit.h:64:1: error: unable to emulate ‘QQ’
64 | typedef _Fract QQtype __attribute__ ((mode (QQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:65:1: error: unable to emulate ‘UQQ’
65 | typedef unsigned _Fract UQQtype __attribute__ ((mode (UQQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:66:1: error: unable to emulate ‘HQ’
66 | typedef _Fract HQtype __attribute__ ((mode (HQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:67:1: error: unable to emulate ‘UHQ’
67 | typedef unsigned _Fract UHQtype __attribute__ ((mode (UHQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:68:1: error: unable to emulate ‘HA’
68 | typedef _Fract HAtype __attribute__ ((mode (HA)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:69:1: error: unable to emulate ‘UHA’
69 | typedef unsigned _Fract UHAtype __attribute__ ((mode (UHA)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:84:1: error: unable to emulate ‘SQ’
84 | typedef _Fract SQtype __attribute__ ((mode (SQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:85:1: error: unable to emulate ‘USQ’
85 | typedef unsigned _Fract USQtype __attribute__ ((mode (USQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:86:1: error: unable to emulate ‘SA’
86 | typedef _Fract SAtype __attribute__ ((mode (SA)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:87:1: error: unable to emulate ‘USA’
87 | typedef unsigned _Fract USAtype __attribute__ ((mode (USA)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:98:1: error: unable to emulate ‘DQ’
98 | typedef _Fract DQtype __attribute__ ((mode (DQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:99:1: error: unable to emulate ‘UDQ’
99 | typedef unsigned _Fract UDQtype __attribute__ ((mode (UDQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:100:1: error: unable to emulate ‘DA’
100 | typedef _Fract DAtype __attribute__ ((mode (DA)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:101:1: error: unable to emulate ‘UDA’
101 | typedef unsigned _Fract UDAtype __attribute__ ((mode (UDA)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:112:1: error: unable to emulate ‘TQ’
112 | typedef _Fract TQtype __attribute__ ((mode (TQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:113:1: error: unable to emulate ‘UTQ’
113 | typedef unsigned _Fract UTQtype __attribute__ ((mode (UTQ)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:114:1: error: unable to emulate ‘TA’
114 | typedef _Fract TAtype __attribute__ ((mode (TA)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.h:115:1: error: unable to emulate ‘UTA’
115 | typedef unsigned _Fract UTAtype __attribute__ ((mode (UTA)));
| ^~~~~~~
../../../gcc-10.2.0/libgcc/fixed-bit.c: In function ‘__addqq3’:
../../../gcc-10.2.0/libgcc/fixed-bit.c:60:1: internal compiler error: in
classify_argument, at config/i386/i386.c:2435
60 | {
| ^
0x17d155e classify_argument
../../gcc-10.2.0/gcc/config/i386/i386.c:2435
0x17d16e6 examine_argument
../../gcc-10.2.0/gcc/config/i386/i386.c:2459
0x17d57b2 ix86_return_in_memory
../../gcc-10.2.0/gcc/config/i386/i386.c:3826
0xd5fcbe aggregate_value_p(tree_node const*, tree_node const*)
../../gcc-10.2.0/gcc/function.c:2111
0xd698a3 allocate_struct_function(tree_node*, bool)
../../gcc-10.2.0/gcc/function.c:4814
0x901a24 store_parm_decls()
../../gcc-10.2.0/gcc/c/c-decl.c:9781
0x968cfb c_parser_declaration_or_fndef
../../gcc-10.2.0/gcc/c/c-parser.c:2466
0x96713c c_parser_external_declaration
../../gcc-10.2.0/gcc/c/c-parser.c:1745
0x966c8a c_parser_translation_unit
../../gcc-10.2.0/gcc/c/c-parser.c:1618
0x9a73bc c_parse_file()
../../gcc-10.2.0/gcc/c/c-parser.c:21745
0xa32818 c_common_parse_file()
../../gcc-10.2.0/gcc/c-family/c-opts.c:1190
Please submit a full bug report,
with preprocessed source if appropriate.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[3]: *** [../../../gcc-10.2.0/libgcc/fixed-obj.mk:27: _addQQ.o] Error 1
make[3]: Leaving directory
'/home/jonny/work/gcc_build/x86_64-unknown-linux-gnu/libgcc'
make[2]: *** [Makefile:19173: all-stage1-target-libgcc] Error 2
make[2]: Leaving directory '/home/jonny/work/gcc_build'
make[1]: *** [Makefile:23439: stage1-bubble] Error 2
make[1]: Leaving directory '/home/jonny/work/gcc_build'
make: *** [Makefile:999: all] Error 2
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/97916] Can't compile gcc-10.2.0 with --enable-fixed-point
2020-11-19 21:52 [Bug c/97916] New: Can't compile gcc-10.2.0 with --enable-fixed-point sbenzel at acm dot org
2020-11-19 21:53 ` [Bug c/97916] " sbenzel at acm dot org
@ 2020-11-19 22:13 ` pinskia at gcc dot gnu.org
2020-11-19 22:17 ` pinskia at gcc dot gnu.org
2020-11-20 22:43 ` egallager at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-11-19 22:13 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97916
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|c |bootstrap
Target| |x86_64-unknown-linux-gnu
Keywords| |documentation
--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
fixed point support is only supported on a few targets, MIPS is one of them.
The documentation should be clearier that it is not supported on others.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/97916] Can't compile gcc-10.2.0 with --enable-fixed-point
2020-11-19 21:52 [Bug c/97916] New: Can't compile gcc-10.2.0 with --enable-fixed-point sbenzel at acm dot org
2020-11-19 21:53 ` [Bug c/97916] " sbenzel at acm dot org
2020-11-19 22:13 ` [Bug bootstrap/97916] " pinskia at gcc dot gnu.org
@ 2020-11-19 22:17 ` pinskia at gcc dot gnu.org
2020-11-20 22:43 ` egallager at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu.org @ 2020-11-19 22:17 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97916
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords|documentation |
Last reconfirmed| |2020-11-19
Ever confirmed|0 |1
Status|UNCONFIRMED |SUSPENDED
--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
There was a RFC about enabling it for x86 last year but since the ABI was not
official nothing was done able it. I don't know if the person followed up with
the recomended way of getting the ABI agreeded upon either.
https://gcc.gnu.org/pipermail/gcc/2019-September/230445.html
Suspended until the ABI documentation is done with.
^ permalink raw reply [flat|nested] 5+ messages in thread
* [Bug bootstrap/97916] Can't compile gcc-10.2.0 with --enable-fixed-point
2020-11-19 21:52 [Bug c/97916] New: Can't compile gcc-10.2.0 with --enable-fixed-point sbenzel at acm dot org
` (2 preceding siblings ...)
2020-11-19 22:17 ` pinskia at gcc dot gnu.org
@ 2020-11-20 22:43 ` egallager at gcc dot gnu.org
3 siblings, 0 replies; 5+ messages in thread
From: egallager at gcc dot gnu.org @ 2020-11-20 22:43 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97916
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |egallager at gcc dot gnu.org
Status|SUSPENDED |RESOLVED
Resolution|--- |DUPLICATE
--- Comment #4 from Eric Gallager <egallager at gcc dot gnu.org> ---
I think this is a dup of bug 34422
*** This bug has been marked as a duplicate of bug 34422 ***
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2020-11-20 22:43 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-19 21:52 [Bug c/97916] New: Can't compile gcc-10.2.0 with --enable-fixed-point sbenzel at acm dot org
2020-11-19 21:53 ` [Bug c/97916] " sbenzel at acm dot org
2020-11-19 22:13 ` [Bug bootstrap/97916] " pinskia at gcc dot gnu.org
2020-11-19 22:17 ` pinskia at gcc dot gnu.org
2020-11-20 22:43 ` egallager at gcc dot gnu.org
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).