To use -Dusethreads or not, that is the question. :)

Without, I get 2 files that are linked to pthread:

/usr/lib/perl5/5.10.0/i686-linux/auto/DB_File/DB_File.so
/usr/lib/perl5/5.10.0/i686-linux/auto/Time/HiRes/HiRes.so

With, I get:

/usr/bin/perl5.10.0
/usr/bin/perl  (hardlink to perl5.10.0)
/usr/bin/a2p
/usr/lib/perl5/5.10.0/i686-linux-thread-multi/auto/DB_File/DB_File.so
/usr/lib/perl5/5.10.0/i686-linux-thread-multi/auto/Time/HiRes/HiRes.so
/usr/lib/perl5/5.10.0/i686-linux-thread-multi/auto/threads/threads.so
/usr/lib/perl5/5.10.0/i686-linux-thread-multi/auto/threads/shared/shared.so

Notice the 2 in the first list are in the 2nd list, but are installed in
i686-linux-thread-multi instead of i686-linux. I'm no perl expert, but
it would seem logical that if perl itself didn't support threading, then
a module supporting it would be meaningless. This may have implications
on reentrancy. I currently have access only to Arch Linux and FreeBSD,
and the main perl binary in those links to libpthread. I'm curious what
debian-based and redhat-based distros are doing.

Any thoughts?

-- 
Archaic

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to