[prev in list] [next in list] [prev in thread] [next in thread]
List: gcc-bugs
Subject: [Bug c/93108] New: mmix generates invalid assembly on newlib (-fstack-protector-strong -ffunction-se
From: "slyfox at inbox dot ru" <gcc-bugzilla () gcc ! gnu ! org>
Date: 2019-12-30 21:43:59
Message-ID: bug-93108-4 () http ! gcc ! gnu ! org/bugzilla/
[Download RAW message or body]
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93108
Bug ID: 93108
Summary: mmix generates invalid assembly on newlib
(-fstack-protector-strong -ffunction-sections):
internal error: fixup not contained within frag
Product: gcc
Version: 9.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
Assignee: unassigned at gcc dot gnu.org
Reporter: slyfox at inbox dot ru
Target Milestone: ---
Created attachment 47572
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47572&action=edit
bug.c
Attached example is a self-contained preprocessed version of
newlib-3.1.0/newlib/libc/stdio/vfprintf.c
The crash looks like that:
$ ./xgcc -B. -fstack-protector-strong -ffunction-sections -c bug.c -o bug.o
bug.c: Assembler messages:
bug.c:3419: Error: internal error: fixup not contained within frag
$ ./xgcc -B. -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: mmix
Configured with: ../gcc/configure --target=mmix
--prefix=/home/slyfox/dev/git/gcc-mmix/../gcc-mmix-installed
--with-sysroot=/usr/mmix --disable-bootstrap --enable-languages=c --disable-nls
--with-native-system-header-dir=/include CFLAGS=-O0 CXXFLAGS=-O0
Thread model: single
Supported LTO compression algorithms: zlib zstd
gcc version 10.0.0 20191230 (experimental) (GCC)=
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic