> Bernd Eggink <monoped@sudrala.de> wrote:
> > ---------------------------------------------------------------------
> > configure:3248: /usr/ports/core/gcc/work/src/build/./gcc/xgcc
> > -B/usr/ports/core/gcc/work/src/build/./gcc/
> > -B/usr/x86_64-unknown-linux-gnu/bin/
> > -B/usr/x86_64-unknown-linux-gnu/lib/ -isystem
> > /usr/x86_64-unknown-linux-gnu/include -isystem
> > /usr/x86_64-unknown-linux-gnu/sys-include -qversion >&5
> > xgcc: error: unrecognized command line option '-qversion'
> > xgcc: fatal error: no input files
> > ---------------------------------------------------------------------
>
> Also Red Herrings. It's just testing to see which version-querying
> flags are supported by the compiler. The actual error happens in the
> 32-bit log:
>
> ../../../../gcc-4.7.3/libquadmath/configure: line 3397: ./a.out: cannot \
> execute binary file
>
> I'm guessing you're building binaries for 32-bit software, but you don't
> appear to have 32-bit libaries in place to run them (specifically
> a 32-bit version of ld-linux.so). I'm not sure about the specifics of
> your setup, but the line I pasted is the actual error that is killing
> your build. Try stracing that a.out file and see what library it's
> missing.
>
> khm
You should also verify if your Kernel can run 32 bit programs, I think the option is CONFIG_X86_X32.
Alan