From: Wolfgang J. <wo....@ka...> - 2013-03-08 19:44:05
Attachments:
compile.msg
|
Hi all, today I downloaded the newest GEC version from GIT and tried to install it from scratch, i.e. by running $GOBO/work/bootstrap/bootstrap.sh. It was, and still is, really terrible. There are syntax errors in files gec2.c, gec17.c, then syntax errors in files $GOBO/tool/gec/runtime/c/eif_file.c and eif_dir.c (probably causing the errors in the first files), finally in the external C code of $GOBO/library/free_elks/kernel/file_info.e. After fixing the syntax errors and adding option <option name="link" value="-pthread"/> to the "gc" option in file $GOBO/src/gec/system.xace (probably Unix/Linux specific) compilation works to some extend but issuing many warnings and finally does crash definitively because of "missing kernel class *UNKOWN*". The attachment contains the compilation messages. Best regards WJ PS: Installation platform: - Linux 3.5.0-25-generic x86_64 - gcc version 4.7.2 - git commit d9f61c2e8ecf183634641470cc3ccfe39577b632 -- Dr. Wolfgang Jansen Lauenburger Straße 40 D-12169 Berlin Tel: 0172 4086916 |
From: Eric B. <er...@go...> - 2013-04-02 23:43:21
|
Hi Wolfgang, On 3/8/2013 8:43 PM, Wolfgang Jansen wrote: > today I downloaded the newest GEC version from GIT and tried to install > it from scratch, > i.e. by running $GOBO/work/bootstrap/bootstrap.sh. It was, and still is, > really terrible. I'm sorry to hear about your bad experience. The problem is that I don't have access to a system other than Windows. So I was not aware of these problems. I tried to fix them the best that I could based on your report. Please let me know if it's working better for you. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |
From: Wolfgang J. <wo....@ka...> - 2013-04-03 09:45:54
|
On 04/03/2013 12:23 AM, Eric Bezault wrote: > Hi Wolfgang, > > On 3/8/2013 8:43 PM, Wolfgang Jansen wrote: >> today I downloaded the newest GEC version from GIT and tried to install >> it from scratch, >> i.e. by running $GOBO/work/bootstrap/bootstrap.sh. It was, and still is, >> really terrible. > > I'm sorry to hear about your bad experience. > The problem is that I don't have access to a system other than Windows. > So I was not aware of these problems. I tried to fix them the best that > I could based on your report. Please let me know if it's working better > for you. > Yes, it works better but not good. Compiling file $GOBO/work/bootstrap/gec2.c issues the warnings gec2.c:206:32: warning: character constant too long for its type [enabled by default] (and a handful more lines). There is the char literal '\177775'. I guess that the gcc turns it into a 8bit literal by removing extra bits, i.e. the warnings become semantic errors. I changed the occurrences of '\177775' into the int literal 0177775. Then the same warnings (and semantic errors) occur when the generated gec compiles itself, now lines gec2.c:10203:13 etc., first in routine UTF_CONVERTER.escaped_utf_32_substring_into_utf_8_0_pointer where line 312 c := s.code (i) (with `s: READABLE_STRING_GENERAL') is compiled into t4 = (T3)('\177775'); t5 = ((T10)(t4)); I think that routines STRING_32.code or CHARACTER_32.code are to be modified. Nevertheless, compilation continues (because we have warnings, not errors) and ends again with errors of Eiffel compilation: [GVKNL1] missing kernel class *UNKNOWN*. ---- [GIAAA] internal error. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVKNL1] missing kernel class *UNKNOWN*. ---- [GVSRC4] unknown root class *UNKNOWN*. ---- BUILD FAILED! BUILD FAILED! Then I replaced line 194 of STRING_32 Result := area.item (i - 1).code.to_natural_32 by Result := area.item (i - 1).natural_32_code and tried it again: the warnings and errors remain. Here, I gave up. -- Dr. Wolfgang Jansen Lauenburger Straße 40 D-12169 Berlin Tel: 0172 4086916 |
From: Eric B. <er...@go...> - 2013-04-03 15:17:35
|
On 4/3/2013 11:45 AM, Wolfgang Jansen wrote: > Compiling file $GOBO/work/bootstrap/gec2.c issues the warnings > gec2.c:206:32: warning: character constant too long for its type > [enabled by default] > (and a handful more lines). There is the char literal '\177775'. It looks like you don't have the latest version of this file. There is no literal '\177775' at lit 206 anymore. -- Eric Bezault mailto:er...@go... http://www.gobosoft.com |
From: Wolfgang J. <wo....@ka...> - 2013-04-03 10:14:40
|
On 04/03/2013 12:23 AM, Eric Bezault wrote: > Hi Wolfgang, > > On 3/8/2013 8:43 PM, Wolfgang Jansen wrote: >> today I downloaded the newest GEC version from GIT and tried to install >> it from scratch, >> i.e. by running $GOBO/work/bootstrap/bootstrap.sh. It was, and still is, >> really terrible. > > I'm sorry to hear about your bad experience. > The problem is that I don't have access to a system other than Windows. > So I was not aware of these problems. I tried to fix them the best that > I could based on your report. Please let me know if it's working better > for you. > Addition to the previous reply. Sorry, I was confused when I recompiled the stuff. Now I see that after modification of STRING_32 mentioned before C and Eiffel compilation work very well. -- Dr. Wolfgang Jansen Lauenburger Straße 40 D-12169 Berlin Tel: 0172 4086916 |