bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/17122] New: OSX 10.9 build failure


From: andrew.smirnov at gmail dot com
Subject: [Bug binutils/17122] New: OSX 10.9 build failure
Date: Mon, 07 Jul 2014 16:08:35 +0000

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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]