> > $ /usr/src/lib/check_sym /usr/local/lib/liblowdown.so.1.1 \ > > /usr/ports/pobj/lowdown-1.3.0/fake-amd64/usr/local/lib/liblowdown.so.2.0 > > /usr/local/lib/liblowdown.so.1.1 --> > > /usr/ports/pobj/lowdown-1.3.0/fake-amd64/usr/local/lib/liblowdown.so.2.0 > > No dynamic export changes > > External reference changes: > > added: > > _toupper_tab_ > > > > The no dynamic export changes mean that no symbol was removed. > > But as you can see, it's not able to catch everything. > > Thank you for the detailed explanations. I misread my notes and ran > check_sym against the new and then old which showed a removed > _toupper_tab_ which was obviously wrong and should have shown added > instead if I had run it correctly.
It would be really great if someone could write a bsd.port.mk target that handles this to avoid such mistakes. There were some attempts but they always stalled. Various people have various wrapper scripts or shell aliases. The external reference change tells you that liblowdown started using _toupper_tab_ (which means Kristaps added a call to toupper(3)). You can generally ignore those entries. You really only care about the dynamic export changes: additions => minor, removals => major and the data size changes (usually major). > Thank you. I did that now. Here is the correct diff that is the same as > what you had below also. Committed, thanks.