Displaying 2 results from an estimated 2 matches for "__flockfile".
Did you mean:
_io_flockfile
2006 Nov 03
0
-all-static problems when linking apps which require -lpthread and -lc
...file.o)(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `_IO_flockfile' changed from 30 in /usr/lib/libc.a(flockfile.o) to 18 in /usr/lib/libpthread.a(lockfile.o)
/usr/lib/libpthread.a(lockfile.o)(.text+0x0): In function `flockfile':
: multiple definition of `__flockfile'
/usr/lib/libc.a(flockfile.o)(.text+0x0): first defined here
/usr/bin/ld: Warning: size of symbol `__flockfile' changed from 30 in /usr/lib/libc.a(flockfile.o) to 18 in /usr/lib/libpthread.a(lockfile.o)
/usr/lib/libpthread.a(lockfile.o)(.text+0x14): In function `funlockfile'...
2003 Nov 21
0
C++ streams in shared library in cause R to hang? (linux)
...in a shared library compiled for R on linux.
The code does quite a bit (DB accesses, C-style file reads/writes) with
no trouble, but hangs when it reaches code that uses C++ streams,
specifically operator>>() and operator<<(). From the debugger output
(below) it seems like it could be __flockfile() related (maybe a deadlock
of some sort?).
Has anyone encountered anything like this before? Or anything obvious
jump to mind for anyone?
Thank you!
Annie Bibble
Debugger output:
#0 0x40112aa5 in __sigsuspend (set=0xbfffec10)
at ../sysdeps/unix/sysv/linux/sigsuspend.c:45
#1 0x40f63079 i...