On 6 Mar 2021, at 11:19, Filippo Moretti <filippom...@yahoo.com> wrote:
> 
> This is the output from MAKE_JOBS_UNSAFE=yes
> 
> checking whether the C compiler works... yes
> checking for C compiler default output file name... a.out
> checking for suffix of executables...
> checking whether we are cross compiling... configure: error: in 
> `/usr/ports/lang/gcc10/work/.build/x86_64-portbld-freebsd14.0/32/libgcc':
> configure: error: cannot run C compiled programs.
> If you meant to cross compile, use `--host'.
> See `config.log' for more details
> gmake[4]: *** [Makefile:17191: configure-stage1-target-libgcc] Error 1
> gmake[4]: Leaving directory '/usr/ports/lang/gcc10/work/.build'

Ok, for some reason it fails to run its autoconf test case. Since it
specifically dies on x86_64-portbld-freebsd14.0/32/libgcc, I would guess
that you haven't got any 32 bit compat libraries installed?

But if you want to know for sure, find the config.log file which
contains the details. It should be in
$workdir/.build/x86_64-portbld-freebsd14.0/32/libgcc. This should show
exactly which commands it ran, and what error it got.

Btw, if you attempt to compile and run a small 32 bit executable, like
this:

echo "int main(void) { return 0; }" > minimal.c && cc -m32 minimal.c -o minimal 
&& ./minimal

does it work?

-Dimitry

Attachment: signature.asc
Description: Message signed with OpenPGP

Reply via email to