https://sourceware.org/bugzilla/show_bug.cgi?id=17122
Bug ID: 17122 Summary: OSX 10.9 build failure Product: binutils Version: 2.25 (HEAD) Status: NEW Severity: normal Priority: P2 Component: binutils Assignee: unassigned at sourceware dot org Reporter: andrew.smirnov at gmail dot com Most recent version of binutils-gdb HEAD fails to build on OSX 10.9 with: nm.c: In function 'main': nm.c:1699:7: error: 'sbrk' is deprecated (declared at /usr/include/unistd.h:582) [-Werror=deprecated-declarations] char *lim = (char *) sbrk (0); ^ when built with GCC 4.8. Steps to reproduce: ./configure CC=gcc-4.8 make The build succeeds if configured as: ./configure CC=gcc-4.8 CFLAGS="-Wno-error=deprecated-declarations" Let me know if any additional info is needed. -- You are receiving this mail because: You are on the CC list for the bug. _______________________________________________ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils