This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/51627] New: cannot compute suffix of object files mipsel
- From: "alexander at mezon dot ru" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 19 Dec 2011 20:53:29 +0000
- Subject: [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel
- Auto-submitted: auto-generated
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
Bug #: 51627
Summary: cannot compute suffix of object files mipsel
Classification: Unclassified
Product: gcc
Version: 4.6.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: bootstrap
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: alexander@mezon.ru
I'm trying to build cross-mipsel-gcc but it always fails at:
checking build system type... i686-pc-linux-gnu
checking host system type... mipsel-unknown-elf
checking for mipsel-ar... mipsel-ar
checking for mipsel-lipo... mipsel-lipo
checking for mipsel-nm...
/home/user/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2/gcc-mipsel/./gcc/nm
checking for mipsel-ranlib... mipsel-ranlib
checking for mipsel-strip... mipsel-strip
checking whether ln -s works... yes
checking for mipsel-gcc...
/home/user/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2/gcc-mipsel/./gcc/xgcc
-B/home/user/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2/gcc-mipsel/./gcc/
-B/usr/mipsel/bin/ -B/usr/mipsel/lib/ -isystem /usr/mipsel/include -isystem
/usr/mipsel/sys-include
checking for suffix of object files... configure: error: in
`/home/user/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2/gcc-mipsel/mipsel/libgcc':
configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
/home/user/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2/gcc-mipsel/mipsel/libgcc/config.log
available here: http://pastebin.com/tmccuY7U
I looked at similar bugs and use advice with export
LD_LIBRARY_PATH="/mpfr/lib/:$LD_LIBRARY_PATH"
../gcc-%{version}/configure --prefix=%{_prefix} --mandir=%{_mandir} \
--infodir=%{_infodir} --target=%{target} --enable-languages=c,c++ \
--disable-nls --disable-libssp --with-system-zlib --disable-libgomp \
--enable-version-specific-runtime-libs \
--with-pkgversion="Mandriva %{version}-%{release}" \
--with-bugurl="https://qa.mandriva.com/" \
--libexecdir=%{_libexecdir}
# In general, building GCC is not smp-safe
export LD_LIBRARY_PATH="/usr/lib/:$LD_LIBRARY_PATH"
make
popd
libmpfr-devel installed
rpm -ql libmpfr-devel
/usr/include/mpf2mpfr.h
/usr/include/mpfr.h
/usr/lib/libmpfr.so
/usr/share/doc/libmpfr-devel
/usr/share/doc/libmpfr-devel/AUTHORS
/usr/share/doc/libmpfr-devel/BUGS
/usr/share/doc/libmpfr-devel/COPYING
/usr/share/doc/libmpfr-devel/COPYING.LESSER
/usr/share/doc/libmpfr-devel/FAQ.html
/usr/share/doc/libmpfr-devel/NEWS
/usr/share/doc/libmpfr-devel/TODO
/usr/share/doc/libmpfr-devel/examples
/usr/share/doc/libmpfr-devel/examples/ReadMe
/usr/share/doc/libmpfr-devel/examples/divworst.c
/usr/share/doc/libmpfr-devel/examples/rndo-add.c
/usr/share/doc/libmpfr-devel/examples/sample.c
/usr/share/doc/libmpfr-devel/examples/version.c
/usr/share/info/mpfr.info.xz
rpm -ql libgmp-devel
/usr/include/gmp.h
/usr/lib/libgmp.a
/usr/lib/libgmp.la
/usr/lib/libgmp.so
.....overquoting....
.....removed........
rpm -ql libmpc-devel
/usr/include/mpc.h
/usr/lib/libmpc.la
/usr/lib/libmpc.so
/usr/share/info/mpc.info.xz
all needed libs is installed.
Might somebody can help me?
BuildSystem: mandriva linux 2.6.39.4-4.2-desktop
GCC:
gcc -v
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/lib/gcc/i586-mandriva-linux-gnu/4.6.1/lto-wrapper
Target: i586-mandriva-linux-gnu
Configured with: ./configure --build=i586-mandriva-linux-gnu --prefix=/usr
--exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc
--datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib
--libexecdir=/usr/lib --localstatedir=/var --sharedstatedir=/usr/com
--mandir=/usr/share/man --infodir=/usr/share/info --x-includes=/usr/include
--x-libraries=/usr/lib --disable-libjava-multilib
--with-java-home=/usr/lib/jvm/java-rpmbuild
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --enable-java-awt=qt,gtk
--enable-gtk-cairo --with-cloog --with-ppl --enable-cloog-backend=ppl
--disable-libssp --disable-libunwind-exceptions --disable-werror
--enable-__cxa_atexit --enable-bootstrap --enable-checking=release
--enable-gnu-unique-object
--enable-languages=c,ada,c++,fortran,go,java,lto,objc,obj-c++
--enable-linker-build-id --enable-plugin --enable-shared --enable-threads=posix
--with-system-zlib --with-bugurl=https://qa.mandriva.com/ --with-tune=generic
--with-arch=i686 --host=i586-mandriva-linux-gnu
--target=i586-mandriva-linux-gnu
Thread model: posix
gcc version 4.6.1 20110627 (Mandriva) (GCC)