[cfarm-users] bootstrapping gcc 13.2.0 on power9/10

Sean McGovern gseanmcg at gmail.com
Sat Mar 16 01:40:49 CET 2024


Hi,

On Fri, Mar 15, 2024 at 6:40 PM Peter Bergner <bergner at 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
>
> I built both the gcc-13 release branch, as well as the gcc-13.2 release
> tarball using your exact configure options above and both completed with
> no errors for me.
>
> Did you modify your PATH so you're picking up alternate tools to build
> with or is there something you already installed in $HOME/tools/ that
> could be interfering with your build?
>
> Peter
>
>

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.

So sorry for wasting people's time, and I'll look deeper next time
before posting to the list.

Thanks,
Sean McGovern


More information about the cfarm-users mailing list