bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/4334] New: cpu-powerpc.o isn't added to libbfd.a ?


From: Jochen_Gerster at web dot de
Subject: [Bug binutils/4334] New: cpu-powerpc.o isn't added to libbfd.a ?
Date: 7 Apr 2007 14:14:53 -0000

while building the binutils (size.exe, strings.exe, objdump.exe,....) I getting
an linker error "undefined reference to `_bfd_powerpc_archs'"
--------------------------------------------------------------------------------
/bin/sh ./libtool --mode=link gcc -W -Wall -Wstrict-prototypes -Wmissing-prototy
pes -Werror -g -O2    -o size.exe  size.o bucomm.o version.o filemode.o ../bfd/l
ibbfd.la ../libiberty/libiberty.a ./../intl/libintl.a
mkdir .libs
gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -o size.exe
 size.o bucomm.o version.o filemode.o  ../bfd/.libs/libbfd.a ../libiberty/libibe
rty.a ./../intl/libintl.a
../bfd/.libs/libbfd.a(archures.o): In function `bfd_scan_arch':
/src/binutils-2.17/bfd/archures.c:592: undefined reference to `_bfd_powerpc_arch
s'
collect2: ld returned 1 exit status
make[4]: *** [size.exe] Error 1
make[4]: Leaving directory `/tmp/build/binutils/binutils'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/tmp/build/binutils/binutils'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/tmp/build/binutils/binutils'
make[1]: *** [all-binutils] Error 2
make[1]: Leaving directory `/tmp/build/binutils'
make: *** [all] Error 2
make: Leaving directory `/tmp/build/binutils'
--------------------------------------------------------------------------------

I found 'bfd_powerpc_archs' in ".../bfd/cpu-powerpc.c"
".../bfd/cpu-powerpc.o" is generated

it seems "cpu-powerpc.o" isn't added to ".../bfd/.libs/libbfd.a"
so the linker can't resolve 'bfd_powerpc_archs'

I added "../bfd/cpu-powerpc.o" by hand to the makefile
after that size.exe, strings.exe, objdump.exe,.... were build
but I think its better to add cpu-powerpc.o to libbfd

this is my first bugzilla entry, so when I forgot something or did wrong.....

-- 
           Summary: cpu-powerpc.o isn't added to libbfd.a ?
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: Jochen_Gerster at web dot de
                CC: bug-binutils at gnu dot org
  GCC host triplet: i686-pc-cygwin
GCC target triplet: powerpc-eabi


http://sourceware.org/bugzilla/show_bug.cgi?id=4334

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]