This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] fix PR ada/42554 by dropping -c from ranlib on darwin10 and later
On Sun, Feb 07, 2010 at 02:15:36PM -0500, Jack Howarth wrote:
> I do find...
>
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=8498
>
> which suggests that PR8498 is caused and fixed
> by Geoff's addition of -c to ranlib. I notice
> that this is from gcc 3.3.1 with g77 linking
> in a static libg2c.a. I guess we can try a
> testsuite run with -static-libgfortran on gcc
> trunk built with and without passing -c to
> ranlib and look for increased regressions
> when -c is dropped.
> Jack
Mike,
Okay. I am a little less worried about this patch.
Testing gcc trunk with it using...
make -k check-gfortran RUNTESTFLAGS="--target_board=unix'{-m32,-m64}{-static-libgfortran,}'"
doesn't reveal any regressions in the gfortran testsuite when the static
libgfortran is used. It still would be nice to see Apple fix 'ranlib -c'
so that the linker properly ignores duplicate symbols again though.
Jack