gm2
[Top][All Lists]
Advanced

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

[Gm2] gm2 on Fedora failure


From: Christoph Schlegel
Subject: [Gm2] gm2 on Fedora failure
Date: Thu, 26 Oct 2017 21:55:39 +0200

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)':
../../gcc-8.0.0/gcc/gm2/m2.flex:504:41: warning: unused parameter 'location' 
[-Wunused-parameter]
 {
                                         ^       
make[3]: *** [../../gcc-8.0.0/gcc/gm2/Make-lang.in:1175: 
gm2/gm2-compiler-boot/m2flex.o] Error 1
make[3]: Leaving directory '/home/christoph/gm2build/gcc'
cp: cannot stat 'stage1/gm2/cc1gm2': No such file or directory
make[2]: *** [../../gcc-8.0.0/gcc/gm2/Make-lang.in:589: cc1gm2] 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


(Fedora 26 / Kernel 4.13.5-200.fc26.x86_64 #1 SMP)

Regards,

Christoph



reply via email to

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