summaryrefslogtreecommitdiff
path: root/buildtools/wafsamba/symbols.py
AgeCommit message (Collapse)AuthorFilesLines
2011-04-13build: use readelf as a replacement for lddAndrew Tridgell1-33/+77
using readelf allows us to do a non-recursive library listing, which is important to remove false positive symbol duplication Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 13 04:37:33 CEST 2011 on sn-devel-104
2011-04-13build: speed up SYMBOLCHECK codeAndrew Tridgell1-6/+41
this uses a nm and ldd cache to speed up the duplicate symbol checking code Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-04-06waf: a better way to detect duplicated symbolsAndrew Tridgell1-20/+82
this detects when we have the same symbol linked in twice in any binary by using ldd and nm on the binary and its associated libraries. Some of these duplicates are caused by a subsystem being linked twice, and some are caused by two versions of the same function name being linked into a binary Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 6 06:44:14 CEST 2011 on sn-devel-104
2011-03-23waf: prevent an error in the symbol checking codeAndrew Tridgell1-1/+2
2011-02-23build: don't display expected duplicate symbolsAndrew Tridgell1-1/+6
2011-02-23build: duplicate symbols between system libraries aren't interestingAndrew Tridgell1-0/+10
we expect dups in libpthread, libc and libattr Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Feb 23 01:29:38 CET 2011 on sn-devel-104
2011-02-22build: added WHYNEEDED=TARGET:DEPENDENCYAndrew Tridgell1-9/+36
you can now do: make WHYNEEDED=smbd/smbd:gensec and it will print: Checking why smbd/smbd needs to link to gensec target 'smbd/smbd' uses symbols set(['open_schannel_session_store']) from 'gensec' Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Feb 22 03:35:58 CET 2011 on sn-devel-104
2011-02-22build: enhanced the symbolcheck codeAndrew Tridgell1-14/+86
we can now work out why a binary needs a library, and we can find all the duplicate symbols (we currently have 1087 symbols defined in more than one place in Samba).
2010-12-01waf: less verbose message for failing to resolve a syslib pathAndrew Tridgell1-1/+1
2010-12-01waf: use Logs.warn() instead of print() in the symbol check codeAndrew Tridgell1-1/+1
2010-10-30waf: added --symbol-check optionAndrew Tridgell1-47/+121
this adds checking of the symbols in all our object files, libraries and syslibs. It will form the basis in future for a lot more checks, but for now it just checks basic rules like not allowing us to use symbols that are in system libs. Currently this is enabled only if you use the --symbol-check option, (or use make with SYMBOLCHECK=1) but I intend to make this always enabled once it has had more testing. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-30waf: added env.DEVELOPER_MODE flagAndrew Tridgell1-0/+308
this makes it easier to add project rules that are only run in developer mode Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>