summaryrefslogtreecommitdiffstats
path: root/buildtools/wafsamba/symbols.py
Commit message (Collapse)AuthorAgeFilesLines
* waf-symbols: don't look for symbol lists in GENERATOR targetsAndrew Tridgell2011-06-101-1/+1
| | | | | | generated header files are not object files Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* build: use readelf as a replacement for lddAndrew Tridgell2011-04-131-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
* build: speed up SYMBOLCHECK codeAndrew Tridgell2011-04-131-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>
* waf: a better way to detect duplicated symbolsAndrew Tridgell2011-04-061-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
* waf: prevent an error in the symbol checking codeAndrew Tridgell2011-03-231-1/+2
|
* build: don't display expected duplicate symbolsAndrew Tridgell2011-02-231-1/+6
|
* build: duplicate symbols between system libraries aren't interestingAndrew Tridgell2011-02-231-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
* build: added WHYNEEDED=TARGET:DEPENDENCYAndrew Tridgell2011-02-221-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
* build: enhanced the symbolcheck codeAndrew Tridgell2011-02-221-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).
* waf: less verbose message for failing to resolve a syslib pathAndrew Tridgell2010-12-011-1/+1
|
* waf: use Logs.warn() instead of print() in the symbol check codeAndrew Tridgell2010-12-011-1/+1
|
* waf: added --symbol-check optionAndrew Tridgell2010-10-301-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>
* waf: added env.DEVELOPER_MODE flagAndrew Tridgell2010-10-301-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>