I was trying to compile binutils 2.19.1 with the following configure options:
'--prefix=/usr/local/avr' '--target=avr' '--disable-nls' On my MacBook (OS X 10.6.1) with gcc (i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5646)) and compilation of binutils/strings.c failed due to warnings re stat64() being deprecated and warnings as errors enabled. I am attaching a patch that fixes the issue. Its not neat (it detects if you're on Apple). It may be an issue specifically on 64bit OS X where stat64() and stat() are equivalent. Further debugging is required. -- Summary: binutils/strings.c fails to compile on OS 10.6.1 / XCode 3.2 Product: binutils Version: 2.19 Status: NEW Severity: normal Priority: P2 Component: binutils AssignedTo: unassigned at sources dot redhat dot com ReportedBy: cyberspice at cyberspice dot org dot uk CC: bug-binutils at gnu dot org GCC build triplet: osx GCC host triplet: osx GCC target triplet: avr http://sourceware.org/bugzilla/show_bug.cgi?id=10735 ------- 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