Hi Yevgeniy,
libtool: link: gcc -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -g
-O2 -o .libs/ld-new ldgram.o ldlex.o lexsup.o ldlang.o mri.o ldctor.o ldmain.o
ldwrite.o ldexp.o ldemul.o ldver.o ldmisc.o ldfile.o ldcref.o sha1.o
eelf_i386_ldso.o eelf_i386.o eelf_x86_64.o /usr/local/lib/libiconv.so
../bfd/.libs/libbfd.so ../libiberty/libiberty.a ./../intl/libintl.a
-R/usr/local/lib
/usr/local/lib/gcc/i686-gnu-solaris2.10/4.2.2/../../../../i686-gnu-solaris2.10/bin/ld:ldscripts/elf_i386.xc:77:
syntax error
Weird. I do not see how this error can be happening. You are correct in that
the "CONSTANT (MAXPAGESIZE)" syntax is not supported by the 2.17 linker, but
that linker should not be seeing this syntax at all. The elf_i386.sc file is a
linker script for the 2.18 linker that you are building - it should never have
to be parsed by the 2.17 linker.
As a workaround you can edit the ld/emulparams/elf32_sparc.sh file in your 2.18
sources and change the definitions of MAXPAGESIZE and COMMONPAGESIZE back to
0x10000 and 0x2000 respectively.
Cheers
Nick
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils