In the compile-server client, save the returned module before printing its name.
RHBZ 874205 [FJ6.2 Bug] Handle avahi-deamon restart gracefully in stap-serverd.

stap-serverd was crashing when the avahi-daemon was restarted. There was
some inproper use of the avahi-client API which casued this.
avahi_threaded_poll_stop() was being called from within the client callback
function.

Some reading of the API docs revelaed that, in this situation, the old
client should be freed and a new one created in order to transition
to the new daemon if/when it is started.

Also noticed a potential double free of objects associated with the client
when freeing the client. Freeing the client also frees the associated objects,
so it is not necessary, and potentially wrong, to free them ourselves before
freeing the client.
Update autoconf related files to support aarch64

The config.sub and config.guess were generated with an older version
of autoconf that did not know about aarch64 (64-bit ARM).  Updated the
various files to support the aarch64 by running the following command:

autoreconf -v -f -i
Update gettext related material

The autoreconf command did not update the po/Makefile.in file.  Needed
to update files files with a "gettext -f" so there is no complaint
about version mismatch for gettext.
Correct systemtap.spec to match support currently available on aarch64

The aarch64 does not have dyninst, crash, or publican available.  Thus,
the systmetap.spec file needs to turn those off those features
to allow systemtap to build  on aarch64.
Fix incorrect determination of the compile server's address.

The message in the server log which was used for this had
changed.
New test: compile server recovers from avahi-daemon restart.
Fix up testsuite/Makefile.am RUNTEST variable

The '"'s in the definition of RUNTEST in testsuite/Makefile.am was
making causing the test for DEJAGNU to fail.  There didn't seem to be
a reason to keep the quotes around, so they were removed and "make
installcheck" works again.
SDT: Use %foo for section types rather than "foo"

GAS can take section types as "foo", @foo, or %foo.  We had the quoted
form, but this is not documented, and llvm-mc doesn't support it.  Using
@foo starts a comment on ARM, so we're left with %foo.

For note, we have to escape it to %%note for the asm()'s operand
expansion, but leave it as %note for pure assembly.  For progbits, there
are no operands, so it's %progbits either way.

Thanks to Martin C. Martin for first reporting this to LLVM[1], and then
returning to systemtap with a suggested compatibility fix.
 [1] http://llvm.org/bugs/show_bug.cgi?id=17270
testsuite: split std_asm out of std_misc.exp

The asm part of sdt_misc.exp was not really dependent on any other part
of that testcase, so we can let it stand alone for direct testing.  Its
reported name in test results is left as "sdt_misc", so it can still be
easily compared to previous test runs.
Fixes for CC=clang CXX=clang++

We can compile almost everything with clang now, except:
- loc2c.c due to nested functions.
- stapdyn/ because dyninst pulls in __gnu_cxx::hash_map for GNUC < 4.3,
  which triggers -Wdeprecated in libstdc++-4.8.1.
  (clang #defines itself as GNUC 4.2.1.)

* loc2c-test.c (fail): Indicate that this is itself a formatted
  function, so it doesn't complain about non-const 'fmt' passed to
  vfprintf.  (The callers are in fact passing const strings.)
* session.cxx (systemtap_session::parse_cmdline): Added braces so
  that the if-for-if-else doesn't have a dangling else.
* stapregex-dfa.h: translator_output is a class.
* stapregex.h: translator_output is a class; dfa is a struct.
* tapset-method.cxx (java_builder): Remove unused cache_initialized.
stap-report: add stap-server-related data

... like the stap-server logs and DNS/hostname data
stap-report: also collect NSS* env vars
Define KERN_CONT for old kernels in runtime/transport/symbols.c.
Merge branch 'master' of ssh://sourceware.org/git/systemtap
Define vzalloc() and vzalloc_node() for systems without them.

* buildrun.cxx (compile_pass): Add 'exportconf' tests for vzalloc() and
  vzalloc_node().
* runtime/linux/alloc.c: Use STAPCONF_VZALLOC and STAPCONF_VZALLOC_NODE to
  know if we need private versions of vzalloc() and vzalloc_node().
stap-report: Report on the status of NSS certificate databases.
Add SEC_ERROR_LEGACY_DATABASE to the NSS errors known by systemtap.
Open and close NSS certificate databases using an explicit "dbm:" prefix.

Only if the NSS version is >= 3.12.
tapset memory.stp: correct VM_FAULT_MINOR conditional handling

This impacts the pfaults.stp sample.

Reported-By: Thomas Knauth <thomas.knauth@gmx.de>