This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Bug report (fwd)


On Wed, 24 Mar 1999, Martin von Loewis wrote:

> > include/elf_abi.h:433: unterminated string or character constant
> 
> So what is line 433 of elf_abi.h?
> 
> > What to do?
> 
> If you need it to work now, you could try to checkout the CVS sources,
> or you could try an older snapshot. I don't understand the problem you
> are having, and I don't have the machine you have to reproduce it.
> 
> Regards,
> Martin
>

Thanks, I needed that - a kick in the behind. I looked at the line,
and changed a "/ to "//". The snapshot (19990321) compiles now. I am sorry
for giving up so quickly - it is just that lately I have had a lot of
bother with a lot of tools I have tried to build.

Upon running the testsuite (C and C++) I get queasy, however. A lot of the
tests fail. The installation instructions on the egcs homepage does say:

*************************************

How to interpret test results TBD. 

It is normal for some tests to report unexpected failures. At the current
time our testing harness does not
allow fine grained control over whether or not a test is expected to fail.
We expect to fix this problem in
future releases. 

***********************************

... but should I just ignore the 'FAIL: '-messages. I have not installed
the g77 and objc components, so obviously error messages relating to these
can be ignored. But what about the rest? Does my egcs-installation work
now? Can it be trusted?

Also, I am having trouble debugging egcs-generated code. I have tried all
the different switches (-g, -ggdb, -gstabs, -gstabs+), but gdb (4.16)
cannot even set a breakpoint at the line, which calls sort, in the simple
program, which I have also attached. I cannot seem to find a remedy for
this in FAQs, mail-archives etc. A could try installing 4.17 of gdb, but I
feel that the problems go deeper than that.
 
Regards

          Morten Nicolaj Pedersen   E-address: forge@diku.dk
       Department of Computer Science, University of Copenhagen

Results of running 'make -k check'

// Filename: test.cpp (in directory 'langimp')
// Author: Morten Nicolaj Pedersen
/* Remarks: */

#undef NDEBUG
//  #define NDEBUG

#include <vector>
#include <iostream>
#include <algorithm>

int main(int argc, char* argv[])
{
    vector<int> keys(atoi(argv[1]));
    sort(keys.begin(),keys.end());
}

//  Local Variables:
//  compile-command: "g++ -ggdb -O -Wall test.cpp -o test"
//  compilation-scroll-output: t
//  End:

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]