YACCQ : Yet Another Cross Compiler Question ... cannot compute suffix of object files

Segher Boessenkool segher@kernel.crashing.org
Sun Feb 17 22:34:00 GMT 2019


On Sun, Feb 17, 2019 at 04:48:03PM -0500, Dennis Clarke wrote:
> > 
> >> checking for suffix of object files... configure: error: in
> >> `/home/dclarke/rv64g_local/build/gcc-8.2.0_rv64imafdc.001/build-x86_64-unknown-freebsd12.0/libiberty':
> >> configure: error: cannot compute suffix of object files: cannot compile
> >> See `config.log' for more details.
> >
> 
> I saw that however the whole process seemed to keep on going for a while
> before hitting something major. Made me wonder if this was a test that
> failed or an actual fail.

Yeah, dunno why it kept going.

> >> Any thoughts would be welcome from ye grand gcc wizards :-)
> > 
> > I think I would look at the config.log files ;-)
> 
> Yup.
> 
> There seems to be a few of those around :

The first was the build-*/libiberty one.

> vesta_$ find . -type f -name config.log
> ./config.log
> ./gcc/config.log
> ./build-x86_64-unknown-freebsd12.0/libiberty/config.log
> ./fixincludes/config.log
> ./libiberty/config.log
> ./intl/config.log
> vesta_$
> 
> Well golly gee ... why the triplet with x86_64 in there? That should not
> even exist. It should say riscv64-unknown-freebsd12.0.

That is for the *build*, which indeed is x86_64 for you?  This looks
perfectly normal.

> I'll dig in there.

Good luck and have fun!


Segher



More information about the Gcc-help mailing list