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: [PATCH] Fix build on PE-COFF targets and PR40125 [was Re: [patch libquadmath]: Fix build of gfortran using libquadmath for pe-coff targets]



On 28 Nov 2010, at 13:33, Dave Korn wrote:


On 28/11/2010 12:57, IainS wrote:

On 28 Nov 2010, at 13:09, Dave Korn wrote:


IainS, is there a chance that you could try this on Darwin?

Yes - will do.


1) I hope it
might fix your current bootstrap problem as well, because the current
libquadmath Makefile already has -no-undefined in it which this patch
would effectively remove,

Well, that's an instance in which it didn't matter -
(I suspect that, for libs that are not plugins, usually '-undefined
error' would be correct and therefore this issue would go un- noticed).

Oh. Should the patch perhaps be adding that flag everywhere on Darwin
rather than "-undefined dynamic_lookup", and then overriding that somehow for
the lto-plugin case, or is it harmless in the case of non-plugin- libraries?

I think we should get a comment from the libtool folks, I was under the impression that libtool "did The Right Thing"
- unless we override that with the -no-undefined flag,
(but I am not in any way proficient in auto* matters)


Iain



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