* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
@ 2011-12-19 21:03 ` alexander at mezon dot ru
2011-12-19 21:07 ` redi at gcc dot gnu.org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alexander at mezon dot ru @ 2011-12-19 21:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #1 from Alexander Khrukin <alexander at mezon dot ru> 2011-12-19 20:58:48 UTC ---
Build Options
mkdir -p gcc-mipsel
pushd gcc-mipsel
~/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2/gcc-mipsel
~/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2
CC='gcc -O2 -g -frecord-gcc-switches -Wstrict-aliasing=2 -pipe -Wformat
-Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4
-fomit-frame-pointer -mtune=generic -march=i586 -fasynchronous-unwind-tables'
../gcc-4.6.2/configure --prefix=/usr \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--target=mipsel \
--enable-languages=c,c++ \
--disable-nls \
--disable-libssp \
--with-system-zlib \
--disable-libgomp \
--enable-version-specific-runtime-libs \
'--with-pkgversion=Mandriva 4.6.2-1' \
--with-bugurl=https://qa.mandriva.com/ \
--libexecdir=/usr/lib
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
2011-12-19 21:03 ` [Bug bootstrap/51627] " alexander at mezon dot ru
@ 2011-12-19 21:07 ` redi at gcc dot gnu.org
2011-12-19 21:19 ` alexander at mezon dot ru
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2011-12-19 21:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #2 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-19 21:03:02 UTC ---
(In reply to comment #0)
> 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.
Have you done this?
Have you read http://gcc.gnu.org/wiki/FAQ#configure_suffix ?
Why not put the gmp, mpfr and mpc sources in the gcc source tree and let it
build them?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
2011-12-19 21:03 ` [Bug bootstrap/51627] " alexander at mezon dot ru
2011-12-19 21:07 ` redi at gcc dot gnu.org
@ 2011-12-19 21:19 ` alexander at mezon dot ru
2011-12-19 21:20 ` redi at gcc dot gnu.org
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alexander at mezon dot ru @ 2011-12-19 21:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #3 from Alexander Khrukin <alexander at mezon dot ru> 2011-12-19 21:15:06 UTC ---
(In reply to comment #2)
> (In reply to comment #0)
> > 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.
>
> Have you done this?
>
> Have you read http://gcc.gnu.org/wiki/FAQ#configure_suffix ?
>
> Why not put the gmp, mpfr and mpc sources in the gcc source tree and let it
> build them?
Yeah, im read FAQ but i'm not understand that mpfr and other must be placed
into gcc build dir :3
Thanks for advice.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
` (2 preceding siblings ...)
2011-12-19 21:19 ` alexander at mezon dot ru
@ 2011-12-19 21:20 ` redi at gcc dot gnu.org
2011-12-19 22:29 ` alexander at mezon dot ru
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2011-12-19 21:20 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #4 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-19 21:18:51 UTC ---
http://www.advogato.org/person/redi/diary/253.html
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
` (3 preceding siblings ...)
2011-12-19 21:20 ` redi at gcc dot gnu.org
@ 2011-12-19 22:29 ` alexander at mezon dot ru
2011-12-19 22:37 ` redi at gcc dot gnu.org
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alexander at mezon dot ru @ 2011-12-19 22:29 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #5 from Alexander Khrukin <alexander at mezon dot ru> 2011-12-19 22:16:43 UTC ---
Also i read http://gcc.gnu.org/install/configure.html
///
If you do not have GMP (the GNU Multiple Precision library), the MPFR library
and/or the MPC library installed in a standard location and you want to build
GCC, you can explicitly specify the directory where they are installed
(`--with-gmp=gmpinstalldir', `--with-mpfr=mpfrinstalldir',
`--with-mpc=mpcinstalldir'). The --with-gmp=gmpinstalldir option is shorthand
for --with-gmp-lib=gmpinstalldir/lib and
--with-gmp-include=gmpinstalldir/include. Likewise the
--with-mpfr=mpfrinstalldir option is shorthand for
--with-mpfr-lib=mpfrinstalldir/lib and
--with-mpfr-include=mpfrinstalldir/include, also the --with-mpc=mpcinstalldir
option is shorthand for --with-mpc-lib=mpcinstalldir/lib and
--with-mpc-include=mpcinstalldir/include. If these shorthand assumptions are
not correct, you can use the explicit include and lib options directly. You
might also need to ensure the shared libraries can be found by the dynamic
////
But why it not working with system-wide mpc mpfr gmp?
Now i compiling gcc with mpfr-gmp-mpc placed in gcc tree but most prefered for
me is system installed libs.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
` (4 preceding siblings ...)
2011-12-19 22:29 ` alexander at mezon dot ru
@ 2011-12-19 22:37 ` redi at gcc dot gnu.org
2011-12-19 23:51 ` alexander at mezon dot ru
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: redi at gcc dot gnu.org @ 2011-12-19 22:37 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #6 from Jonathan Wakely <redi at gcc dot gnu.org> 2011-12-19 22:28:50 UTC ---
(In reply to comment #2)
> (In reply to comment #0)
> > 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.
>
> Have you done this?
If you look in config.log you'll see this:
/home/builduser/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2/gcc-mipsel/./gcc/as:
line 87: exec: -E: invalid option
So the problem is nothing to do with the prerequisite libraries.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
` (5 preceding siblings ...)
2011-12-19 22:37 ` redi at gcc dot gnu.org
@ 2011-12-19 23:51 ` alexander at mezon dot ru
2011-12-20 0:07 ` pinskia at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: alexander at mezon dot ru @ 2011-12-19 23:51 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #7 from Alexander Khrukin <alexander at mezon dot ru> 2011-12-19 23:45:19 UTC ---
(In reply to comment #6)
> (In reply to comment #2)
> > (In reply to comment #0)
> > > 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.
> >
> > Have you done this?
>
> If you look in config.log you'll see this:
>
> /home/builduser/cross-avr-gcc/BUILD/cross-mipsel-gcc-4.6.2/gcc-mipsel/./gcc/as:
> line 87: exec: -E: invalid option
>
> So the problem is nothing to do with the prerequisite libraries.
This mean that libs in gcc build tree not needed?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
` (6 preceding siblings ...)
2011-12-19 23:51 ` alexander at mezon dot ru
@ 2011-12-20 0:07 ` pinskia at gcc dot gnu.org
2011-12-20 0:23 ` alexander at mezon dot ru
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-12-20 0:07 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #8 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-19 23:51:08 UTC ---
Did you build binutils already for mispel?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
` (7 preceding siblings ...)
2011-12-20 0:07 ` pinskia at gcc dot gnu.org
@ 2011-12-20 0:23 ` alexander at mezon dot ru
2011-12-30 6:21 ` pinskia at gcc dot gnu.org
2011-12-30 10:46 ` alexander at mezon dot ru
10 siblings, 0 replies; 12+ messages in thread
From: alexander at mezon dot ru @ 2011-12-20 0:23 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
--- Comment #9 from Alexander Khrukin <alexander at mezon dot ru> 2011-12-20 00:13:03 UTC ---
(In reply to comment #8)
> Did you build binutils already for mispel?
Yes i did.
cross-mipsel-binutils-2.22.51.0.1-1-mdv2011.0.i586.rpm
rpm -ql
http://pastie.org/3043495
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
` (8 preceding siblings ...)
2011-12-20 0:23 ` alexander at mezon dot ru
@ 2011-12-30 6:21 ` pinskia at gcc dot gnu.org
2011-12-30 10:46 ` alexander at mezon dot ru
10 siblings, 0 replies; 12+ messages in thread
From: pinskia at gcc dot gnu.org @ 2011-12-30 6:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2011-12-30
Ever Confirmed|0 |1
--- Comment #10 from Andrew Pinski <pinskia at gcc dot gnu.org> 2011-12-30 06:18:59 UTC ---
Are they really installed as mipsel-as/mipsel-ld/mipsel-nm and are in the
current path ?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug bootstrap/51627] cannot compute suffix of object files mipsel
2011-12-19 20:58 [Bug bootstrap/51627] New: cannot compute suffix of object files mipsel alexander at mezon dot ru
` (9 preceding siblings ...)
2011-12-30 6:21 ` pinskia at gcc dot gnu.org
@ 2011-12-30 10:46 ` alexander at mezon dot ru
10 siblings, 0 replies; 12+ messages in thread
From: alexander at mezon dot ru @ 2011-12-30 10:46 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=51627
Alexander Khrukin <alexander at mezon dot ru> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |FIXED
--- Comment #11 from Alexander Khrukin <alexander at mezon dot ru> 2011-12-30 09:19:00 UTC ---
(In reply to comment #10)
> Are they really installed as mipsel-as/mipsel-ld/mipsel-nm and are in the
> current path ?
Problem was in binutils.
^ permalink raw reply [flat|nested] 12+ messages in thread