Problems updating gcc to 4.7.3

Kurt H Maier khm at sciops.net
Sat Aug 10 21:07:23 UTC 2013


Bernd Eggink <monoped at 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




More information about the CRUX mailing list