This is the mail archive of the 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: need help debugging

Yes, I'm doing

export PATH=$GCC_ROOT/bin:$PATH
c++ -v

to initialize the different versions.
I also just checked the make output and it uses c++ everywhere and
verified that the segfaulting executable is using the correct libs
(using ldd).

This problem occurs 100% reproducable on at least 4 compiler/machine
combinations (all i686-linux, could try hppa1.1-hpux11.0, too but that
would literally take days). It occurs at all optimisation settings
(the dump in the original mail was from a try without any -O flag).

Are there any other compiler flags I might try changing?


On Sat, May 19, 2001, Carlo Wood wrote:
> Are you SURE you
> 1) compiled everything with the same compiler
> 2) use the same version of gcc for linking as that you use to compile
>    your C++ source files with?
> I once had a problem where I compiled the C++ code with CXX=g++-3.0,
> but things got linked with CC=gcc (which was version 2.96).
> As a result, the application crashed.

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