public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
@ 2011-11-04 11:49 danglin at gcc dot gnu.org
2011-11-04 11:52 ` [Bug other/50991] " danglin at gcc dot gnu.org
` (10 more replies)
0 siblings, 11 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-11-04 11:49 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
Bug #: 50991
Summary: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such
file or directory
Classification: Unclassified
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: other
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: danglin@gcc.gnu.org
CC: ro@gcc.gnu.org
Host: hppa-unknown-linux-gnu
Target: hppa-unknown-linux-gnu
Build: hppa-unknown-linux-gnu
Seems to be a dependency error in generating libgcc_tm.h at -j4.
make[3]: Entering directory `/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgcc'
# If this is the top-level multilib, build all the other
DEFINES='' HEADERS='' \
../../../gcc/libgcc/mkheader.sh > tmp-libgcc_tm.h
/home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/
-B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/sys-include -g -O2 -O2 -g
-O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -g0
-finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
-fno-stack-protector -I. -I. -I../.././gcc -I../../../gcc/libgcc
-I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc
-I../../../gcc/libgcc/../include -o crtbegin.o -MT crtbegin.o -MD -MP -MF
crtbegin.dep -c ../../../gcc/libgcc/crtstuff.c -DCRT_BEGIN
/home/dave/gnu/gcc/objdir/./gcc/xgcc -B/home/dave/gnu/gcc/objdir/./gcc/
-B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/bin/
-B/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/lib/ -isystem
/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/include -isystem
/home/dave/opt/gnu/gcc/gcc-4.7.0/hppa-linux-gnu/sys-include -g -O2 -O2 -g
-O2 -DIN_GCC -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual
-Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -isystem
./include -I. -I. -I../.././gcc -I../../../gcc/libgcc -I../../../gcc/libgcc/.
-I../../../gcc/libgcc/../gcc -I../../../gcc/libgcc/../include -g0
-finhibit-size-directive -fno-inline -fno-exceptions
-fno-zero-initialized-in-bss -fno-toplevel-reorder -fno-tree-vectorize
-fno-stack-protector -I. -I. -I../.././gcc -I../../../gcc/libgcc
-I../../../gcc/libgcc/. -I../../../gcc/libgcc/../gcc
-I../../../gcc/libgcc/../include -o crtbeginS.o -MT crtbeginS.o -MD -MP -MF
crtbeginS.dep -fPIC -c ../../../gcc/libgcc/crtstuff.c -DCRT_BEGIN
-DCRTSTUFFS_O
# multilibs.
/bin/bash ../../../gcc/libgcc/../move-if-change tmp-libgcc_tm.h libgcc_tm.h
../../../gcc/libgcc/crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or
directory
compilation terminated.
make[3]: *** [crtbegin.o] Error 1
make[3]: *** Waiting for unfinished jobs....
echo timestamp > libgcc_tm.stamp
../../../gcc/libgcc/crtstuff.c: In function ‘frame_dummy’:
../../../gcc/libgcc/crtstuff.c:387:19: warning: array subscript is above array
bounds [-Warray-bounds]
make[4]: Entering directory `/home/dave/gnu/gcc/objdir/hppa-linux-gnu/libgcc'
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
@ 2011-11-04 11:52 ` danglin at gcc dot gnu.org
2011-11-04 12:11 ` ro at gcc dot gnu.org
` (9 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-11-04 11:52 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #1 from John David Anglin <danglin at gcc dot gnu.org> 2011-11-04 11:52:19 UTC ---
Happened in stage2 with:
dave@mx3210:~/gnu/gcc/objdir/gcc$ ./xgcc -B./ -v
Reading specs from ./specs
COLLECT_GCC=./xgcc
COLLECT_LTO_WRAPPER=./lto-wrapper
Target: hppa-linux-gnu
Configured with: ../gcc/configure --with-gnu-as --with-gnu-ld --enable-shared
--enable-multiarch --with-multiarch-defaults=hppa-linux-gnu
--enable-linker-build-id --build=hppa-linux-gnu --host=hppa-linux-gnu
--target=hppa-linux-gnu --prefix=/home/dave/opt/gnu/gcc/gcc-4.7.0
--with-local-prefix=/home/dave/opt/gnu --enable-threads=posix
--enable-__cxa_atexit --disable-comdat --build=hppa-linux-gnu
--enable-clocale=gnu --enable-java-gc=boehm --without-cloog --without-ppl
--enable-languages=c,c++,objc,fortran,obj-c++,java,ada,lto
Thread model: posix
gcc version 4.7.0 20111104 (experimental) [trunk revision 180924] (GCC)
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
2011-11-04 11:52 ` [Bug other/50991] " danglin at gcc dot gnu.org
@ 2011-11-04 12:11 ` ro at gcc dot gnu.org
2011-11-04 14:24 ` bonzini at gnu dot org
` (8 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ro at gcc dot gnu.org @ 2011-11-04 12:11 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
Rainer Orth <ro at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011-11-04
CC| |bonzini at gnu dot org
Ever Confirmed|0 |1
--- Comment #2 from Rainer Orth <ro at gcc dot gnu.org> 2011-11-04 12:11:34 UTC ---
I've only once seens this in a -j32 sparc-sun-solaris2.11 build, but only
during
stage 2 for the sparcv9 multilib. It never occured during any other parallel
build, including x86_64-unknown-linux-gnu with -j96. Unfortunately, I cannot
see how this can happen: we do have this dependency in libgcc/Makefile.in:
$(libgcc-objects) $(libgcc-s-objects) $(libgcc-eh-objects) \
$(libgcov-objects) \
$(libunwind-objects) $(libunwind-s-objects) \
$(extra-parts): libgcc_tm.h
with
EXTRA_PARTS = @extra_parts@
(which expands to
EXTRA_PARTS = gmon.o crtbegin.o crtend.o crt1.o gcrt1.o crtfastmath.o
in the sparc-sun-solaris2.11 case)
extra-parts = libgcc-extra-parts
.PHONY: libgcc-extra-parts
libgcc-extra-parts: $(EXTRA_PARTS)
>From my understanding, thus should provide the necessary dependency, but for
some
reason it doesn't. Perhaps Paolo has a suggestion?
Rainer
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
2011-11-04 11:52 ` [Bug other/50991] " danglin at gcc dot gnu.org
2011-11-04 12:11 ` ro at gcc dot gnu.org
@ 2011-11-04 14:24 ` bonzini at gnu dot org
2011-11-04 14:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
` (7 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gnu dot org @ 2011-11-04 14:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #3 from Paolo Bonzini <bonzini at gnu dot org> 2011-11-04 14:23:40 UTC ---
I think the problem is that "make clean" is not removing libgcc_tm.stamp.
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
` (2 preceding siblings ...)
2011-11-04 14:24 ` bonzini at gnu dot org
@ 2011-11-04 14:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-11-04 14:33 ` bonzini at gnu dot org
` (6 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: ro at CeBiTec dot Uni-Bielefeld.DE @ 2011-11-04 14:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #4 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot Uni-Bielefeld.DE> 2011-11-04 14:25:44 UTC ---
> --- Comment #3 from Paolo Bonzini <bonzini at gnu dot org> 2011-11-04 14:23:40 UTC ---
> I think the problem is that "make clean" is not removing libgcc_tm.stamp.
But we're talking of a fresh build in an empty directory here.
Rainer
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
` (3 preceding siblings ...)
2011-11-04 14:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
@ 2011-11-04 14:33 ` bonzini at gnu dot org
2011-11-04 15:25 ` dave.anglin at bell dot net
` (5 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gnu dot org @ 2011-11-04 14:33 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #5 from Paolo Bonzini <bonzini at gnu dot org> 2011-11-04 14:32:30 UTC ---
John didn't say that but you're right, because otherwise the move-if-change
would not have happened. John, can you attach libgcc/Makefile?
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
` (4 preceding siblings ...)
2011-11-04 14:33 ` bonzini at gnu dot org
@ 2011-11-04 15:25 ` dave.anglin at bell dot net
2011-11-04 22:30 ` dave.anglin at bell dot net
` (4 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dave.anglin at bell dot net @ 2011-11-04 15:25 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #6 from dave.anglin at bell dot net 2011-11-04 15:24:50 UTC ---
On 11/4/2011 10:32 AM, bonzini at gnu dot org wrote:
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
>
> --- Comment #5 from Paolo Bonzini<bonzini at gnu dot org> 2011-11-04 14:32:30 UTC ---
> John didn't say that but you're right, because otherwise the move-if-change
> would not have happened. John, can you attach libgcc/Makefile?
>
Will send it when I get home tonight. As I said, this occurred in
stage2. Tend to think this has to do
with the move-if-change operation replacing the file.
Dave
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
` (5 preceding siblings ...)
2011-11-04 15:25 ` dave.anglin at bell dot net
@ 2011-11-04 22:30 ` dave.anglin at bell dot net
2011-11-05 20:27 ` danglin at gcc dot gnu.org
` (3 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: dave.anglin at bell dot net @ 2011-11-04 22:30 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #7 from dave.anglin at bell dot net 2011-11-04 22:30:12 UTC ---
On 4-Nov-11, at 10:32 AM, bonzini at gnu dot org wrote:
> John didn't say that but you're right, because otherwise the move-if-
> change
> would not have happened. John, can you attach libgcc/Makefile?
Attached.
Dave
--
John David Anglin dave.anglin@bell.net
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
` (6 preceding siblings ...)
2011-11-04 22:30 ` dave.anglin at bell dot net
@ 2011-11-05 20:27 ` danglin at gcc dot gnu.org
2011-11-06 12:03 ` bonzini at gnu dot org
` (2 subsequent siblings)
10 siblings, 0 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-11-05 20:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #8 from John David Anglin <danglin at gcc dot gnu.org> 2011-11-05 20:27:32 UTC ---
(In reply to comment #2)
> I've only once seens this in a -j32 sparc-sun-solaris2.11 build, but only
> during
> stage 2 for the sparcv9 multilib. It never occured during any other parallel
> build, including x86_64-unknown-linux-gnu with -j96. Unfortunately, I cannot
> see how this can happen: we do have this dependency in libgcc/Makefile.in:
>
> $(libgcc-objects) $(libgcc-s-objects) $(libgcc-eh-objects) \
> $(libgcov-objects) \
> $(libunwind-objects) $(libunwind-s-objects) \
> $(extra-parts): libgcc_tm.h
Shouldn't the last line be:
$(EXTRA_PARTS): libgcc_tm.h
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
` (7 preceding siblings ...)
2011-11-05 20:27 ` danglin at gcc dot gnu.org
@ 2011-11-06 12:03 ` bonzini at gnu dot org
2011-11-06 19:24 ` danglin at gcc dot gnu.org
2011-11-06 19:27 ` danglin at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: bonzini at gnu dot org @ 2011-11-06 12:03 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #9 from Paolo Bonzini <bonzini at gnu dot org> 2011-11-06 12:02:43 UTC ---
Yes, please commit the fix!
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
` (8 preceding siblings ...)
2011-11-06 12:03 ` bonzini at gnu dot org
@ 2011-11-06 19:24 ` danglin at gcc dot gnu.org
2011-11-06 19:27 ` danglin at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-11-06 19:24 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
--- Comment #10 from John David Anglin <danglin at gcc dot gnu.org> 2011-11-06 19:24:22 UTC ---
Author: danglin
Date: Sun Nov 6 19:24:19 2011
New Revision: 181039
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=181039
Log:
PR other/50991
* Makefile.in: Make EXTRA_PARTS depend on libgcc_tm.h instead of
extra-parts.
Modified:
trunk/libgcc/ChangeLog
trunk/libgcc/Makefile.in
^ permalink raw reply [flat|nested] 12+ messages in thread
* [Bug other/50991] crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
` (9 preceding siblings ...)
2011-11-06 19:24 ` danglin at gcc dot gnu.org
@ 2011-11-06 19:27 ` danglin at gcc dot gnu.org
10 siblings, 0 replies; 12+ messages in thread
From: danglin at gcc dot gnu.org @ 2011-11-06 19:27 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50991
John David Anglin <danglin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
--- Comment #11 from John David Anglin <danglin at gcc dot gnu.org> 2011-11-06 19:25:53 UTC ---
Fixed.
^ permalink raw reply [flat|nested] 12+ messages in thread
end of thread, other threads:[~2011-11-06 19:27 UTC | newest]
Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-11-04 11:49 [Bug other/50991] New: crtstuff.c:65:23: fatal error: libgcc_tm.h: No such file or directory danglin at gcc dot gnu.org
2011-11-04 11:52 ` [Bug other/50991] " danglin at gcc dot gnu.org
2011-11-04 12:11 ` ro at gcc dot gnu.org
2011-11-04 14:24 ` bonzini at gnu dot org
2011-11-04 14:27 ` ro at CeBiTec dot Uni-Bielefeld.DE
2011-11-04 14:33 ` bonzini at gnu dot org
2011-11-04 15:25 ` dave.anglin at bell dot net
2011-11-04 22:30 ` dave.anglin at bell dot net
2011-11-05 20:27 ` danglin at gcc dot gnu.org
2011-11-06 12:03 ` bonzini at gnu dot org
2011-11-06 19:24 ` danglin at gcc dot gnu.org
2011-11-06 19:27 ` danglin 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).