On Mon, Aug 22, 2011 at 10:47 PM, Alexander Sack asac@linaro.org wrote:
That looks suspiciously close to the code that we patched out in platform a while back to get 4.5/4.6 going in external/elfcopy/:
http://android.git.linaro.org/gitweb?p=platform/external/elfcopy.git%3Ba=com...
This seems to be still used in our linaro_android_2.3.5 builds still.
maybe the benchmark has a copy of that code and needs the same patch? or its pulling in external/elfcopy and just needs to pull the linaro_android_2.3.5 branch?
turned out that benchmark.git has copies of soslim and elfcopy from a random AOSP eclair build that were build with an unpatched elfcopy.c. Replacing them with binaries from a fresh linaro build that has the patch from above applied makes this work again.
Since we hit this problem with our platform builds earlier my guess would be that we just have been lucky when building benchmarks so far. andy will work around for now and will submit updated binaries to gerrit once release is out.
On Mon, Aug 22, 2011 at 10:33 PM, Andy Doan andy.doan@linaro.org wrote:
I'm hitting an issue building some of the tests in benchmark.git for this cycle. The python test is a good example:
http://pastebin.com/e7XeLrMd: LINK SHARED LIBRARY: obj/libpython2.6.so obj/Modules/posixmodule.o: In function `posix_tempnam':
/home/doanac/linaro/android/benchmarks/bmarks-bins-2011-08/linaro-4.6/benchmark/python/src/Modules/posixmodule.c:7167: warning: warning: tempnam() possibly used unsafely; consider using mkstemp() obj/Modules/posixmodule.o: In function `posix_tmpnam':
/home/doanac/linaro/android/benchmarks/bmarks-bins-2011-08/linaro-4.6/benchmark/python/src/Modules/posixmodule.c:7214: warning: warning: tmpnam() possibly used unsafely; consider using mkstemp() MAP SHARED LIBRARY: out/SYMBOL/libpython2.6.so ASSERTION FAILURE external/elfcopy/elfcopy.c:2457: [!(shdr_info[sym->st_shndx].shdr.sh_flags & SHF_ALLOC)] make: *** [out/SYMBOL/libpython2.6.so] Error 1
anyone have a workaround so I can complete the benchmarking?
-andy
--
- Alexander