public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/40250]  New: make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o
@ 2009-05-26  3:27 Jay dot St dot Pierre at Colorado dot EDU
  2009-05-26  5:12 ` [Bug bootstrap/40250] " Jay dot St dot Pierre at Colorado dot EDU
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Jay dot St dot Pierre at Colorado dot EDU @ 2009-05-26  3:27 UTC (permalink / raw)
  To: gcc-bugs

When I try to build gcc-4.4.0 on the IRIX64 platform, the build fails with:

ar rc libbackend.a insn-attrtab.o insn-automata.o insn-emit.o insn-extract.o
insn-modes.o insn-opinit.o insn-output.o insn-peep.o insn-preds.o insn-recog.o
ggc-page.o alias.o alloc-pool.o auto-inc-dec.o bb-reorder.o bitmap.o bt-load.o
builtins.o caller-save.o calls.o cfg.o cfganal.o cfgbuild.o cfgcleanup.o
cfgexpand.o cfghooks.o cfglayout.o cfgloop.o cfgloopanal.o cfgloopmanip.o
cfgrtl.o combine.o combine-stack-adj.o convert.o coverage.o cse.o cselib.o
dbxout.o dbgcnt.o dce.o ddg.o debug.o df-byte-scan.o df-core.o df-problems.o
df-scan.o dfp.o diagnostic.o dojump.o dominance.o domwalk.o double-int.o dse.o
dwarf2asm.o dwarf2out.o ebitmap.o emit-rtl.o et-forest.o except.o explow.o
expmed.o expr.o final.o fixed-value.o fold-const.o function.o fwprop.o gcse.o
genrtl.o ggc-common.o gimple.o gimple-iterator.o gimple-low.o
gimple-pretty-print.o gimplify.o graph.o graphds.o graphite.o gtype-desc.o
haifa-sched.o hooks.o ifcvt.o init-regs.o integrate.o intl.o ira.o ira-build.o
ira-costs.o ira-conflicts.o ira-color.o ira-emit.o ira-lives.o jump.o
lambda-code.o lambda-mat.o lambda-trans.o langhooks.o lcm.o lists.o
loop-doloop.o loop-init.o loop-invariant.o loop-iv.o loop-unroll.o
loop-unswitch.o lower-subreg.o mcf.o mode-switching.o modulo-sched.o omega.o
omp-low.o optabs.o options.o opts-common.o opts.o params.o passes.o
pointer-set.o postreload-gcse.o postreload.o predict.o pretty-print.o
print-rtl.o print-tree.o profile.o real.o recog.o reg-stack.o reginfo.o
regmove.o regrename.o regstat.o reload.o reload1.o reorg.o resource.o
rtl-error.o rtl-factoring.o rtl.o rtlanal.o rtlhooks.o sbitmap.o sched-deps.o
sched-ebb.o sched-rgn.o sched-vis.o sdbout.o see.o sel-sched-ir.o
sel-sched-dump.o sel-sched.o simplify-rtx.o sparseset.o sreal.o stack-ptr-mod.o
statistics.o stmt.o stor-layout.o stringpool.o targhooks.o timevar.o toplev.o
tracer.o tree-affine.o tree-call-cdce.o tree-cfg.o tree-cfgcleanup.o
tree-chrec.o tree-complex.o tree-data-ref.o tree-dfa.o tree-dump.o tree-eh.o
tree-if-conv.o tree-into-ssa.o tree-iterator.o tree-loop-distribution.o
tree-loop-linear.o tree-nested.o tree-nrv.o tree-object-size.o tree-optimize.o
tree-outof-ssa.o tree-parloops.o tree-phinodes.o tree-predcom.o
tree-pretty-print.o tree-profile.o tree-scalar-evolution.o tree-sra.o
tree-switch-conversion.o tree-ssa-address.o tree-ssa-alias.o tree-ssa-ccp.o
tree-ssa-coalesce.o tree-ssa-copy.o tree-ssa-copyrename.o tree-ssa-dce.o
tree-ssa-dom.o tree-ssa-dse.o tree-ssa-forwprop.o tree-ssa-ifcombine.o
tree-ssa-live.o tree-ssa-loop-ch.o tree-ssa-loop-im.o tree-ssa-loop-ivcanon.o
tree-ssa-loop-ivopts.o tree-ssa-loop-manip.o tree-ssa-loop-niter.o
tree-ssa-loop-prefetch.o tree-ssa-loop-unswitch.o tree-ssa-loop.o
tree-ssa-math-opts.o tree-ssa-operands.o tree-ssa-phiopt.o tree-ssa-phiprop.o
tree-ssa-pre.o tree-ssa-propagate.o tree-ssa-reassoc.o tree-ssa-sccvn.o
tree-ssa-sink.o tree-ssa-structalias.o tree-ssa-ter.o tree-ssa-threadedge.o
tree-ssa-threadupdate.o tree-ssa-uncprop.o tree-ssa.o tree-ssanames.o
tree-stdarg.o tree-tailcall.o tree-vect-analyze.o tree-vect-generic.o
tree-vect-patterns.o tree-vect-transform.o tree-vectorizer.o tree-vrp.o tree.o
value-prof.o var-tracking.o varasm.o varray.o vec.o version.o vmsdbgout.o web.o
xcoffout.o mips.o  host-default.o cgraph.o cgraphbuild.o cgraphunit.o
cppdefault.o incpath.o ipa-cp.o ipa-inline.o ipa-prop.o ipa-pure-const.o
ipa-reference.o ipa-struct-reorg.o ipa-type-escape.o ipa-utils.o ipa.o
matrix-reorg.o prefix.o tree-inline.o tree-nomudflap.o varpool.o
ar: libbackend.a: Error reading tree-phinodes.o: File truncated
make[3]: *** [libbackend.a] Error 1
make[3]: Leaving directory
`/appl/local_sde_dev/src/gcc/gcc-4.4.0/mips-IRIX64-6.5/gcc-4.4.0-obj/gcc'
make[2]: *** [all-stage3-gcc] Error 2
make[2]: Leaving directory
`/appl/local_sde_dev/src/gcc/gcc-4.4.0/mips-IRIX64-6.5/gcc-4.4.0-obj'
make[1]: *** [stage3-bubble] Error 2
make[1]: Leaving directory
`/appl/local_sde_dev/src/gcc/gcc-4.4.0/mips-IRIX64-6.5/gcc-4.4.0-obj'
make: *** [bootstrap] Error 2

$ ar --version
GNU ar (GNU Binutils) 2.18
Copyright 2007 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) any later version.
This program has absolutely no warranty.

Repeated attempts kept failing at the same point, although I get no errors when
tree-phinodes.o is built.  In most cases, it failed at stage2, but in the last
case it failed at stage3.  The stage2 and stage3 versions of tree-phinodes.o is
a lot smaller than the stage1 version:

$ find . -name tree-phinodes.o | xargs ls -l
-rw-rw-r-- 1 stpierre sdedev  84400 May 25 15:09 ./gcc/tree-phinodes.o
-rw-rw-r-- 1 stpierre sdedev  84400 May 25 13:12 ./prev-gcc/tree-phinodes.o
-rw-rw-r-- 1 stpierre sdedev 725424 May 25 10:42 ./stage1-gcc/tree-phinodes.o

I'm configuring gcc this way:

../gcc-4.4.0/configure --prefix=/usr/local/sde/gcc-4.4.0 --disable-nls
--enable-shared --enable-static --with-ld=/usr/bin/ld --with-gmp=/usr/local/sde
--with-mpfr=/usr/local/sde

I'm using gcc-4.3.2 to compile.

-Jay


-- 
           Summary: make bootstrap fails on IRIX64: ar: libbackend.a: Error
                    reading tree-phinodes.o
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: Jay dot St dot Pierre at Colorado dot EDU
 GCC build triplet: mips-sgi-irix6.5
  GCC host triplet: mips-sgi-irix6.5
GCC target triplet: mips-sgi-irix6.5


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/40250] make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o
  2009-05-26  3:27 [Bug bootstrap/40250] New: make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o Jay dot St dot Pierre at Colorado dot EDU
