This is the mail archive of the mailing list for the binutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Attempts on Solaris 10 SPARC

Trying to compile a more recent binutils on Solaris 10 SPARC and not
having much luck.  So I thought for grins I'd try a recent snapshot,
so downloaded binutils-2.23.52.  However, as with the previous
releases I tried to compile on this platform, it blows up.

When I try the workshop Sun/Oracle compiler, it blows up at:

cc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include
-Dbin_dummy_emulation=bin_vanilla_emulation -I/usr/local/include
  -g -c readelf.c
"readelf.c", line 7491: void function cannot return value
cc: acomp failed for readelf.c

When I try gcc, it blows up at:

gcc -DHAVE_CONFIG_H -I.  -I. -I. -I../bfd -I./../bfd -I./../include
-g -O2 -DENABLE_PLUGINS -DLOCALEDIR="\"/usr/local/share/locale\""  -W
-Wall -Wstrict-prototypes -Wmissing-prototypes -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,
                 from ldmisc.c:39:
./../include/elf/common.h:989:1: "AT_SUN_HWCAP" redefined
In file included from /usr/include/dlfcn.h:17,
                 from sysdep.h:103,
                 from ldmisc.c:24:
/usr/include/sys/auxv.h:126:1: this is the location of the previous definition
gmake[4]: *** [ldmisc.o] Error 1

Anything I can do to get past this?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]