New: buildroot fails while building opencv for arm64 platform
https://bugs.busybox.net/show_bug.cgi?id=9571
Bug ID: 9571
Summary: buildroot fails while building opencv for arm64
platform
Product: buildroot
Version: unspecified
Hardware: Other
OS: Linux
Status: NEW
Severity: critical
Priority: P5
Component: Other
Assignee: unassigned at buildroot.uclibc.org
Reporter: saik.iitk at gmail.com
CC: buildroot at uclibc.org
Target Milestone: ---
i am getting the following error while building opencv. During opencv_core building, it is linking the following
sw/tools/linaro/gcc-aarch64-linux-gnu-4.9-2014.09/bin/../lib/gcc/aarch64-linux-gnu/4.9.2/../../../../aarch64-linux-gnu/bin/ld:
/local_disk/sai/wpu_aug23/wpu-sw/src/common/utils/buildroot/output/host/usr/aarch64-buildroot-linux-gnu/sysroot/usr/lib/aarch64-linux-gnu/libm.a(k_standard.o)(.text+0x318):
unresolvable R_AARCH64_ADR_PREL_PG_HI21 relocation against symbol
`stderr@@GLIBC_2.17'
and sinc libm.a is not built with option "-fPIC", The error can come and libm.a is default generated part of buildroot and i cannot build here.
Please have a look
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9571] buildroot fails while building opencv for arm64 platform
https://bugs.busybox.net/show_bug.cgi?id=9571
--- Comment #1 from Samuel Martin <[email protected]> --- To investigate this bug we need more details:
- Buildroot version
- Buildroot defconfig used leading to the situation
- opencv package built? (opencv or opencv3)
- is it a static only build?
Have you tried to run: 'make clean && make' ?
Have you tweak the opencv.mk (or opencv3.mk) file? if yes, how?
Have you build the toolchain, then change some critical configurations requiring a full rebuild [1]?
[1] http://nightly.buildroot.org/manual.html#full-rebuild
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.
[Buildroot] [Bug 9571] buildroot fails while building opencv for arm64 platform
In reply to bugzilla at busybox.nethttps://bugs.busybox.net/show_bug.cgi?id=9571
sai <[email protected]> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |INVALID
Status|NEW |RESOLVED--- Comment #2 from sai <[email protected]> ---
this issue is related to tool chain which i used downloaded one from linaro. If i use other tool chain version from linaro ,it is working now
thanks
Signature · 2 lines
You are receiving this mail because: You are on the CC list for the bug.