hi,
It works for me. Here is the log:
$ make libgtest
============================================
PLATFORM_VERSION_CODENAME=REL
PLATFORM_VERSION=2.3.3
TARGET_PRODUCT=pandaboard
TARGET_BUILD_VARIANT=eng
...
build/core/Makefile:19: warning: overriding commands for target
`out/target/product/pandaboard/root/init.omap4430.rc'
device/linaro/pandaboard/AndroidBoard.mk:31: warning: ignoring old
commands for target
`out/target/product/pandaboard/root/init.omap4430.rc'
target thumb C++: libgtest <= external/gtest/src/gtest-all.cc
In file included from external/gtest/src/gtest-all.cc:38:0:
...
external/gtest/src/../src/gtest-filepath.cc:208:28: warning: missing
initializer for member 'stat::st_ino'
target StaticLib: libgtest
(out/target/product/pandaboard/obj/STATIC_LIBRARIES/libgtest_intermediates/libgtest.a)
Can you do 'repo sync' again? You can switch to git branch
"leb-0xdroid" in manifests.
I think your problem results from the GNU Hash support in recent
0xdroid. It should function perfectly now.
Thanks,
Jim Huang (jserv)
http://0xlab.org/
Ian
hi Ian,
Can you try the following approach to check out 0xdroid source tree?
# repo init -u git://gitorious.org/0xdroid/manifest.git -b
leb-0xdroid -m LEB-panda.xml
# repo sync
I already applies several fixes, and it should work now.
Sincerely,
the root cause is in build/core/armelf.x:16
.hash : { *(.gnu.hash) }
here is the patch in attach file, it's conflict with old one
if you want just work, plz apply the follow change
build/core/armelf.x:16
- .hash : { *(.gnu.hash) }
+ .gnu.hash : { *(.gnu.hash) }
The wrong link script can pass in binutil 2.19 but can't pass with binutil 2.2x,
however it's work fine with android linker since the bionic/linker are
read hash table by dynamic section
> --
> You received this message because you are subscribed to the Google Groups "0xlab-devel" group.
> To post to this group, send email to 0xlab...@googlegroups.com.
> To unsubscribe from this group, send email to 0xlab-devel...@googlegroups.com.
> For more options, visit this group at http://groups.google.com/group/0xlab-devel?hl=en.
>
>
OK. I did git push --force, and it should behavior as expected.
> The wrong link script can pass in binutil 2.19 but can't pass with binutil 2.2x,
> however it's work fine with android linker since the bionic/linker are
> read hash table by dynamic section
ICS prebuilt toolchain consists of binutils-2.20.51.20100303
With the correct patch, everything would work out of box, right?
Right, it's seem work now, I've tested in CM and 0xdroid.