> Date: Tue, 24 Mar 2015 17:07:00 +0100 > From: Hector Oron > > Hello, > > I believe libcc1 is versioned library therefore, it should dlopen on > libcc1.so.0 instead libcc1.so. > The patch should be applied to master and 7.9 branch. And what happens if the major version of the library is bumped? > Héctor Orón Martínez > > * include/gcc-c-interface.h (gcc_c_context): load libcc1 versioned library > > --- gdb-7.9.orig/include/gcc-c-interface.h > +++ gdb-7.9/include/gcc-c-interface.h > @@ -197,7 +197,7 @@ struct gcc_c_context > /* The name of the .so that the compiler builds. We dlopen this > later. */ > > -#define GCC_C_FE_LIBCC libcc1.so > +#define GCC_C_FE_LIBCC libcc1.so.0 > > /* The compiler exports a single initialization function. This macro > holds its name as a symbol. */ > > Regards, > -- > Héctor Orón -.. . -... .. .- -. -.. . ...- . .-.. --- .--. . .-. > >