Building gcc on x86_64

Revital1 Eres ERES@il.ibm.com
Sun Mar 15 16:22:00 GMT 2009


Hello,

I get the following error when building gcc trunk version 144868 on x86_64.
I appreciate any help.

Thanks,
Revital

Configure with:

../gcc/configure --prefix=/Develop/mainline_patch/build --disable-bootstrap
--enable-languages=c,c++,fortran --with-m    pfr=/usr/local/ --disable-nls
--disable-multilib

The error:

echo | /Develop/mainline_patch/build/./gcc/xgcc
-B/Develop/mainline_patch/build/./gcc/
-B/Develop/mainline_patch/build/x86_64-unknown-linux-gnu/bin/
-B/Develop/mainline_patch/build/x86_64-unknown-linux-gnu/lib/
-isystem /Develop/mainline_patch/build/x86_64-unknown-linux-gnu/include
-isystem /Develop/mainline_patch/build/x86_64-unknown-linux-gnu/sys-include
-E -dM - | \
          sed -n -e 's/^#define \([^_][a-zA-Z0-9_]*\).*/\1/p' \
                 -e 's/^#define \(_[^_A-Z][a-zA-Z0-9_]*\).*/\1/p' | \
          sort -u > tmp-macro_list
xgcc: /Develop/mainline_patch/build/./gcc/specs: Invalid argument
/bin/sh ../../gcc/gcc/../move-if-change tmp-macro_list macro_list
...
Fixing headers into /Develop/mainline_patch/build/gcc/include-fixed for
x86_64-unknown-linux-gnu target
No forbidden identifiers defined by this target
Finding directories and links to directories
 Searching /usr/include/.
Making symbolic directory links
Fixing directory /usr/include
into /Develop/mainline_patch/build/gcc/include-fixed
error 22 (Invalid argument) stat-ing libgsf-1/gsf/gsf-output-csv.h
error 22 (Invalid argument) stat-ing libgsf-1/gsf/gsf-input-iochannel.h
error 22 (Invalid argument) stat-ing libgsf-1/gsf/gsf-input-stdio.h
error 22 (Invalid argument) stat-ing libgsf-1/gsf/gsf-output-iochannel.h
error 22 (Invalid argument) stat-ing libgsf-1/gsf/gsf-infile-impl.h
...
checking for
x86_64-unknown-linux-gnu-gcc... /Develop/mainline_patch/build/./gcc/xgcc
-B/Develop/mainline_patch/build/./gcc/
-B/Develop/mainline_patch/build/x86_64-unknown-linux-gnu/bin/
-B/Develop/mainline_patch/build/x86_64-unknown-linux-gnu/lib/
-isystem /Develop/mainline_patch/build/x86_64-unknown-linux-gnu/include
-isystem /Develop/mainline_patch/build/x86_64-unknown-linux-gnu/sys-include
checking for suffix of object files... configure: error: in
`/Develop/mainline_patch/build/x86_64-unknown-linux-gnu/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Error 1
make[1]: Leaving directory `/Develop/mainline_patch/build'
make: *** [all] Error 2




More information about the Gcc-help mailing list