help-gplusplus
[Top][All Lists]
Advanced

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

Re: gdb backtrace for g++ programs showing ?? symbol


From: naam . yaad . nahin
Subject: Re: gdb backtrace for g++ programs showing ?? symbol
Date: Thu, 28 Feb 2008 00:42:26 -0800 (PST)
User-agent: G2/1.0

On Feb 27, 12:21 pm, Paul Pluzhnikov <ppluzhnikov-...@gmail.com>
wrote:

> Did you compile the OTL and ospace libraries yourself, and with
> the same version of g++ you used for the rest of the application?
>
> If you are using pre-compiled binaries, chances are there is a g++
> version mis-match, which causes your difficulty.

Yes, that is what struck me too. However, OTL is only a header file
and so is always built along with the application.

ospace is different and interesting. It is built with  2.96-98. The
gcc version that I am using to build the application is  2.96-129.7.2.
I had thought that since it is the same version (2.96), the patch
update differences would not be a problem. Do you think that even
those might make a difference?

> I don't see any other explanation, and nobody else chimed in :-(

Though I still don't know why it is crashing, your comments have
helped a lot ...

> You might want to try building all of this with g++-3.4.6, which
> is a much more recent and stable version.

And this is also where I am facing problems. I too thought that
building with 3.x.x would be better. However, the application is
actually using 7-8 different libraries. All of them built using gcc
2.96 (with different patch updates) ...

Converting them all to 3.x.x is ... problematic.

Now I am really stuck. :-(

I know only a little about disassembling and assembler. However, any
pointers (if possible) in this direction (such as what to look out for
etc.) would be very helpful. (Sorry about the vagueness of this
question :-))

Cheers,


reply via email to

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