[haiku-development] Re: Fwd: [Haiku] #7203: gcc4 seems to have an issue locating libraries

  • From: Ryan Leavengood <leavengood@xxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sat, 5 Mar 2011 17:31:44 -0500

On Sat, Mar 5, 2011 at 4:38 PM, Matt Madia <mattmadia@xxxxxxxxx> wrote:
>
> Not yet, at least. The "with such mixing, symbol resolution will be
> inconsistent.", part concerned me as that sounds like what will
> typically happen on a gcc2h image -- running some GCC4 apps with GCC2
> libs.

My understanding was that the runtime_loader would only load GCC4
libraries for GCC4 apps. It definitely seems like an error to load
GCC2 libraries for a GCC4 apps (or vice versa.) Of course it is really
only an issue for C++ code, and maybe we could somehow mark C-only
libraries to explicitly tell the runtime_loader they are safe to load
regardless of the app's compiler. But in general the runtime_loader
should error out if the compilers don't match between app and library.

-- 
Regards,
Ryan

Other related posts: