This fixes compilation of clang with lld, as reported in
https://reviews.llvm.org/D135402.
Basically some symbols are not available when not linking statically.
Differential D139932
Use different export file when linking with dylib serge-sans-paille on Dec 13 2022, 6:09 AM. Authored by
Details This fixes compilation of clang with lld, as reported in Basically some symbols are not available when not linking statically.
Diff Detail
Event Timeline
Comment Actions I don't see any change, but I'll go ahead and accept it assuming the Remarks.exports will be fixed before landing. Comment Actions For the record, I considered passing a flag to the linker to *not* warn about symbols mentioned in the version script but not present in the actual library, or trying to derive the .dylib.export from the .export file, but this explicit solution looks better to me, with the slight disadventage of introducing some redunduncy, which is probably better than adding entries that don't exist (e.g. through a typo). |
Aren't these the same? Why the else.