This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Binutils fails on Snow Leopard (Mac OS X)
- From: <Balaji dot Iyer at gtri dot gatech dot edu>
- To: <binutils at sourceware dot org>
- Date: Fri, 26 Mar 2010 21:30:19 -0400
- Subject: Binutils fails on Snow Leopard (Mac OS X)
Hello Everyone,
I am trying to build binutils 2.18.50 for the openRISC port. I am currently experiencing a wierd warning (which is failing to build because of the Werror flag in Binutils).
I am configuring using the following command
../binutils/configure --prefix=/opt/or32-elf --target=or32-elf
Here is the warning I get (this warning happens at all fprintf):
===================================================================================================
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.18.50/bfd -I. -I. -I../../binutils-2.18.50/bfd -I../../binutils-2.18.50/bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c -o elf.lo ../../binutils-2.18.50/bfd/elf.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I../../binutils-2.18.50/bfd -I. -I. -I../../binutils-2.18.50/bfd -I../../binutils-2.18.50/bfd/../include -I./../intl -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c ../../binutils-2.18.50/bfd/elf.c -o elf.o
cc1: warnings being treated as errors
../../binutils-2.18.50/bfd/elf.c: In function '_bfd_elf_print_private_bfd_data':
../../binutils-2.18.50/bfd/elf.c:1142: warning: format not a string literal and no format arguments
../../binutils-2.18.50/bfd/elf.c:1184: warning: format not a string literal and no format arguments
../../binutils-2.18.50/bfd/elf.c:1320: warning: format not a string literal and no format arguments
../../binutils-2.18.50/bfd/elf.c:1345: warning: format not a string literal and no format arguments
make[4]: *** [elf.lo] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-bfd] Error 2
make: *** [all] Error 2
===================================================================================================
Any help is highly appreciated!
Please CC me in response since I am not a subscribed member of this mailing list.
Thanks,
Balaji V. Iyer.
Balaji V. Iyer, Ph.D.
Research Engineer,
Sensors & EM Applications Laboratory,
Georgia Tech Research Institute