Subject: Re: 1.6U gcc3/galeon libgcc_s.so (buildlink issue?)
To: David Brownlee <abs@netbsd.org>
From: Frederick Bruckman <fredb@immanent.net>
List: tech-pkg
Date: 07/01/2003 11:03:31
On Tue, 1 Jul 2003, David Brownlee wrote:

> 	Trying to build galeon on 1.6U using a gcc3 compiled with
> 	--enable-threads fails on a config test due to it not picking
> 	up libgcc_s.so:

> 	Editing .buildlink/bin/gcc and adding -lgcc_s to the end of
> 	the arguments works around the problem.
>
> # ldd /usr/pkg/gcc-3.3/lib/libstdc++.so.5
> /usr/pkg/gcc-3.3/lib/libstdc++.so.5:
>          -lm.0 => /usr/lib/libm387.so.0
> 	 -lm.0 => /usr/lib/libm.so.0
>
> 	Is the problem that libstdc++.so is missing its dependency on
> 	libgcc_s.so?

Looks like it. On that note, I wonder when NetBSD is going to start
adding the appropriate shared library dependencies in the base system?
Adding them to the "X" shared libraries was by all measures successful
(no problems, no complaints).

Frederick