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] |
On Wed, Nov 25, 2009 at 4:47 PM, Basile STARYNKEVITCH <basile@starynkevitch.net> wrote:Hello All,
A plugin using a function in libiberty like make_temp_file fail to be dlopen-ed, because cc1 don't have it.
We did discuss in http://gcc.gnu.org/ml/gcc/2009-07/msg00166.html & http://gcc.gnu.org/ml/gcc/2009-07/msg00157.html the usefulness of linking all (or at least most of) libliberty.a inside cc1 for plugin usage.
This is completely broken. Instead link libiberty.a with --whole-archive when plugins are enabled.
-- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basile<at>starynkevitch<dot>net mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |