[PossiblyDoNotCarryForward] [Tizen] Make it possible to run libchromium-efl.so with glibc 2.13
Chromium.org requires GCC 4.8 (or new enough Clang) to build latest sourcebase.
Because of that, the default compiler version available in
the latest development toolchain was overridden by prebuilt GCC 4.8 and
compatible packages, including glibc 2.18 (from TV toolchain).
On our mobile target (currently Tizen 2.3), we have available gblic
2.13, which contains some backward incompatible symbols in comparison to
glibc 2.18. To fix that, we deploy a newer glibc in a custom location.
This patch gets rid of the need of this custom glibc deployment,
by not using the glibc 2.16 (or higher) symbol named getauxval,
from <sys/auxv.h>. We fallback to the fallback implementation
based on /proc/self/auxv analyzes.
The following runtime error is fixed:
(/lib/libc.so.6: version `GLIBC_2.16' not found (required by
/usr/lib/libchromium-efl.so)).
Bug: http://107.108.218.239/bugzilla/show_bug.cgi?id=9995
Reviewed by: Laszlo Gombos, Viatcheslav Ostapenko, SeungSeop Park
Change-Id: I56d21f3559a8b4bd3943fc262ec19df0e9b1e26e
Signed-off-by: Antonio Gomes <a1.gomes@samsung.com>