This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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 failure with flex 2.5.4 (Re: [PATCH] fix race when building ada-lex.c)


On 2018-05-03 10:37, Ulrich Weigand wrote:
John Reiser wrote:

gdb/ChangeLog:
* gdb/Makefile.in: (.c:.l, .c:.y): Write the target only in the
         last step, and do it atomically.

+	    $(FLEX) --stdout $<  \

This causes a build failure on my RHEL 5 based Cell/B.E. dailybuild,
since flex 2.5.4 does not yet support the long option --stdout.

Is there any reason not to use the equivalent short option -t instead?

Bye,
Ulrich

Huh, I also wondered whether --stdout was a widely available option. I found it was added by this commit in flex:

  https://github.com/westes/flex/commit/16fe6f3

and since it is 16-17 years old, I didn't raise a flag. But we can certainly use -t. Can you confirm it works as intended on that system?

Simon


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