(dynamically) linking on FreeBSD
- From: Jürgen Herz <juergen@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat, 16 Sep 2006 01:03:02 +0200
Hi there,
I came across something I don't understand: Building Firefox from the original
sources failed because it had the linker options "-z defs" set while in the
compiled code standard functions from libc like malloc, free, fprintf a.s.o.
were used.
Removing this flag, compiling worked and the program is also running fine. But
I found out that ldd doesn't list libc or libpthread (since -pthread is also
used) for the module in question--it also doesn't for the module contained in
the official Firefox FreeBSD package.
On Linux ldd lists libc and also libpthread for the very same module.
So my question is, those functions are used in the code, references to them
aren't undefined, but the application nevertheless works. What's up there?
Regards,
Jürgen
_______________________________________________
freebsd-hackers@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@xxxxxxxxxxx"
- Prev by Date: lock order reversal
- Next by Date: jail2 patchset 12
- Previous by thread: lock order reversal
- Next by thread: jail2 patchset 12
- Index(es):