This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Build of 2.14 with HP bundled compiler fails
- From: Daniel Jacobowitz <drow at mvista dot com>
- To: John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>
- Cc: binutils at sources dot redhat dot com
- Date: Tue, 16 Sep 2003 13:19:22 -0400
- Subject: Re: Build of 2.14 with HP bundled compiler fails
- References: <200309161706.h8GH6trO029907@hiauly1.hia.nrc.ca>
On Tue, Sep 16, 2003 at 01:06:54PM -0400, John David Anglin wrote:
> The following two errors occur building 2.14 on hppa64-hp-hpux11.11
> with the HP bundled compiler:
>
> cc +DA2.0W -DHAVE_CONFIG_H -I. -I../../src/binutils -I. -D_GNU_SOURCE -I. -I../.
> ./src/binutils -I../bfd -I../../src/binutils/../bfd -I../../src/binutils/../incl
> ude -DHOST_HPPAHPUX -I../../src/binutils/../intl -I../intl -DLOCALEDIR="\"/opt/g
> nu64/share/locale\"" -Dbin_dummy_emulation=bin_vanilla_emulation -c ../../sr
> c/binutils/arlex.c
> (Bundled) cc: "lex.yy.c", line 42: warning 5: "signed" will become a keyword.
> (Bundled) cc: "lex.yy.c", line 42: error 1000: Unexpected symbol: "char".
> (Bundled) cc: "lex.yy.c", line 150: error 1000: Unexpected symbol: "d".
> (Bundled) cc: "lex.yy.c", line 150: error 1004: Unexpected end of line.
> ...
>
> cc +DA2.0W -DHAVE_CONFIG_H -I. -I../../src/ld -I. -D_GNU_SOURCE -I. -I../../src/
> ld -I../bfd -I../../src/ld/../bfd -I../../src/ld/../include -I../../src/ld/../in
> tl -I../intl -DLOCALEDIR="\"/opt/gnu64/share/locale\"" -c ../../src/ld/ldl
> ex.c
> (Bundled) cc: "lex.yy.c", line 42: warning 5: "signed" will become a keyword.
> (Bundled) cc: "lex.yy.c", line 42: error 1000: Unexpected symbol: "char".
> (Bundled) cc: "lex.yy.c", line 150: error 1000: Unexpected symbol: "d".
> (Bundled) cc: "lex.yy.c", line 150: error 1004: Unexpected end of line.
> (Bundled) cc: "lex.yy.c", line 190: error 1000: Unexpected symbol: "yy_size_t".
> (Bundled) cc: "lex.yy.c", line 190: error 1573: Type of "yy_buf_size" is undefin
> ...
>
> The version of flex used to generate arlex.c and ldlex.c has introduced
> various ANSI features into the generated files. If I rebuild these two
> files with flex 2.5.4, the build completes successfully.
>
> Could these two files be regenerated using flex 2.5.4?
Feel free to regenerate them on the branch. I don't intend to make
another release of 2.14, however, and 2.15 will include conversion to
ISO C.
--
Daniel Jacobowitz
MontaVista Software Debian GNU/Linux Developer