This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
undefined reference to `_Unwind_GetIPInfo'
- From: Pete Moore <Pete dot Moore at genband dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Wed, 19 Nov 2014 15:08:37 +0000
- Subject: undefined reference to `_Unwind_GetIPInfo'
- Authentication-results: sourceware.org; auth=none
While trying to build gcc 4.9.2, I am getting a link error. Any help would be appreciated.
g++ -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall -Wwrite-strings -Wcast-qual -Wno-format -Wmissing-format-attribute -fno-common -DHAVE_CONFIG_H -o cc1 c/c-lang.o c-family/stub-objc.o attribs.o c/c-errors.o c/c-decl.o c/c-typeck.o c/c-convert.o c/c-aux-info.o c/c-objc-common.o c/c-parser.o c/c-array-notation.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o c-family/c-cilkplus.o c-family/array-notation-common.o c-family/cilk.o c-family/c-ubsan.o i386-c.o glibc-c.o \
cc1-checksum.o libbackend.a main.o tree-browser.o libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libbacktrace/.libs/libbacktrace.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -L/opt/tools/local/lib -L/opt/tools/local/lib -L/opt/tools/local/lib -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz
../libbacktrace/.libs/libbacktrace.a(backtrace.o)(.text+0x1f): In function `unwind':
../../gcc-4.9.2/libbacktrace/backtrace.c:69: undefined reference to `_Unwind_GetIPInfo'
/usr/lib/gcc/i386-redhat-linux/3.4.6/libstdc++_shared.so: undefined reference to `_Unwind_GetIPInfo@GCC_4.2.0'
collect2: ld returned 1 exit status
make[3]: *** [cc1] Error 1
Thanks,
Pete