This is the mail archive of the binutils@sources.redhat.com 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]

Re: Build of 2.14 with HP bundled compiler fails


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


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