@ 2009-05-26  5:12 ` Jay dot St dot Pierre at Colorado dot EDU
  2009-05-29  2:47 ` pinskia at gcc dot gnu dot org
  2009-05-30  3:08 ` Jay dot St dot Pierre at Colorado dot EDU
  2 siblings, 0 replies; 5+ messages in thread
From: Jay dot St dot Pierre at Colorado dot EDU @ 2009-05-26  5:12 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from Jay dot St dot Pierre at Colorado dot EDU  2009-05-26 05:11 -------
Created an attachment (id=17915)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17915&action=view)
config.log


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/40250] make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o
  2009-05-26  3:27 [Bug bootstrap/40250] New: make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o Jay dot St dot Pierre at Colorado dot EDU
  2009-05-26  5:12 ` [Bug bootstrap/40250] " Jay dot St dot Pierre at Colorado dot EDU
@ 2009-05-29  2:47 ` pinskia at gcc dot gnu dot org
  2009-05-30  3:08 ` Jay dot St dot Pierre at Colorado dot EDU
  2 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2009-05-29  2:47 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from pinskia at gcc dot gnu dot org  2009-05-29 02:46 -------
>The stage2 and stage3 versions of tree-phinodes.o is
a lot smaller than the stage1 version:

It should be.

What happens if you replace tree-phinodes.o from stage2 into stage3 does that
help?


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|major                       |normal


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/40250] make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o
  2009-05-26  3:27 [Bug bootstrap/40250] New: make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o Jay dot St dot Pierre at Colorado dot EDU
  2009-05-26  5:12 ` [Bug bootstrap/40250] " Jay dot St dot Pierre at Colorado dot EDU
  2009-05-29  2:47 ` pinskia at gcc dot gnu dot org
@ 2009-05-30  3:08 ` Jay dot St dot Pierre at Colorado dot EDU
  2 siblings, 0 replies; 5+ messages in thread
From: Jay dot St dot Pierre at Colorado dot EDU @ 2009-05-30  3:08 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from Jay dot St dot Pierre at Colorado dot EDU  2009-05-30 03:08 -------
So first I checked to see if the files were actually different:

$ cmp ./gcc/tree-phinodes.o ./prev-gcc/tree-phinodes.o
$ find . -name tree-phinodes.o | xargs md5sum
3d613b2eb79551b12cd458e212a5fdb5  ./gcc/tree-phinodes.o
3d613b2eb79551b12cd458e212a5fdb5  ./prev-gcc/tree-phinodes.o
ba6b7f241d8436e5685a4ecdf4bcafdb  ./stage1-gcc/tree-phinodes.o

Seeing as they are binary equivalents, I didn't think it would make a
difference.  I tried restarting the "make bootstrap" without changing anything
to make sure I would get the same results as the other day.  Again, the build
failed in the same spot.

Then I did the following:

$ mv ./gcc/tree-phinodes.o ./gcc/tree-phinodes.o.bak
$ cp ./prev-gcc/tree-phinodes.o ./gcc/tree-phinodes.o

And did another "make bootstrap", and the build is progressing!

I am completely confused.

-Jay


-- 


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


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug bootstrap/40250] make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o
       [not found] <bug-40250-4@http.gcc.gnu.org/bugzilla/>
@ 2011-07-19 14:50 ` ro at gcc dot gnu.org
  0 siblings, 0 replies; 5+ messages in thread
From: ro at gcc dot gnu.org @ 2011-07-19 14:50 UTC (permalink / raw)
  To: gcc-bugs

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

Rainer Orth <ro at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
                 CC|                            |ro at gcc dot gnu.org
         Resolution|                            |WORKSFORME

--- Comment #4 from Rainer Orth <ro at gcc dot gnu.org> 2011-07-19 14:50:14 UTC ---
I haven't ever seen this.  Might be a case of a full disk.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2011-07-19 14:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-26  3:27 [Bug bootstrap/40250] New: make bootstrap fails on IRIX64: ar: libbackend.a: Error reading tree-phinodes.o Jay dot St dot Pierre at Colorado dot EDU
2009-05-26  5:12 ` [Bug bootstrap/40250] " Jay dot St dot Pierre at Colorado dot EDU
2009-05-29  2:47 ` pinskia at gcc dot gnu dot org
2009-05-30  3:08 ` Jay dot St dot Pierre at Colorado dot EDU
     [not found] <bug-40250-4@http.gcc.gnu.org/bugzilla/>
2011-07-19 14:50 ` ro 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).