1/1

|
binutils compilling error
by Juzujka on Dec 21, 2011 |
Juzujka
Posts: 6 Joined: Dec 8, 2009 Last seen: Jul 23, 2023 |
||
|
run on Ubuntu 11.10
binutils-2.20.1 $ ./configure $ make result is ... libtool: compile: gcc -DHAVE_CONFIG_H -I. -DTRAD_CORE -I. -I. -I./../include -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT aout32.lo -MD -MP -MF .deps/aout32.Tpo -c aout32.c -o aout32.o In file included from aout32.c:25:0: aoutx.h: In function «aout_link_input_bfd»: aoutx.h:5236:17: error: variable «sym_count» set but not used [-Werror=unused-but-set-variable] cc1: all warnings as errors (originaly in russian aoutx.h: � ��нк�ии «aout_link_input_bfd»: aoutx.h:5236:17: о�ибка: variable «sym_count» set but not used [-Werror=unused-but-set-variable] cc1: в�е п�ед�п�еждени� ��и�а�� о�ибками i've translate it to english) |
|||
|
RE: binutils compilling error
by jeremybennett on Dec 21, 2011 |
jeremybennett
Posts: 815 Joined: May 29, 2008 Last seen: Jun 13, 2019 |
||
|
Hi Juzujka This was a problem with the latest version of GCC 4.6. However I patched SVN a week or so ago. Are you using the latest sources from SVN? HTH Jeremy
-- |
|||
|
RE: binutils compilling error
by Juzujka on Dec 22, 2011 |
Juzujka
Posts: 6 Joined: Dec 8, 2009 Last seen: Jul 23, 2023 |
||
|
i've commit it just now i got same error
libtool: compile: gcc -DHAVE_CONFIG_H -I. -DTRAD_CORE -I. -I. -I./../include -DBINDIR=\"/usr/local/bin\" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -MT aout32.lo -MD -MP -MF .deps/aout32.Tpo -c aout32.c -o aout32.o In file included from aout32.c:25:0: aoutx.h: � ��нк�ии «aout_link_input_bfd»: aoutx.h:5236:17: о�ибка: variable «sym_count» set but not used [-Werror=unused-but-set-variable] cc1: в�е п�ед�п�еждени� ��и�а�� о�ибками make[4]: *** [aout32.lo] ��ибка 1 make[4]: ���од из ка�алога `/home/aska/My_Designs/DigRec3/FPGA_OpenRISC/SW/binutils/binutils-2.20.1/bfd' |
|||
|
RE: binutils compilling error
by jeremybennett on Dec 22, 2011 |
jeremybennett
Posts: 815 Joined: May 29, 2008 Last seen: Jun 13, 2019 |
||
|
Hi Juzujka Looks like there must be one of these I missed. I am afraid the output listing is so corrupted I cannot read it - I think you must be using an unusual character set. If you would submit the bug in Bugzilla, I'll try to get a patch done quickly. Best wishes, Jeremy |
|||
|
RE: binutils compilling error
by Juzujka on Dec 22, 2011 |
Juzujka
Posts: 6 Joined: Dec 8, 2009 Last seen: Jul 23, 2023 |
||
|
RE: binutils compilling error
by jeremybennett on Dec 23, 2011 |
jeremybennett
Posts: 815 Joined: May 29, 2008 Last seen: Jun 13, 2019 |
||
|
Hi Juzujka Workaround is to configure using --disable-werror. I'll try to get a proper fix in before too long. Jeremy |
|||
1/1

