help-gplusplus
[Top][All Lists]
Advanced

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

Re: BUG -- Apps made on FC5 (GCC 4.1.1) do NOT run on FC3 (GCC 4.0.2)


From: Paul Pluzhnikov
Subject: Re: BUG -- Apps made on FC5 (GCC 4.1.1) do NOT run on FC3 (GCC 4.0.2)
Date: Wed, 31 Jan 2007 20:38:54 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) XEmacs/21.4 (Jumbo Shrimp, linux)

Ignoramus20785 <ignoramus20785@NOSPAM.20785.invalid> writes:

> I tried your suggestion. It did remove dependency on libstdc++. Which
> is great. Thank you. 
>
> However, it looks like we have one more issue: all of our shared
> libraries that we build from our code (that come with the executable
> in question) have references to function _Unwind_GetIPInfo. That
> function, in turn, requires GCC_4.2.0.

You never mentioned shared libraries before. They present a whole
another set of complications.

> Is there something that we can do to not call that _Unwind_GetIPInfo?

I can't find any way of getting my objects reference that function.
Did you by any chance do this:

  ln -sf $(g++ --print-file-name=libstdc++.a) .
  g++ foo.o bar.o -o foo.so -shared -static-libgcc -L.

[That's the only way I figured out to get a shared library that
requires _Unwind_GetIPInfo.]

Don't do *that*; link them "normally" instead:

  g++ foo.o bar.o -o foo.so -shared

> On Wed, Jan 31, 2007 at 07:26:27AM -0800, Paul Pluzhnikov wrote:
>> Ignoramus20785 <ignoramus20785@NOSPAM.20785.invalid> writes:

Please do not top-post.

Cheers,
-- 
In order to understand recursion you must first understand recursion.
Remove /-nsp/ for email.


reply via email to

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