This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mklibgcc fallout
- From: Zack Weinberg <zack at codesourcery dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Thu, 02 Dec 2004 09:12:18 -0800
- Subject: Re: mklibgcc fallout
- References: <20041202121336.GL30120@bubble.modra.org>
Alan Modra <amodra@bigpond.net.au> writes:
> This fixes one problem with Zack's recent mklibgcc changes. On a native
> powerpc64-linux build, I was seeing
>
> checking for sin in -lm... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
>
> when building multilibs. This turned out to be due to a bad symlink in
> gcc/32,
> libgcc_s_32.so -> 32/libgcc_s.so.1
> which should be
> libgcc_s_32.so -> libgcc_s.so.1.
>
> * mklibgcc.in: Trim directory when substituting shlib_base_name.
I'm not sure this is right. David Edelsohn was saying yesterday on
IRC that all the shared libgcc variants are supposed to wind up in the
toplevel, in which case the symlink *should* be 32/libgcc_s.so.1, it
should just be in the parent directory.
zw