pkgsrc-Users archive

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

Solaris 11: Build of binutils 2.23.2nb1 fails while building ld



Hi,

I get a build failure on Solaris 11 while building ld of binutils 2.23.2nb1:

gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include   -O2 -pipe -I/opt/pkg/include -I/usr/include -DENABLE_PLUGINS  -DLOCALEDIR="\"/opt/pkg/share/locale\""  -I/opt/pkg/include -I/usr/include -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -pipe -I/opt/pkg/include -I/usr/include -MT ldmisc.o -MD -MP -MF .deps/ldmisc.Tpo -c -o ldmisc.o ldmisc.c
In file included from ../bfd/elf-bfd.h:27:0,
                 from ldmisc.c:39:
./../include/elf/common.h:959: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

Shouldn't ld be disabled on Solaris anyway (--enable-ld=no --enable-gold=no)?

Bye...

    Dirk
--

Dirk Heinrichs, Senior Systems Engineer, Engineering Solutions
Recommind GmbH, Von-Liebig-Straße 1, 53359 Rheinbach
Tel: +49 2226 1596666 (Ansage) 1149
Email: dhs%recommind.com@localhost
Skype: dirk.heinrichs.recommind
www.recommind.com


Home | Main Index | Thread Index | Old Index