http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57123



Jakub Jelinek <jakub at gcc dot gnu.org> changed:



           What    |Removed                     |Added

----------------------------------------------------------------------------

             Status|UNCONFIRMED                 |RESOLVED

                 CC|                            |jakub at gcc dot gnu.org

         Resolution|                            |INVALID



--- Comment #1 from Jakub Jelinek <jakub at gcc dot gnu.org> 2013-04-30 
12:12:05 UTC ---

That is a user error, gcc isn't supposed to handle this for you.  If you have

multiple versions of libgomp.so on your system, just use -Wl,-rpath,/some/path/

or LD_LIBRARY_PATH to point the program at the right version.

Like glibc, libgomp is symbol versioned and backward compatible, keeping the

same SONAME, so you really want the latest version of the library from all

versions needed by programs that link against it.

Reply via email to