Age | Commit message (Collapse) | Author | Files | Lines |
|
this fixes the symlink for libsmbclient.so
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Jun 15 07:23:10 CEST 2011 on sn-devel-104
|
|
waf can't automatically determine these dependencies as the
construction of the files is via a python function
thanks to Andrew for noticing this bug
|
|
generated header files are not object files
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
this fixes 'make bin/smbd' to work correctly with the waf build. It
didn't work before as smbd is actually 'smbd/smbd' internally and we
tried to use the target name 'smbd'. The new approach reads the
symlink to get the right target.
This also speeds up the null build by quite a lot
|
|
the SAMBA_SCRIPT() function was not always triggering correctly. The
base problem was that we were using a target outside the build
tree. This implements a simpler solution where we just create the
links directly in SAMBA_SCRIPT() rather than creating a waf task
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Jun 1 06:50:04 CEST 2011 on sn-devel-104
|
|
Normally under UNIX, uninitialized non-static global variables get
placed in the "common" section, where they are merged at link time.
This means if two C files define "int debug", they will end up
referring to the same variable. Or if one does "float level" and the
other does "int level" you'll get an accidental union.
Such bugs can be hard to track down; fortunately GCC offers
-fno-common to disable this feature. It didn't reveal any places
which need fixing, however).
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
|
|
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
Some os (ie OSX 10.6) forbids by default unknown symbols so in order to
allow them (for special case) we have no to remove linker option *but*
to add options to ask the linker to be more relax.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
|
|
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
|
|
this uses a nm and ldd cache to speed up the duplicate symbol checking
code
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
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
|
|
|
|
|
|
|
|
In samba3 there are a lot of warnings generated that make it a bit hard to track
and monitor other build warnings.
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Sat Mar 19 00:58:25 CET 2011 on sn-devel-104
|
|
|
|
we don't need header munging for tdb/talloc etc
|
|
not needed now that we have public_headers_allow_broken
|
|
the s3 waf build will use this to say that we should allow public
headers that contain references to non-public headers. In the s4 build
that is not allowed, but the s3 build does not yet have clean public
headers
|
|
|
|
|
|
|
|
this allows us to properly test our public headers before install
|
|
the bin/default/include/public directory will contain headers that are
ready to install
|
|
It is getting quite complex now, and shouldn't just be mixed in with
everything else
|
|
this will be used to construct test_headers.h, for testing our public
headers
|
|
when computing stale files, don't follow symlinks that are not within
the build tree
|
|
this allows you to disable the global include additions. We will use
this for testing our public headers without including any of the
source tree directories
|
|
this symlinks our public headers into the build tree, which will allow
us to refer to the public headers by their public name inside the
source tree.
|
|
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Mar 12 02:45:20 CET 2011 on sn-devel-104
|
|
sort.
This makes sure tevent 0.9.9 is considered to be older than 0.9.10 and 0.9.11
|
|
thanks to Simo and rpmbuild for spotting this!
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Mar 2 02:49:34 CET 2011 on sn-devel-104
|
|
any new symbols.
The version entries also appear in the symbol table and removing them
(we always add an entry for the current version) breaks the ABI.
|
|
this finds git inside samba_version.py
thanks to Simo for noticing this problem
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Wed Feb 23 07:55:28 CET 2011 on sn-devel-104
|
|
|
|
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
|
|
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
|
|
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).
|
|
using os.putenv() causes too much confusion, as it doesn't update
os.getenv()
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Feb 20 17:35:45 CET 2011 on sn-devel-104
|
|
Guenther
|
|
when a library is declared as libdir/libname, still put the symlink in
bin/shared
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Fri Feb 18 06:03:57 CET 2011 on sn-devel-104
|
|
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
SAMBA_LIBRARY('libsmb/smbclient') can now be built, which
distinguishes it from the binary 'smbclient'
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
these provide samba build rule wrappers for Samba3 specific subsystems
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|
|
the s4 build uses linker flags to disallow undefined symbols in
libraries. To accomodate s3 libraries in the top level build we need
to be able to disable this on a per-library basis.
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
|