On Wed, Jan 30, 2019 at 5:15 PM Patrick E Gartung <
gar...@fnal.gov> wrote:
>
> Hi Ben,
>
> As far as I know Spack enforces ABI compatibility because all packages are built with the same compiler and use the default compiler standard. It is up to the package maintainers to ensure the correct compiler std flags are used consistently among dependent packages, especially external packages from the system. There is a class to check ABI compatibility of libstdc++
https://github.com/spack/spack/blob/develop/lib/spack/spack/abi.py but I don't see any uses of it.
>
> I think CMS has already encountered an ABI compatibility between Nvidia binaries compiled with the system compiler on SL6 and CMS binaries compiled with gcc 7.3 and -std=c++17.
not Nvidia (afaik) but Oracle occi libraries (which were compiled
however Oracle compiles them rather than with the SL6 system
compiler). This ABI incompatibility wasn't necessarily fatal - though
it was in our case (at link time).
david
> To view this discussion on the web visit
https://groups.google.com/d/msgid/hsf-packaging-wg/FBB85E22-11E6-4E9B-B8F9-2562EAC77711%40fnal.gov.
> For more options, visit
https://groups.google.com/d/optout.