[Bug libgomp/32798] Multiple definitions of __flockfile when compiling an openMP program
pinskia at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jul 17 21:02:00 GMT 2007
------- Comment #2 from pinskia at gcc dot gnu dot org 2007-07-17 21:02 -------
One should note that static linking glibc is not really supported anyways.
Also this is not a GCC bug but rather a glibc one:
/usr/lib/../lib64/libpthread.a(lockfile.o)(.text+0xb0): In function
`__flockfile':
/usr/src/packages/BUILD/glibc-2.3/linuxthreads/lockfile.c:29: multiple
definition of `_IO_flockfile'
/usr/lib/../lib64/libc.a(flockfile.o)(.text+0x0):../linuxthreads/sysdeps/pthread/flockfile.c:30:
first defined here
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Severity|major |normal
Status|UNCONFIRMED |RESOLVED
Component|c |libgomp
Resolution| |INVALID
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=32798
More information about the Gcc-bugs
mailing list