# emerge -pv perl-threads These are the packages that would be merged, in order: Calculating dependencies ..... done! [ebuild N ] virtual/perl-threads-1.860.0-r1 0 kB Total: 1 package (1 new), Size of downloads: 0 kB # emerge -pv threads These are the packages that would be merged, in order: Calculating dependencies .... done! [ebuild R ] dev-lang/perl-5.16.3:0/5.16 USE="berkdb gdbm ithreads* -build -debug -doc" 0 kB [ebuild N ] perl-core/threads-1.860.0 100 kB Total: 2 packages (1 new, 1 reinstall), Size of downloads: 100 kB The following USE changes are necessary to proceed: (see "package.use" in the portage(5) man page for more details) # required by perl-core/threads-1.860.0 # required by threads (argument) >=dev-lang/perl-5.16.3 ithreads # grep RDEPEND /var/cache/portage/gentoo/virtual/perl-threads/perl-threads-1.860.0-r1.ebuild RDEPEND="|| ( =dev-lang/perl-5.16* ~perl-core/${PN#perl-}-${PV} )" Thus I assume that if perl-core/threads depends on perl[ithreads], virtual/perl-threads should do, too. Reproducible: Always
Another indicator that dev-lang/perl-5.16 is missing thread support without USE=ithreads is this: $ ../feedgnuplot/bin/feedgnuplot This Perl not built to support threads Compilation failed in require at ../feedgnuplot/bin/feedgnuplot line 10. BEGIN failed--compilation aborted at ../feedgnuplot/bin/feedgnuplot line 10. With line 10/11 being: use threads; use threads::shared;
This makes somehow sense. Committed.