Hi Renato,
Thanks for helping out.
I need to explictly link against libgcc_eh.a
GCOV_OBJS = gcov.o gcov$(exeext): $(GCOV_OBJS) $(LIBDEPS) +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_OBJS) $(LIBS) -lgcc_eh -o $@ GCOV_DUMP_OBJS = gcov-dump.o gcov-dump$(exeext): $(GCOV_DUMP_OBJS) $(LIBDEPS) +$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) $(GCOV_DUMP_OBJS) \ $(LIBS) -lgcc_eh -o $@
Build crossed that error point now.
regards, Venkat.
On 3 June 2013 17:43, Renato Golin renato.golin@linaro.org wrote:
Hi Venkat,
It looks like this problem:
http://fedoraproject.org/wiki/UnderstandingDSOLinkChange
cheers, --renato
On 3 June 2013 12:45, Venkataramanan Kumar venkataramanan.kumar@linaro.org wrote:
Hi all,
I am facing build error, when I try to bootstrap GCC trunk for native aarch64-unknown-linux-gnu configuration in openemedded/V8 model.
Linker error occurs while building stage 1 GCC.
(Snip) /usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../../aarch64-oe-linux/bin/ld: gcov: hidden symbol `__deregister_frame_info' in
/usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../aarch64-oe-linux/4.7.3/libgcc_eh.a(unwind-dw2-fde-dip.o) is referenced by DSO /usr/lib/gcc/aarch64-oe-linux/4.7.3/../../../../aarch64-oe-linux/bin/ld: final link failed: Bad value collect2: error: ld returned 1 exit status (Snip)
The steps to reproduce the issue is attached. Need some help to solve this.
regards, Venkat.
linaro-toolchain mailing list linaro-toolchain@lists.linaro.org http://lists.linaro.org/mailman/listinfo/linaro-toolchain