Building 2.19.1 with --target=pdp11-dec-bsd results in a compiler error.  To
fix, change tc-pdp11.c line 987.

WAS:    as_bad (err);
TO:     as_bad ("%s",err);

This is because as_bad() requires a "const char *format" as the first parameter.
 Presumably this was changed at some point for a good reason.

Searching for "as_bad (err" indicates that lots of other targets (e.g. PPC)
probably have the same problem.

-- 
           Summary: Won't build with PDP-11 target and probably others
           Product: binutils
           Version: 2.19
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: merlin_skinner at hotmail dot com
                CC: bug-binutils at gnu dot org
  GCC host triplet: 2.6.28-13-generic x86_64 GNU/Linux
GCC target triplet: pdp11-dec-bsd


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

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