https://sourceware.org/bugzilla/show_bug.cgi?id=24044

            Bug ID: 24044
           Summary: FTB with GCC libiberty: binutils/stabs.c:3042:
                    undefined reference to `cplus_mangle_opname'
           Product: binutils
           Version: 2.32 (HEAD)
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: jozef.l at mittosystems dot com
  Target Milestone: ---

When building GCC trunk in a unified source tree with binutils, the build of
binutils fails as support for some old demangling functions have been removed
from GCC's libiberty (see r267363
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=267363).

> /bin/bash ./libtool  --tag=CC   --mode=link gcc -W -Wall -Wstrict-prototypes 
> -Wmissing-prototypes -Wshadow -Wstack-usage=262144 -Werror 
> -I../../binutils/../zlib -g  -static-libstdc++ -static-libgcc  -o objdump 
> objdump.o dwarf.o prdbg.o rddbg.o debug.o stabs.o rdcoff.o bucomm.o version.o 
> filemode.o elfcomm.o  ../opcodes/libopcodes.la ../bfd/libbfd.la 
> ../libiberty/libiberty.a  -ldl 
> libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow 
> -Wstack-usage=262144 -Werror -I../../binutils/../zlib -g -static-libstdc++ 
> -static-libgcc -o objdump objdump.o dwarf.o prdbg.o rddbg.o debug.o stabs.o 
> rdcoff.o bucomm.o version.o filemode.o elfcomm.o  
> ../opcodes/.libs/libopcodes.a ../bfd/.libs/libbfd.a -Lzlib -lz 
> ../libiberty/libiberty.a -ldl
> stabs.o: In function `parse_stab_argtypes':
> binutils/stabs.c:3042: undefined reference to `cplus_mangle_opname'
> collect2: error: ld returned 1 exit status
> Makefile:912: recipe for target 'objdump' failed

I suppose this "bug" is only valid if the latest binutils is expected to always
successfully build with the latest libiberty from GCC, or if the libiberty
included with binutils is the only version expected to always work.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to