On Fri, Mar 15, 2024 at 8:42 PM Sean McGovern via cfarm-users <cfarm-users@lists.tetaneutral.net> wrote: > On Fri, Mar 15, 2024 at 6:40 PM Peter Bergner <berg...@linux.ibm.com> wrote: > > On 3/14/24 4:15 AM, Sean McGovern via cfarm-users wrote: > > > I have not been sucessful doing a simple bootstrap of gcc 13.2.0 on > > > cfarm29 or cfarm120. It worked fine on cfarm110. > > > > > > Are there any special tricks since they are little-endian? > > > > > > $ ~/Projects/gcc-13.2.0/configure --prefix=$HOME/tools > > > --libdir=$HOME/tools/lib64 --enable-languages='c,c++,lto' > > > > > > with this configure line and running make I get a bunch of errors when > > > compiling tree-vec-loop.cc, similar to the following: > > > > > > gcc-13.2.0/gcc/tree-vect-loop.cc:5564:12: error: expected unqualified-id > > [...] > > Well, this is embarrassing! It was far simpler than that: > > I had CC and CXX environment variables pointing to clang/clang++ in my > .bashrc. > They have been removed.
If Clang is (still?) defining __GNUC__, then it sounds like a Clang bug. If Clang is going to pretend to be GCC, then it needs to compile the source files GCC can. Jeff _______________________________________________ cfarm-users mailing list cfarm-users@lists.tetaneutral.net https://lists.tetaneutral.net/listinfo/cfarm-users