https://gcc.gnu.org/bugzilla/show_bug.cgi?id=70704
Michael Haubenwallner <michael.haubenwall...@ssi-schaefer.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |michael.haubenwallner@ssi-s | |chaefer.com --- Comment #44 from Michael Haubenwallner <michael.haubenwall...@ssi-schaefer.com> --- Created attachment 38338 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=38338&action=edit FLEX listens to M4 envvar, unset. Does it help to set M4=/opt/freeware/bin/m4 in the environment, so configure is forced to take GNU m4? Once upon a time, I've had similar problems here, although with older gcc, and use attached patch to fix it - maybe it is of some help here as well. Problem is that flex does listen to the M4 environment variable. Dependent on PATH, configure may find AIX m4 (/usr/bin) or GNU m4 (/opt/freeware/bin). When M4=AIX-m4, flex-generated code breaks.