[PossiblyDoNotCarryForward] [Tizen] Make it possible to run libchromium-efl.so with...
authorAntonio Gomes <a1.gomes@samsung.com>
Tue, 23 Dec 2014 22:34:59 +0000 (14:34 -0800)
committerJongsoo Yoon <join.yoon@samsung.com>
Fri, 20 Nov 2015 13:34:09 +0000 (22:34 +0900)
commitf5b1b03adae094cd108d43143d0d12fc3888d84d
treed449b82cdcbd734ab53cb7cc5ee6ba663151ac7e
parent971fca052e66e678708a89a5c4b845489c0666d9
[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>
src/base/cpu.cc