See http://sourceware.org/ml/binutils/2006-04/msg00257.html:

A vanilla configure'n'build using --enable-targets=all fails while building gas:

gcc -DHAVE_CONFIG_H -I. -I/gnu/binutils/binutils-2.16.92/gas -I. -D_GNU_SOURCE
-I. -I/gnu/binutils/binutils-2.16.92/gas -I../bfd
-I/gnu/binutils/binutils-2.16.92/gas/config 
-I/gnu/binutils/binutils-2.16.92/gas/../include -I/gnu/binutils/bin
utils-2.16.92/gas/.. -I/gnu/binutils/binutils-2.16.92/gas/../bfd -I/gnu/binutils
/binutils-2.16.92/gas/../intl -I../intl -DLOCALEDIR="\"/usr/build/install/share/
locale\""   -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g -O2 -c
/gnu/binutils/binutils-2.16.92/gas/config/obj-coff.c 
In file included from
/gnu/binutils/binutils-2.16.92/gas/config/obj-multi.h:26,
                 from ./obj-format.h:1,
                 from /gnu/binutils/binutils-2.16.92/gas/config/te-pe.h:7,
                 from ./targ-env.h:1,
                 from /gnu/binutils/binutils-2.16.92/gas/as.h:585,
                 from /gnu/binutils/binutils-2.16.92/gas/config/obj-coff.c:25:
/gnu/binutils/binutils-2.16.92/gas/config/obj-coff.h:63:1: "TARGET_FORMAT"
redefined
In file included from ./targ-cpu.h:1,
                 from /gnu/binutils/binutils-2.16.92/gas/config/obj-coff.h:28,
                 from
/gnu/binutils/binutils-2.16.92/gas/config/obj-multi.h:26,
                 from ./obj-format.h:1,
                 from /gnu/binutils/binutils-2.16.92/gas/config/te-pe.h:7,
                 from ./targ-env.h:1,
                 from /gnu/binutils/binutils-2.16.92/gas/as.h:585,
                 from /gnu/binutils/binutils-2.16.92/gas/config/obj-coff.c:25:
/gnu/binutils/binutils-2.16.92/gas/config/tc-i386.h:69:1: this is the location
of the previous definition
make[4]: *** [obj-coff.o] Error 1

Bfd, binutils, ld and gprof all build fine; only gas fails.

    cheers, 
       DaveK

-- 
           Summary: --enable-targets=all causes build failure on cygwin
           Product: binutils
           Version: 2.17
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gas
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: dave dot korn at artimi dot com
                CC: bug-binutils at gnu dot org
 GCC build triplet: i686-pc-cygwin
  GCC host triplet: i686-pc-cygwin
GCC target triplet: i686-pc-cygwin


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

------- 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@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to