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

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Sun, 06 Mar 2011 11:53:03 +0100

On 2011-03-06 at 11:50:33 [+0100], Ingo Weinhold <ingo_weinhold@xxxxxx> 
wrote:
> On a gcc 2 hybrid installation when loading a gcc 4 programm the runtime
> loader first searches a needed library in the gcc4 subdirectories and only
> when it fails falls back to the primary search paths. If the full set of
> libaries is available for both compilers now, we can as well disable that
> fallback. As Oliver wrote, the package management will consider the two x86
> gcc version as separate architectures and the case won't happen anyway, 
> since
> the package dependency resolution would already ensure that all the needed
> libraries are available anyway.

The fallback is here [1], in case anyone wants to test whether things still 
work when disabling it.

CU, Ingo

[1] 
http://dev.haiku-os.org/browser/haiku/trunk/src/system/runtime_loader/runtime_loader.cpp?rev=39661#L252

Other related posts: