exceptions and 'illegal substraction'

Manfred Hollstein manfred@s-direktnet.de
Tue Oct 28 09:05:00 GMT 1997


On Sat, 25 October 1997, 15:45:15, phdm@macqel.be wrote:

    Here is an excerpt of the egcs-971023 test results on sysV68 with native as.
    
                    === g++ Summary ===
    
    # of expected passes            1877
    # of unexpected failures        1044 <<<<<<<<<<<<<<<<<<<
    # of unexpected successes       1
    # of expected failures          529
    # of untested testcases         6
    /usr/gnu/tmp/egcs/gcc/testsuite/../xgcc version egcs-2.90.14 971023 (gcc2-970802
     experimental)
    
    and here an excerpt of the log file :
    
    Executing on host: /usr/gnu/tmp/egcs/gcc/testsuite/../xgcc -B/usr/gnu/tmp/egcs/g
    cc/testsuite/../ /usr/gnu/tmp/egcs-971023/gcc/testsuite/g++.old-deja/g++.benjami
    n/p13417.C    -I/usr/gnu/tmp/egcs-971023/libstdc++ -I/usr/gnu/tmp/egcs-971023/li
    bstdc++/stl -I/usr/gnu/tmp/egcs/gcc/testsuite/../include -c  -o /tmp/p13417.o
    compiler exited with status 1
    output is:
    Assembler: p13417.C
     aline 73 : Fatal: illegal subtraction
     aline 90 : Fatal: illegal subtraction
     aline 124 : Fatal: illegal subtraction
     aline 158 : Fatal: illegal subtraction
    
    The native as on sysV68 cannot handle substractions of symbols (except in
    switch tables), but why do we use substractions here ?  Could exceptions not
    work with absolute addresses ? sysV68 does not support shared libraries,
    it that matters.

Philippe,

I believe, your attempt to support the native system/environment where
possible is very honest; but,  GNU  `as' and  `ld' on this  particular
system  are usable since one year  (at least)! Since we are interested
in the evolution of `GNU Software', I don't think supporting these old
tools is worth the effort, don't you?

Make the GNU system live!
-- 
 Manfred Hollstein       If you have any questions about GNU software:
 Hindenburgstr. 13/1                   < mailto:manfred@s-direktnet.de >
 75446 Wiernsheim, FRG  < http://www.s-direktnet.de/HomePages/manfred/ >
 PGP key:    < http://www.s-direktnet.de/HomePages/manfred/manfred.asc >



More information about the Gcc mailing list