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: [RFC] Quad-float support in Fortran


On Wed, 27 Oct 2010, FX wrote:

>  -- The patch breaks -static-libgfortran, which needs to be 
> reimplemented inside the spec file (probably a one-liner)

I don't know what you mean by breaks, but as per yesterday's IRC 
discussion -static-libgfortran:

* should *not* link with static libquad, since that's LGPL rather than 
GPL+exception;

* should avoid a shared libquad dependency unless the program actually 
uses the __float128 facilities.

>  -- Namespace separation in libquad (math symbols will be exported as, 
> e.g., acoshq, but the rest should be liquad_-prefixed)

The shared library should also use symbol versioning with an explicit map 
showing the exact set of exported symbols.  Does it?

Also, I think a name such as libquadmath was preferred over just libquad 
(for the library at least, if not for the symbols).

> +# Create a spec file, so that compile/link tests don't fail
> +test -f libgcj.spec || touch libgcj.spec

libgfortran.spec?  Or maybe this code isn't needed at all, if things 
worked with the wrong name used?

-- 
Joseph S. Myers
joseph@codesourcery.com


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