This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: mklibgcc fallout
I noticed another problem yesterday with the current mklibgcc, but
didn't mention it: Dependencies for the shared libs are wrong on
powerpc-linux.
That's because we have two sets of directory names, one given by
MULTILIB_DIRNAMES, and the other by MULTILIB_OSDIRNAMES. For some
reason, shlib_dir isn't set unless MULTILIB_OSDIRNAMES is used, and
powerpc-linux doesn't use MULTILIB_OSDIRNAMES. We end up with
libgcc_s_nof.so.1 being built in gcc/ from objects in gcc/libgcc/nof/,
with dependencies like
nof/libgcc_s_nof.so: libgcc/nof/_muldi3_s.o
So it looks like Zack wants to put both the .so.1 and .so link in the
MULTILIB_DIRNAMES directory. I think that's the right move too, but
doing so will require changes to t-slibgcc-elf-ver and similar config
files. I know gcc will find the .so files there.
--
Alan Modra
IBM OzLabs - Linux Technology Centre