This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: mklibgcc fallout


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]