This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/52570] Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52570

--- Comment #2 from abcgcc <tun4545 at gmail dot com> 2012-03-12 22:56:26 UTC ---
On Mon, Mar 12, 2012 at 3:45 PM, pinskia at gcc dot gnu.org <
gcc-bugzilla@gcc.gnu.org> wrote:

> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52570
>
> Andrew Pinski <pinskia at gcc dot gnu.org> changed:
>
>           What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>             Target|                            |i686-redhat-linux
>             Status|UNCONFIRMED                 |WAITING
>   Last reconfirmed|                            |2012-03-12
>          Component|c                           |bootstrap
>     Ever Confirmed|0                           |1
>           Severity|critical                    |normal
>
> --- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-12
> 22:45:28 UTC ---
> How did you invoke configure (options passed to configure)?

./configure --with-gmp=/usr/local/lib/ --with-mpfr=/usr/local/lib/
--with-mpc=/usr/local/lib/


> Are you building
> in the src directory?

I am buidling in the directory that was extracted from tarball. I am not
sure if that is the src directory you refer to.

> How did you invoke make (options passed to make)?
>
First, I tried make -j. After I got the error message, I only invoked make
with no options. But, I did not run ./configure again.



>
> Can you provide how lto/lto-object.o was built?
>
After I saw the error message, I deleted that object file and running make
again produced this line to build lto/lto-object.o:
gcc -c   -g -fkeep-inline-functions -DIN_GCC   -W -Wall -Wwrite-strings
-Wcast-qual -Wstrict-prototypes -Wmissing-prototypes
-Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common
-DHAVE_CONFIG_H -I. -Ilto -I../.././gcc -I../.././gcc/lto
-I../.././gcc/../include -I../.././gcc/../libcpp/include
-I/usr/local/lib//include -I/usr/local/lib//include
-I/usr/local/lib//include  -I../.././gcc/../libdecnumber
-I../.././gcc/../libdecnumber/bid -I../libdecnumber
../.././gcc/lto/lto.c -o lto/lto.o

>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]