Hi rbg,
thanks for feedback, I was missing to fetch the new branch,
git fetch x86 android-3.18
Now I'm going off topic, my speciality :-) - but this will become related to kernel 3.18 because I'm going to try building ISO with kernel 3.18 and the following mesa 10.3.5 and 10.4.0 hacks.
Mesa 10.3.5 and 10.4.0 for android_x86 and android_x86_64 targets
but I still have two problems...I did not yet figured how to solve, so I did "two fancy workarounds"...
The workarounds are not committed on github, because they belong to 'elf's realm' and I would like to really solve the problems, maybe someone with knowledge here may help me.
ISSUE 1) GENERATED files src/mesa/util needs to generate a source file format_srgb.c, which is used twice to build libmesa_util for Host and for Target.
There is no way I can complete build of x86 ISO and x86_64 ISO with current src/mesa/util/Android.mk, something very nasty is blocking the generation/compiling of the file, even by using $(local-generated-sources-dir) and $(local-host-generated-sources-dir) directives and $(transform-generated-sources)
If you clone the github you can avoid this issue by overwriting files in src/mesa/util with attached replacements, available also here:
ISSUE 2) TR1/unordered_set Not a new issue here, mesa 10.3 and 10.4 use TR1 unordered_set instead of former lists to improve performance of Gallium nouveau.
Problem is known since a few months, but I haven't figured yet how to solve it. We have options, but no solution yet...
opt0) Doing nothing: does not work because STLport 5.2.1 does not support the needed size_t types
opt1) Use C++11 standard templates bundled with gcc 4.9 <unordered_set>. Tried but no success.
opt2) Use <backward/hash_set> instead of <tr1/unordered_set>. Never tried that
opt3) Use <boost/unordered/set>, requires to just include some headers, but then there Bionic libc is not very nice again.
opt4) Hack bionic libc by defining just the needed unordered_set and hash functions
opt5) Use an enhanced STL, like EASTL. Not tried yet
If someone with knowlegde about this issues could help me, direct me, we could finally solve the problem and have nouveau enabled mesa 10.3.5 and 10.4.0 to play with kernel 3.18.
In the meantime the hack to avoid TR1/unordered_set problems, can only be to revert the related commits:
git revert fb4e23626f9f27c62aa1cbea05a1c8b088fcf49a
git revert bb06f2cd93e8e16798bd59b458abd8d33a8e4658
git revert eaa9e14ce5a3e69c6aa303f2e5f039c1cc0b8de1
git revert a9b21015f5e3a6a37e53a8b3c755519f7b70479e
For people those interested full explanations on how to build nouveau enabled ISO on github's README.md file
Happy Xmas to all Android-x86 google group
Mauro