On Thu, Aug 18, 2022 at 11:31:19AM +0200, Omar Polo wrote: > On 2022/08/17 13:30:22 +0000, v...@openbsd.org wrote: > > http://build-failures.rhaalovely.net/mips64/2022-08-09/lang/guile3.log > > : configure: error: cannot compute sizeof (int) > > that's a new one to me :) > > There are several other strange-looking things in the output of the > configure, for example: > > : checking whether rmdir works... no > : checking whether dup2 works... no > : checking for mbtowc... no > : checking for dlopen... no > > do you still have the config.log file around in ${WRKSRC}? Would like > to take a look as this is puzzling and otherwise I don't have a clue > about what is going wrong.
configure:54462: checking size of int configure:54468: cc -std=gnu11 -o conftest -O2 -pipe -flto -I/usr/local/include -L/usr/local/lib conftest.c >&5 /tmp/conftest-8c39ee.o: file not recognized: File format not recognized cc: error: linker command failed with exit code 1 (use -v to see invocation) It is the -flto option that causes the trouble. ld.bfd does not work with it.