Satish Balay <[email protected]> writes:
> Whenever we make such assumptions - there is always a corner case
> where something else fails.
>
> [the current issue is an example of one such assumption.]

Yes, but the current failure case is complicated because people see a
library they've never heard of and probably is not documented anywhere.
"How did PETSc come up with this insane thing?"  I wouldn't take CMake
as a model actor (it's inherent assumptions seem to break more than we
do), but they use the Fortran compiler to link and don't try to include
private libraries on the link line.

Perhaps it would make sense to make the autodetect code try this first?


(Wrappers always cause this sort of problem.  In an ideal world, the
compiler for each language should have a standard interface to query a
list of required libraries, then we would always link by calling ld
directly.)

Attachment: pgpJhm4eZwWJ1.pgp
Description: PGP signature

Reply via email to