[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
An ICE that does not generate a full report
From: |
Alice Osako |
Subject: |
An ICE that does not generate a full report |
Date: |
Thu, 4 Apr 2024 15:39:41 -0400 |
User-agent: |
Mozilla Thunderbird |
Note: these files are modified from the ones in
the M2PP GitHub repo.
I've been experimenting with the BasicFileSys section of M2PP (configured for GM2, ISO
dialect, and the POSIX I/O libraries) and in order to provide the
POSIX open() function (used in the procedure
CreateFile()) I added a fcntl.def FFI defining the function interface and
relevant types; this file in turn imports types from SysTypes.def .
However, when I compile BasicFileSys.mod , using the make target:
bfsys: $(SRC)/BasicFileSys.mod $(INC)/BasicFileSys.def
$(INC)/Size.def $(INC)/stdio.def $(INC)/fcntl.def
$(INC)/SysTypes.def
$(COMPILER) $(FLAGS) -I$(INC)/ -c $(SRC)/BasicFileSys.mod \
-o $(OBJ)/BasicFileSys.o
I get the following error message:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
gm2 -g -fiso -freport-bug
-Isrc/ -c src/imp/BasicFileSys.mod \
-o obj/BasicFileSys.o
terminate called after throwing an instance of 'unsigned int'
cc1gm2: internal compiler error: Aborted
0x22aca27 internal_error(char const*, ...)
???:0
0x7f7b9bf3b6c7 gsignal
???:0
0x7f7b9bf234b7 abort
???:0
0x238251b __cxxabiv1::__terminate(void (*)())
???:0
0x2382588 std::terminate()
???:0
0x23826ec __cxa_throw
???:0
0xc2de73 fold(tree_node*)
???:0
0x95f787 m2convert_BuildConvert
???:0
0x96259a m2expr_BuildIndirect
???:0
0x9ac13b M2GenGCC_ConvertQuadsToTree
???:0
0x9dafe6 M2Scope_ForeachScopeBlockDo2
???:0
0x9907b4 M2Code_CodeBlock
???:0
0x990bd3 M2Code_Code
???:0
0x992430 M2Comp_compile
???:0
Please submit a full bug report, with preprocessed source.
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
The bug is not reproducible, so it is likely a hardware or OS
problem.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Attached are the relevant modules and the Makefile. Again, just to be clear, these files are
modified from the ones in the M2PP GitHub repo.
BasicFileSys.def
Description: Text document
SysTypes.def
Description: Text document
Makefile
Description: Text document
BasicFileSys.mod
Description: audio/mod
fcntl.def
Description: Text document
- An ICE that does not generate a full report,
Alice Osako <=
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/05
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/06
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/07
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/07
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/08
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/08
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/08
- Re: An ICE that does not generate a full report, Alice Osako, 2024/04/11
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/12
- Re: An ICE that does not generate a full report, Gaius Mulley, 2024/04/16