[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Another ICE (was Re: Portable bitwise operations library)
From: |
Alice Osako |
Subject: |
Another ICE (was Re: Portable bitwise operations library) |
Date: |
Wed, 20 Mar 2024 18:17:03 -0400 |
User-agent: |
Mozilla Thunderbird |
https://github.com/Schol-R-LEA/Modula-2-Portable-Bit-Manipulation/tree/main
I've copied the M2bsk code over as Benjamin Kowarsch suggested, and
got... another internal compiler error.
To say that this is becoming frustrating would be an understatement.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
// Target: x86_64-pc-linux-gnu
// Configured with: /home/schol-r-lea/Deployments/gm2/gcc/configure
--host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--prefix=/home/schol-r-lea/opt --bindir=/home/schol-r-lea/opt/bin
--libdir=/home/schol-r-lea/opt/lib
--libexecdir=/home/schol-r-lea/opt/lib --enable-threads=posix
--enable-clocale=gnu --disable-multilib --disable-bootstrap
--enable-checking --enable-languages=m2 : (reconfigured)
/home/schol-r-lea/Deployments/gm2/gcc/configure
--host=x86_64-pc-linux-gnu --target=x86_64-pc-linux-gnu
--prefix=/home/schol-r-lea/opt --bindir=/home/schol-r-lea/opt/bin
--libdir=/home/schol-r-lea/opt/lib
--libexecdir=/home/schol-r-lea/opt/lib --enable-threads=posix
--enable-clocale=gnu --disable-multilib --disable-bootstrap
--enable-checking --enable-languages=m2
// Thread model: posix
// Supported LTO compression algorithms: zlib zstd
// gcc version 13.2.1 20240320 (GCC)
//
// -quiet: internal compiler error: illegal symbol
// 0x1f08a27 internal_error(char const*, ...)
// ???:0
// 0x8cbef2 m2linemap_internal_error
// ???:0
// 0x9967cb M2Emit_InternalError
// ???:0
// 0x8f621e M2Error_InternalError
// ???:0
// 0x9540fa SymbolTable_IsProcedure
// ???:0
// 0x948879 PCSymBuild_PushConstFunctionType
// ???:0
// 0x983bb3 PCBuild_CompilationUnit
// ???:0
// 0x8f369e 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.
// /home/schol-r-lea/opt/lib/gcc/x86_64-pc-linux-gnu/13.2.1/cc1gm2
-quiet -dumpdir objs/ -dumpbase CardBitOps.mod -dumpbase-ext .mod
-mtune=generic -march=x86-64 -g -freport-bug -fm2-pathname=-
-fm2-pathnameIdefs/ -fm2-pathnameI. -fscaffold-dynamic
-flibs=m2cor,m2log,m2pim,m2iso -fm2-pathname=- -fm2-pathnameIdefs/
-fm2-pathnameI. impls/portable/CardBitOps.mod -c -o - -frandom-seed=0
-fdump-noaddr
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Worse, when I try to build GM2 for 14.x rather than 13.x, it also gets
an ICE when building the ISO libraries.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
libtool: compile:
/home/schol-r-lea/Deployments/gm2/gcc/build/x86_64-pc-linux-gnu/./gcc/gm2
-B/home/schol-r-lea/Deployments/gm2/gcc/build/x86_64-pc-linux-gnu/./gcc/
-c -g -O2 -g -O2 -fm2-pathname=m2iso -I. -Ilibm2iso
-I/home/schol-r-lea/Deployments/gm2/gcc/gcc/m2/gm2-libs-iso
-fm2-pathname=m2pim
-I/home/schol-r-lea/Deployments/gm2/gcc/gcc/m2/gm2-libs -fiso
-fextended-opaque -fm2-g -g -Wcase-enum -Wreturn-type -fcase
-fm2-prefix=m2iso
/home/schol-r-lea/Deployments/gm2/gcc/libgm2/libm2iso/../../gcc/m2/gm2-libs-iso/ProgramArgs.mod
-fPIC -DPIC -o .libs/ProgramArgs.o
/home/schol-r-lea/Deployments/gm2/gcc/libgm2/libm2iso/../../gcc/m2/gm2-libs-iso/ProgramArgs.mod:
In function ‘Init’:
/home/schol-r-lea/Deployments/gm2/gcc/libgm2/libm2iso/../../gcc/m2/gm2-libs-iso/ProgramArgs.mod:443:1:
error: non-trivial conversion in ‘integer_cst’
443 | BEGIN
| ^~~~~
<unnamed-unsigned:7>
CARDINAL
_T253->flags = 9;
/home/schol-r-lea/Deployments/gm2/gcc/libgm2/libm2iso/../../gcc/m2/gm2-libs-iso/ProgramArgs.mod:443:1:
internal compiler error: ‘verify_gimple’ failed
0x1032f6e verify_gimple_in_seq(gimple*, bool)
/home/schol-r-lea/Deployments/gm2/gcc/gcc/tree-cfg.cc:5314
0xcc99ea gimplify_body(tree_node*, bool)
/home/schol-r-lea/Deployments/gm2/gcc/gcc/gimplify.cc:19141
0xcc9bba gimplify_function_tree(tree_node*)
/home/schol-r-lea/Deployments/gm2/gcc/gcc/gimplify.cc:19257
0xae03c7 cgraph_node::analyze()
/home/schol-r-lea/Deployments/gm2/gcc/gcc/cgraphunit.cc:687
0xae2c97 analyze_functions
/home/schol-r-lea/Deployments/gm2/gcc/gcc/cgraphunit.cc:1251
0xae397d symbol_table::finalize_compilation_unit()
/home/schol-r-lea/Deployments/gm2/gcc/gcc/cgraphunit.cc:2558
Please submit a full bug report, with preprocessed source (by using
-freport-bug).
Please include the complete backtrace with any bug report.
See <https://gcc.gnu.org/bugs/> for instructions.
make[4]: *** [Makefile:937: ProgramArgs.lo] Error 1
make[4]: Leaving directory
'/home/schol-r-lea/Deployments/gm2/gcc/build/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/libgm2/libm2iso'
make[3]: *** [Makefile:606: all] Error 2
make[3]: Leaving directory
'/home/schol-r-lea/Deployments/gm2/gcc/build/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/libgm2/libm2iso'
make[2]: *** [Makefile:488: all-recursive] Error 1
make[2]: Leaving directory
'/home/schol-r-lea/Deployments/gm2/gcc/build/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/libgm2'
make[1]: *** [Makefile:418: all] Error 2
make[1]: Leaving directory
'/home/schol-r-lea/Deployments/gm2/gcc/build/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/libgm2'
make: *** [Makefile:16670: all-target-libgm2] Error 2
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
These are non-trivial problems.
- Re: Portability Considerations, (continued)
- Re: Portability Considerations, Benjamin Kowarsch, 2024/03/17
- Re: Portability Considerations, Eric Streit, 2024/03/17
- Re: Portability Considerations, Benjamin Kowarsch, 2024/03/17
- Re: Portability Considerations, Alice Osako, 2024/03/18
- Re: Portability Considerations, Benjamin Kowarsch, 2024/03/18
- Re: Portability Considerations, Alice Osako, 2024/03/18
- Portable bitwise operations library (was Re: Portability Considerations), Alice Osako, 2024/03/18
- Re: Portable bitwise operations library (was Re: Portability Considerations), Benjamin Kowarsch, 2024/03/20
- Re: Portable bitwise operations library (was Re: Portability Considerations), Alice Osako, 2024/03/20
- Re: Portable bitwise operations library (was Re: Portability Considerations), Benjamin Kowarsch, 2024/03/20
- Another ICE (was Re: Portable bitwise operations library),
Alice Osako <=
- Re: Another ICE (was Re: Portable bitwise operations library), john o goyo, 2024/03/20
- Re: Portability Considerations, Alice Osako, 2024/03/20
- Re: Portability Considerations, Gaius Mulley, 2024/03/21
- Re: Portability Considerations, Alice Osako, 2024/03/21
- Re: Portability Considerations, Gaius Mulley, 2024/03/21
- Re: Portability Considerations, Alice Osako, 2024/03/21
- Re: Portability Considerations, Gaius Mulley, 2024/03/21
- Re: Portability Considerations, Rudolf Schubert, 2024/03/21
- Re: Portable bitwise operations library (was Re: Portability Considerations), Gaius Mulley, 2024/03/22
- Re: Portable bitwise operations library (was Re: Portability Considerations), Alice Osako, 2024/03/21