This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix build on PE-COFF targets and PR40125
* IainS wrote on Sun, Nov 28, 2010 at 07:24:42PM CET:
> On 28 Nov 2010, at 18:16, Ralf Wildenhues wrote:
> >>Libtool has its undefined flag set to something like this. Why
> >>would it be necessary to try to override it? Also, the libtool
> >>script will eat those arguments not prefixed with -Wl, anyway. To
> >>me it seems the darwin special case is not needed at all.
[...]
> >If it causes problems on Darwin, then it's probably better to fix
> >libtool.m4 to adjust.
>
> it seems to override libtool's normal choice (_lt_dar_allow_undefined=)
Where would that setting be?
> this causes a problem for plugins that need -undefined dynamic_lookup.
Ah. But *that* is a problem for plugins only, not for libraries like
libquadmath or libgfortran, right? If plugins have undefined symbols,
then I see that there may be problems. But then I don't see why things
would work on w32 at all, seeing that COFF simply doesn't allow for
undefined symbols.
It seems a bit suboptimal to not see a specific build failure, including
all details here. Can you please open a PR with all the information and
a cut and paste of the build failure, how configure was invoked etc?
Thanks,
Ralf