public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c/52570] New: Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated
@ 2012-03-12 21:52 tun4545 at gmail dot com
2012-03-12 22:46 ` [Bug bootstrap/52570] " pinskia at gcc dot gnu.org
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: tun4545 at gmail dot com @ 2012-03-12 21:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52570
Bug #: 52570
Summary: Error message during build of gcc-4.6.3:
lto/lto-object.o: file not recognized: File truncated
Classification: Unclassified
Product: gcc
Version: 4.6.3
Status: UNCONFIRMED
Severity: critical
Priority: P3
Component: c
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: tun4545@gmail.com
Created attachment 26882
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=26882
i386-builtin-types.inc: file produced with -save-temps
During gcc 4.6.3 build, compilation stops with the follwing message:
gcc -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 -o lto1 \
lto/lto-lang.o lto/lto.o lto/lto-object.o attribs.o main.o tree-browser.o
libbackend.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a
-L/usr/local/lib//lib -L/usr/local/lib//lib -L/usr/local/lib//lib -lmpc -lmpfr
-lgmp -rdynamic -ldl -L../zlib -lz ../libcpp/libcpp.a
../libiberty/libiberty.a ../libdecnumber/libdecnumber.a
lto/lto-object.o: file not recognized: File truncated
collect2: ld returned 1 exit status
make[3]: *** [lto1] Error 1
Output of gcc -v:
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/usr/libexec/gcc/i686-redhat-linux/4.5.1/lto-wrapper
Target: i686-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man
--infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla
--enable-bootstrap --enable-shared --enable-threads=posix
--enable-checking=release --with-system-zlib --enable-__cxa_atexit
--disable-libunwind-exceptions --enable-gnu-unique-object
--enable-linker-build-id
--enable-languages=c,c++,objc,obj-c++,java,fortran,ada,lto --enable-plugin
--enable-java-awt=gtk --disable-dssi
--with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre
--enable-libgcj-multifile --enable-java-maintainer-mode
--with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib
--with-ppl --with-cloog --with-tune=generic --with-arch=i686
--build=i686-redhat-linux
Thread model: posix
gcc version 4.5.1 20100924 (Red Hat 4.5.1-4) (GCC)
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/52570] Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated
2012-03-12 21:52 [Bug c/52570] New: Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated tun4545 at gmail dot com
@ 2012-03-12 22:46 ` pinskia at gcc dot gnu.org
2012-03-12 22:56 ` tun4545 at gmail dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-03-12 22:46 UTC (permalink / raw)
To: gcc-bugs
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)? Are you building
in the src directory? How did you invoke make (options passed to make)?
Can you provide how lto/lto-object.o was built?
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/52570] Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated
2012-03-12 21:52 [Bug c/52570] New: Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated tun4545 at gmail dot com
2012-03-12 22:46 ` [Bug bootstrap/52570] " pinskia at gcc dot gnu.org
@ 2012-03-12 22:56 ` tun4545 at gmail dot com
2012-03-13 8:35 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: tun4545 at gmail dot com @ 2012-03-12 22:56 UTC (permalink / raw)
To: gcc-bugs
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.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/52570] Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated
2012-03-12 21:52 [Bug c/52570] New: Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated tun4545 at gmail dot com
2012-03-12 22:46 ` [Bug bootstrap/52570] " pinskia at gcc dot gnu.org
2012-03-12 22:56 ` tun4545 at gmail dot com
@ 2012-03-13 8:35 ` rguenth at gcc dot gnu.org
2012-03-13 17:52 ` tun4545 at gmail dot com
2012-03-13 19:19 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: rguenth at gcc dot gnu.org @ 2012-03-13 8:35 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52570
--- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org> 2012-03-13 08:35:41 UTC ---
Can you repeat the error? It seems you might have run out of disk space.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/52570] Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated
2012-03-12 21:52 [Bug c/52570] New: Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated tun4545 at gmail dot com
` (2 preceding siblings ...)
2012-03-13 8:35 ` rguenth at gcc dot gnu.org
@ 2012-03-13 17:52 ` tun4545 at gmail dot com
2012-03-13 19:19 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: tun4545 at gmail dot com @ 2012-03-13 17:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52570
--- Comment #4 from abcgcc <tun4545 at gmail dot com> 2012-03-13 17:39:38 UTC ---
I have plenty of space. And it worked after make clean. So following worked
make clean
make -j 3 (I have 4 processors)
make install
Thanks.
On Tue, Mar 13, 2012 at 1:35 AM, rguenth at gcc dot gnu.org <
gcc-bugzilla@gcc.gnu.org> wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52570
>
> --- Comment #3 from Richard Guenther <rguenth at gcc dot gnu.org>
> 2012-03-13 08:35:41 UTC ---
> Can you repeat the error? It seems you might have run out of disk space.
>
> --
> Configure bugmail: http://gcc.gnu.org/bugzilla/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You reported the bug.
>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug bootstrap/52570] Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated
2012-03-12 21:52 [Bug c/52570] New: Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated tun4545 at gmail dot com
` (3 preceding siblings ...)
2012-03-13 17:52 ` tun4545 at gmail dot com
@ 2012-03-13 19:19 ` pinskia at gcc dot gnu.org
4 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu.org @ 2012-03-13 19:19 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=52570
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution| |WORKSFORME
--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> 2012-03-13 18:18:50 UTC ---
So closing as worksforme.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-03-13 18:19 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-03-12 21:52 [Bug c/52570] New: Error message during build of gcc-4.6.3: lto/lto-object.o: file not recognized: File truncated tun4545 at gmail dot com
2012-03-12 22:46 ` [Bug bootstrap/52570] " pinskia at gcc dot gnu.org
2012-03-12 22:56 ` tun4545 at gmail dot com
2012-03-13 8:35 ` rguenth at gcc dot gnu.org
2012-03-13 17:52 ` tun4545 at gmail dot com
2012-03-13 19:19 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).