help-gplusplus
[Top][All Lists]
Advanced

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

Re: Minimal program crashes, depending on linker script


From: Andre Poenitz
Subject: Re: Minimal program crashes, depending on linker script
Date: Sat, 8 Apr 2006 11:35:17 +0200

Paul Pluzhnikov <ppluzhnikov-nsp@charter.net> wrote:
> If you symply rename "glActiveStencilFaceEXT" to
> e.g. "pGlActiveStencilFaceEXT" at points 2 and 3, the problem will
> also go away.
> 
> You may also wish to run your (crashing) test like this:
> 
>  LD_DEBUG=symbols,bindings ./test 2>&1 | grep glActiveStencilFaceEXT
> 
> and study the output.

A good hint. Haven't thought of that.

I recently faced a situation where I had to use two third-party
libraries that used the same symbols internally, so no matter in
which order I used them, I got a crash.

Is there a possibility to 'relink' an existing library such that the
result of this operaton would be the same as if -Bsymbolic had been
given at link time?

[Btw, am I the only one thinking that using '-Bsymbolic' should rather
be the common case instead of the exception?]

Andre'


reply via email to

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