c++/1526: Failure in function cplus_demangle

david@polinsky.com david@polinsky.com
Fri Dec 29 12:06:00 GMT 2000


>Number:         1526
>Category:       c++
>Synopsis:       Failure in function cplus_demangle
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Dec 29 12:06:00 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     David Polinsky
>Release:        gcc-2.95..2
>Organization:
>Environment:
pIII-166; kernel 2.2.17; building with binutils-2.10.1; creating a cross compiler from libc5 to libc6
>Description:
After configuring, when making the target, I get a failure in cplus-dem.c as shown below. I have deleted a repetitive portion of the output. I can send extensive files, if they would help.

step=gcc5d
logmesg=/install/logs/m$step
cat /install/shells/$step |tee $logmesg && \
date |tee -a $logmesg && \
make target_alias=i586-linux-libc6 \
2>&1 |tee -a $logmesg && \
date |tee -a $logmesg
Fri Dec 29 12:21:50 EST 2000
make[1]: Entering directory `/exp1/install/srcbuild/libiberty'
make[2]: Entering directory `/exp1/install/srcbuild/libiberty/testsuite'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/exp1/install/srcbuild/libiberty/testsuite'
make[1]: Leaving directory `/exp1/install/srcbuild/libiberty'


<SNIP--no indicated errors or warnings>


make[1]: Entering directory `/exp1/install/srcbuild/binutils'
make  all-recursive
make[2]: Entering directory `/exp1/install/srcbuild/binutils'
Making all in po
make[3]: Entering directory `/exp1/install/srcbuild/binutils/po'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory `/exp1/install/srcbuild/binutils/po'
make[3]: Entering directory `/exp1/install/srcbuild/binutils'
/bin/sh ./libtool --mode=link gcc  -g -O2  -o cxxfilt   cplus-dem.o underscore.o ../libiberty/libiberty.a ./../intl/libintl.a 
gcc -g -O2 -o cxxfilt cplus-dem.o underscore.o ../libiberty/libiberty.a ./../intl/libintl.a
cplus-dem.o: In function `cplus_demangle':
/exp1/install/srcbuild/binutils/../../src/binutils/../libiberty/cplus-dem.c:900: undefined reference to `cplus_demangle_new_abi'
make[3]: *** [cxxfilt] Error 1
make[3]: Leaving directory `/exp1/install/srcbuild/binutils'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/exp1/install/srcbuild/binutils'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory `/exp1/install/srcbuild/binutils'
make: *** [all-binutils] Error 2
Fri Dec 29 12:21:57 EST 2000
>How-To-Repeat:
follow steps for cross compiler.
mk src
cd src create links to gcc and binutils in src
cd ..; mk srcbuild; cd srcbuild
run gcc4b
run gcc5d (see description)

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the Gcc-prs mailing list