[prev in list] [next in list] [prev in thread] [next in thread] 

List:       binutils
Subject:    Re: Binutils fails on Snow Leopard (Mac OS X)
From:       Masaki Muranaka <monaka () monami-software ! com>
Date:       2010-03-27 1:48:42
Message-ID: 8B55D76B-584A-44E1-9D0E-A65FB8FA4DB4 () monami-software ! com
[Download RAW message or body]

Hello,

The best solution is to upgrade your binutils. (Latest is 2.20. I think this issue \
has already fixed.) The another solution is adding --disable-werror to your configure \
option.

Thanks,

On 2010/03/27, at 10:30, <Balaji.Iyer@gtri.gatech.edu> wrote:

> 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
> 
> 
> 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic