Reduce logging verbosity by default to ERROR

This is probably not the best way to disable logging spam. It'll be changed if there is a better solution.

Change-Id: Ie4af4a8897c109c364ea65745c55105c6d88485b
Enable building ART with clang

Change-Id: I36bf66a90dfc03d27e2888d24d074a37fdac67d3

Fix compile error and silence the chatty ART if it is built with clang

Change-Id: Ia23c95fc56d0334622f0ff1e59ed7d579af16211

Don't rely on gcc extensions

Make the code more compatible with different compilers.
clang doesn't allow extra static qualifiers on template
specializations, const qualifiers on function types,
or inline attributes on lambda functions, and is more
picky about casting away constness with reinterpret_cast.

These modifications are compatible with both gcc and
clang.

Change-Id: I739b10df2780bec537827a13679fd2bcc2cc7188
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>

Conflicts:
	runtime/entrypoints/entrypoint_utils.h
	runtime/entrypoints/portable/portable_invoke_entrypoints.cc
	runtime/entrypoints/quick/quick_invoke_entrypoints.cc
	runtime/gc/collector/mark_sweep.cc
	runtime/gc/collector/semi_space.cc
	runtime/interpreter/interpreter_common.h

Add workarounds for apparent clang bugs

For reasons yet to be debugged, clang 3.4 can't resolve
Arena::kDefaultSize and kIndexUnresolved in the 2 locations.

The workaround is to copy in their values instead.
This should be reverted once clang is fixed (or an
issue in the code legitimately blocking clang from
seeing the symbols has been found and fixed).

Change-Id: Ic392de1829a44215299aee78dfe26378b0b3bef4
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>

Conflicts:
	compiler/dex/quick/dex_file_method_inliner.cc
Revert "Enable building ART with clang"

This reverts commit 2377a5175f84fac95cda0cb87cf9973d3df7458d.
tools: use '/usr/bin/env python' instead of '/usr/bin/python'

* This is how it is done in other scripts in the AOSP tree, as
  '/usr/bin/python' may be python3 on some distros, which isn't
  supported yet.

Change-Id: I0d9857fc6a122f505953fddcd6244dad75b1838a
4-byte align 64-bit values in Get/Set Double/Long for GCC 4.8.

Bug: 10837416
Change-Id: Ibb562407d81c2085666ae8824e7570f22e56eaa7