gm2
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gm2] gm2 on Fedora failure


From: Christoph Schlegel
Subject: Re: [Gm2] gm2 on Fedora failure
Date: Wed, 1 Nov 2017 10:33:31 +0100

Hi Gaius,

now the build stops here:

bash ../../gcc-8.0.0/gcc/gm2/tools-src/makeSystem -fpim \
             ../../gcc-8.0.0/gcc/gm2/gm2-libs/SYSTEM.def \
             ../../gcc-8.0.0/gcc/gm2/gm2-libs/SYSTEM.mod \
             -I../../gcc-8.0.0/gcc/gm2/gm2-libs \
             "/home/christoph/gm2build/./gcc/xgm2 
-B/home/christoph/gm2build/./gcc/" 
/home/christoph/gm2build/gcc/gm2/gm2-libs/SYSTEM.def
cc1gm2: internal compiler error: in require, at machmode.h:282
0x5c1695 layout_type(tree_node*)
        ../../gcc-8.0.0/gcc/stor-layout.c:2222
0x5e0021 build_m2_specific_size_type
        ../../gcc-8.0.0/gcc/gm2/gm2-gcc/m2type.c:1362
0x5e1529 build_m2_real96_type_node
        ../../gcc-8.0.0/gcc/gm2/gm2-gcc/m2type.c:2025
0x5e18c9 m2type_InitBaseTypes
        ../../gcc-8.0.0/gcc/gm2/gm2-gcc/m2type.c:2157
0x642523 InitBaseSimpleTypes
        gm2/gm2-compiler-boot/M2Base.c:659
0x6470c7 M2Base_InitBase
        gm2/gm2-compiler-boot/M2Base.c:2306
0x612a0d Init
        gm2/gm2-compiler-boot/SymbolTable.c:4125
0x622f49 _M2_SymbolTable_init
        gm2/gm2-compiler-boot/SymbolTable.c:17118
0x5e75db init_PerCompilationInit(char const*)
        ../../gcc-8.0.0/gcc/gm2/gm2-gcc/init.c:169
0x5af3cd gm2_parse_input_files
        ../../gcc-8.0.0/gcc/gm2/gm2-lang.c:469
0x5af3f1 gm2_langhook_parse_file
        ../../gcc-8.0.0/gcc/gm2/gm2-lang.c:475
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.
cc1gm2: internal compiler error: in require, at machmode.h:282
0x5c1695 layout_type(tree_node*)
        ../../gcc-8.0.0/gcc/stor-layout.c:2222
0x5e0021 build_m2_specific_size_type
        ../../gcc-8.0.0/gcc/gm2/gm2-gcc/m2type.c:1362
0x5e1529 build_m2_real96_type_node
        ../../gcc-8.0.0/gcc/gm2/gm2-gcc/m2type.c:2025
0x5e18c9 m2type_InitBaseTypes
        ../../gcc-8.0.0/gcc/gm2/gm2-gcc/m2type.c:2157
0x642523 InitBaseSimpleTypes
        gm2/gm2-compiler-boot/M2Base.c:659
0x6470c7 M2Base_InitBase
        gm2/gm2-compiler-boot/M2Base.c:2306
0x612a0d Init
        gm2/gm2-compiler-boot/SymbolTable.c:4125
0x622f49 _M2_SymbolTable_init
        gm2/gm2-compiler-boot/SymbolTable.c:17118
0x5e75db init_PerCompilationInit(char const*)
        ../../gcc-8.0.0/gcc/gm2/gm2-gcc/init.c:169
0x5af3cd gm2_parse_input_files
        ../../gcc-8.0.0/gcc/gm2/gm2-lang.c:469
0x5af3f1 gm2_langhook_parse_file
        ../../gcc-8.0.0/gcc/gm2/gm2-lang.c:475
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[2]: *** [../../gcc-8.0.0/gcc/gm2/Make-lang.in:1321: 
/home/christoph/gm2build/gcc/gm2/gm2-libs/SYSTEM.def] Error 1
make[2]: Leaving directory '/home/christoph/gm2build/gcc'
make[1]: *** [Makefile:4322: all-gcc] Error 2
make[1]: Leaving directory '/home/christoph/gm2build'
make: *** [Makefile:921: all] Error 2

Regards,
Christoph


> Gesendet: Montag, 30. Oktober 2017 um 10:33 Uhr
> Von: "Gaius Mulley" <address@hidden>
> An: "Christoph Schlegel" <address@hidden>
> Cc: gm2list <address@hidden>
> Betreff: Re: gm2 on Fedora failure
>
> Christoph Schlegel <address@hidden> writes:
> 
> > Hello Gaius,
> >
> > using the script you provided to graft gm2 on gcc trunk I get:
> >
> > ../gcc-8.0.0/gcc -I../../gcc-8.0.0/gcc/gm2/gm2-compiler-boot 
> > -I../../gcc-8.0.0/gcc/../include -I../../gcc-8.0.0/gcc/../libcpp/include  
> > -I../../gcc-8.0.0/gcc/../libdecnumber 
> > -I../../gcc-8.0.0/gcc/../libdecnumber/bid -I../libdecnumber 
> > -I../../gcc-8.0.0/gcc/../libbacktrace  -I../../gcc-8.0.0/gcc/gm2 \
> >           -Igm2 -Igm2/gm2-compiler-boot -Igm2/gm2-libs-boot 
> > gm2/gm2-compiler/m2flex.c -o gm2/gm2-compiler-boot/m2flex.o
> > In file included from 
> > ../../gcc-8.0.0/gcc/gm2/gm2-gcc/gcc-consolidation.h:45:0,
> >                  from ../../gcc-8.0.0/gcc/gm2/m2.flex:22:
> > ../../gcc-8.0.0/gcc/attribs.h: In function 'tree_node* 
> > canonicalize_attr_name(tree)':
> > ../../gcc-8.0.0/gcc/attribs.h:118:12: error: 'get_identifier_with_length' 
> > was not declared in this scope
> >      return get_identifier_with_length (s + 2, l - 4);
> >             ^~~~~~~~~~~~~~~~~~~~~~~~~~
> > ../../gcc-8.0.0/gcc/attribs.h:118:12: note: suggested alternative: 
> > 'ht_identifier_ptr'
> >      return get_identifier_with_length (s + 2, l - 4);
> >             ^~~~~~~~~~~~~~~~~~~~~~~~~~
> >             ht_identifier_ptr
> > <stdout>: In function 'yy_buffer_state* yy_scan_bytes(const char*, int)':
> > <stdout>:2611:17: warning: comparison between signed and unsigned integer 
> > expressions [-Wsign-compare]
> > ../../gcc-8.0.0/gcc/gm2/m2.flex: In function 'void consumeLine()':
> > ../../gcc-8.0.0/gcc/gm2/m2.flex:489:27: warning: comparison between signed 
> > and unsigned integer expressions [-Wsign-compare]
> >      currentLine->linebuf = (char *)xrealloc (currentLine->linebuf, yyleng);
> >        ~~~~~~~~~~~~~~~~~~~~^~~~~~~
> > ../../gcc-8.0.0/gcc/gm2/m2.flex: In function 'void 
> > assert_location(location_t)':
> 
> Hi Christoph,
> 
> ah many thanks for the feedback - I think this is now fixed on the
> trunc,
> 
> regards,
> Gaius
> 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]