This is the mail archive of the
gdb@sources.redhat.com
mailing list for the GDB project.
Can't build on PowerPC-64
- From: Paul Gilliam <pgilliam at us dot ibm dot com>
- To: gdb at sources dot redhat dot com
- Date: Wed, 6 Jul 2005 15:03:26 -0700
- Subject: Can't build on PowerPC-64
- Reply-to: pgilliam at us dot ibm dot com
On a linux system, running a 64-bit PowerPC kernel, I get the following when I try to build the latest CVS snapshot:
<snip>
gcc -m64 -DHAVE_CONFIG_H -I. -I../../src/bfd -I. -I. -I../../src/bfd -I../../src/bfd/../include -I../../src/bfd/../intl -I../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../src/bfd/elf64-ppc.c -o elf64-ppc.o
../../src/bfd/elf64-ppc.c: In function `ppc64_elf_get_sec_type_attr':
../../src/bfd/elf64-ppc.c:2525: warning: duplicate `const'
make[3]: *** [elf64-ppc.lo] Error 1
make[3]: Leaving directory `/home/gdb-ppc64-testing/adhoc-testing/build-64/bfd'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gdb-ppc64-testing/adhoc-testing/build-64/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gdb-ppc64-testing/adhoc-testing/build-64/bfd'
make: *** [all-bfd] Error 2
Same thing for 'gcc -m32'.
If I do a cvs update first, I get this:
<snip>
Making all in po
make[3]: Entering directory `/home/gdb-ppc64-testing/nightly-runs/6.3.50.20050705-20050706/build-64/bfd/po'
file=../../../src/bfd/po/`echo fr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/fr.po
file=../../../src/bfd/po/`echo tr | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/tr.po
file=../../../src/bfd/po/`echo ja | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/ja.po
file=../../../src/bfd/po/`echo es | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/es.po
file=../../../src/bfd/po/`echo sv | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/sv.po
file=../../../src/bfd/po/`echo da | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/da.po
file=../../../src/bfd/po/`echo zh_CN | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/zh_CN.po
file=../../../src/bfd/po/`echo ro | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/ro.po
file=../../../src/bfd/po/`echo rw | sed 's,.*/,,'`.gmo \
&& rm -f $file && PATH=../src:$PATH /usr/bin/msgfmt -o $file ../../../src/bfd/po/rw.po
make[3]: *** No rule to make target `vi.po', needed by `vi.gmo'. Stop.
make[3]: Leaving directory `/home/gdb-ppc64-testing/nightly-runs/6.3.50.20050705-20050706/build-64/bfd/po'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/gdb-ppc64-testing/nightly-runs/6.3.50.20050705-20050706/build-64/bfd'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/gdb-ppc64-testing/nightly-runs/6.3.50.20050705-20050706/build-64/bfd'
make: *** [all-bfd] Error 2
Is someone actively working on gdb's bfd tree?
What can I do to work-around this?
-=# Paul #=-