bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/16583] New: Failed to compile on solaris 11.1 with gcc


From: sergey at fidoman dot ru
Subject: [Bug binutils/16583] New: Failed to compile on solaris 11.1 with gcc
Date: Fri, 14 Feb 2014 10:37:33 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16583

            Bug ID: 16583
           Summary: Failed to compile on solaris 11.1 with gcc
           Product: binutils
           Version: 2.24
            Status: NEW
          Severity: normal
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: sergey at fidoman dot ru

Macro defined in system header is redefined. 

gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include  -g -O2
-DENABLE_PLUGINS -DLOCALEDIR="\"/opt/binutils-2.24/share/locale\""  -W -Wall
-Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -g -O2 -MT ldmisc.o
-MD -MP -MF .deps/ldmisc.Tpo -c -o ldmisc.o ldmisc.c
In file included from ../bfd/elf-bfd.h:25:0,
                 from ldmisc.c:39:
./../include/elf/common.h:989:0: error: "AT_SUN_HWCAP" redefined [-Werror]
 #define AT_SUN_HWCAP    2009 /* Machine dependent hints about
 ^
In file included from /usr/include/dlfcn.h:15:0,
                 from sysdep.h:103,
                 from ldmisc.c:24:
/usr/include/sys/auxv.h:121:0: note: this is the location of the previous
definition
 #define AT_SUN_HWCAP AT_SUN_CAP_HW1 /* deprecated; for backward compat */
 ^
cc1: all warnings being treated as errors

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