On Sun, 29 Mar 2009, Richard Guenther wrote: > I see that libgfortran is GPLv2 + exception while libiberty is LGPLv2. I > think > for statically linking libiberty into libgfortran there may be issues.
The license situation for libiberty is much more complicated than that; parts are GPL (no exception), parts LGPL, parts GPL + exception. See PR 32213. I am told the SC never discussed the 2003 message pointed to in that PR. Any changes now would probably also include converting the files to GPLv3 / LPGLv3 / GPLv3 + new runtime exception. If you wish to use particular files from libiberty in a runtime library, you'll need FSF approval to distribute them under GPL + exception (as in the C++ demangler) and should then compile those source files from within the build system for your runtime library (see how libstdc++ builds in the demangler from libiberty, for example) rather than doing something risky like linking with a mixed-license target libiberty. -- Joseph S. Myers jos...@codesourcery.com