> -----Original Message----- > From: Jeff Law <jeffreya...@gmail.com> > Sent: Friday, May 5, 2023 4:04 PM > To: David Edelsohn <dje....@gmail.com>; Tamar Christina > <tamar.christ...@arm.com> > Cc: GCC Patches <gcc-patches@gcc.gnu.org> > Subject: Re: [PATCH 5/5] match.pd: Use splits in makefile and make > configurable. > > > > On 5/5/23 08:59, David Edelsohn via Gcc-patches wrote: > > This patch has broken GCC bootstrap on AIX. It appears to rely upon, > > or complain about, the command "seq": > > > > /nasfarm/edelsohn/install/GCC12/bin/g++ -std=c++11 -g -DIN_GCC > > -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -W -Wall > > -Wno-narrowing -Wwrite-strings -Wcast-qual -Wno-format > > -Wmissing-format-attribute -Wconditionally-supported > > -Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros > > -Wno-overlength-strings -fno-common -DHAVE_CONFIG_H - > DGENERATOR_FILE > > -static-libstdc++ -static-libgcc -Wl,-bbigtoc -Wl,-bmaxdata:0x40000000 -o > build/genmatch \ > > build/genmatch.o ../build-powerpc-ibm-aix7.2.5.0/libcpp/libcpp.a > > build/errors.o build/vec.o build/hash-table.o build/sort.o > > ../build-powerpc-ibm-aix7.2.5.0/libiberty/libiberty.a > > /usr/bin/bash: seq: command not found > > /usr/bin/bash: seq: command not found > > build/genmatch --gimple \ > > --header=tmp-gimple-match-auto.h --include=gimple-match-auto.h \ > > /nasfarm/edelsohn/src/src/gcc/match.pd > > > > All of the match files are dumped to stdout. > Sigh. So the question is do we make seq a requirement or do we implement an > alternate to get the sequence or implement a fallback. > > jeff
I'm looking for an alternate sequence now. If I don't find one in a bit, since Monday is a bank holiday for the UK I can temporarily Ignore the configure flag by defining MATCH_SPLITS_SEQ = 1 2 3 4 5 6 7 8 9 10 Would that be ok as a temporary fix if I don't find anything else by EOD? But hoping to find another way that doesn't rely on coreutils. Cheers, Tamar