Hello.
I found out interesting thing yesterday. I use 8.0-stable and observed
the same behavior on 8.1-release.
I tried to create ecpg (embedded SQL) program for PostgreSQL. The
program linked but gave strange error (sqlca structure wasn't passed
correctly to user program). I found out that the reason was in threads
behavior - each time we called pthread_once (inside ecpglib) it didn't
work. Program linked to libc.so and called some stubs from it. When I
realised it, I linked program with libthr, and it started work correctly.
Can someone explain why this stubs are in libc? Why didn't linker just
throw a linking error?
--
С уважением,
Александр Пыхалов,
системный администратор ЮГИНФО ЮФУ.
_______________________________________________
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"