[Bug gas/10897] New: regression from 2.19.1 cross compiling gas for arm due to empty if error

View: New views
3 Messages — Rating Filter:   Alert me  

[Bug gas/10897] New: regression from 2.19.1 cross compiling gas for arm due to empty if error

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Cross compilation of gas for ARM fails with the following warning that is being elevated to an error:

gcc -DHAVE_CONFIG_H -I. -I/home/cashwell/Documents/sandbox/build/arm-viper-linux-
gnueabi/gcc-4.4.2-glibc-2.10.1/binutils-2.20/gas  -I. -
I/home/cashwell/Documents/sandbox/build/arm-viper-linux-gnueabi/gcc-4.4.2-glibc-
2.10.1/binutils-2.20/gas -I../bfd -I/home/cashwell/Documents/sandbox/build/arm-viper-linux-
gnueabi/gcc-4.4.2-glibc-2.10.1/binutils-2.20/gas/config -
I/home/cashwell/Documents/sandbox/build/arm-viper-linux-gnueabi/gcc-4.4.2-glibc-
2.10.1/binutils-2.20/gas/../include -I/home/cashwell/Documents/sandbox/build/arm-viper-linux-
gnueabi/gcc-4.4.2-glibc-2.10.1/binutils-2.20/gas/.. -
I/home/cashwell/Documents/sandbox/build/arm-viper-linux-gnueabi/gcc-4.4.2-glibc-
2.10.1/binutils-2.20/gas/../bfd -DLOCALEDIR="\"/opt/crosstool/gcc-4.4.2-glibc-2.10.1/arm-viper-
linux-gnueabi/share/locale\""  -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -
MT tc-arm.o -MD -MP -MF .deps/tc-arm.Tpo -c -o tc-arm.o `test -f 'config/tc-arm.c' || echo
'/home/cashwell/Documents/sandbox/build/arm-viper-linux-gnueabi/gcc-4.4.2-glibc-
2.10.1/binutils-2.20/gas/'`config/tc-arm.c
cc1: warnings being treated as errors
/home/cashwell/Documents/sandbox/build/arm-viper-linux-gnueabi/gcc-4.4.2-glibc-
2.10.1/binutils-2.20/gas/config/tc-arm.c: In function ‘make_mapping_symbol’:
/home/cashwell/Documents/sandbox/build/arm-viper-linux-gnueabi/gcc-4.4.2-glibc-
2.10.1/binutils-2.20/gas/config/tc-arm.c:2489: error: suggest braces around empty body in an ‘if’
statement
make[4]: *** [tc-arm.o] Error 1

The same build process succeeds in 2.19.1

--
           Summary: regression from 2.19.1 cross compiling gas for arm due
                    to empty if error
           Product: binutils
           Version: 2.20
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: bugzilla at prograde dot net
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-linux-gnu
  GCC host triplet: i686-pc-linux-gnu
GCC target triplet: arm-viper-linux-gnueabi


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10897] regression from 2.19.1 cross compiling gas for arm due to empty if error

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From gingold at adacore dot com  2009-11-03 16:45 -------
Thank you for the report.  This is a known glitch.
As a workaround, you can configure with --disable-werror.


--
           What    |Removed                     |Added
----------------------------------------------------------------------------
         AssignedTo|unassigned at sources dot   |gingold at adacore dot com
                   |redhat dot com              |
             Status|NEW                         |ASSIGNED


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils

[Bug gas/10897] regression from 2.19.1 cross compiling gas for arm due to empty if error

by Bugzilla from sourceware-bugzilla@sourceware.org :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


------- Additional Comments From gingold at adacore dot com  2009-11-03 16:49 -------
Fixed in cvs.

--
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |FIXED


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

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


_______________________________________________
bug-binutils mailing list
bug-binutils@...
http://lists.gnu.org/mailman/listinfo/bug-binutils