public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* FW: error making gcc on HP-UX 11.00
@ 2001-08-01  7:10 Lee, Michael, Superior Court
  2001-08-01 10:46 ` Alexandre Oliva
  0 siblings, 1 reply; 5+ messages in thread
From: Lee, Michael, Superior Court @ 2001-08-01  7:10 UTC (permalink / raw)
  To: 'gcc-help@gcc.gnu.org'

Ok.  I followed the steps 1 - 7 below and everything seemed to work OK.
Then I did a "make bootstrap-lean" to make gcc and wound up with the
following errors:

make[1]: *** [compare-lean] Error 1
make[1]: Leaving directory `/forte/ffx/gccObject/gcc'
make: *** [bootstrap-lean] Error 2

Thanks for your help.

-----Original Message-----
From: ERICSON,MATHEW (A-Australia,ex1)
[ mailto:mathew_ericson@agilent.com ]
Sent: Tuesday, July 31, 2001 3:19 PM
To: 'Lee, Michael, Superior Court'; 'gcc-help@gcc.gnu.org'
Subject: RE: error making gcc on HP-UX 11.00


Michael,

I had this error when I was not using GNU make 3.79.1.
Essentially if you are building with the free compiler that comes with HP-UX
I find this is the best case

1. export PATH=/usr/bin (to only pick up /usr/bin/cc)
2. build make-3.79.1
3. export PATH=/path/to/GNUmake:/usr/bin (so you now use GNU make)
4. build binutils-2.11.2
5. export PATH=/path/to/binutils:/path/to/GNUmake:/usr/bin (so you use the
GNU as)
6. cd objdir
7. configure --prefix=/opt/gcc-3.0 ..etc...etc.

mathew


-----Original Message-----
From: Lee, Michael, Superior Court [ mailto:mlee2@co.alameda.ca.us ]
Sent: Wednesday, August 01, 2001 2:39 AM
To: 'gcc-help@gcc.gnu.org'
Subject: error making gcc on HP-UX 11.00


I got the following error part way through running make bootstrap-lean:

(Bundled) cc: warning 480: The -g option is available only with the C/ANSI C
pro
duct; ignored.
/usr/ccs/bin/ld: (Warning) At least one PA 2.0 object file (genflags.o) was
dete
cted. The linked output may not run on a PA 1.x system.
        ./genflags /forte/ffx/gcc-3.0/gcc/config/pa/pa.md > tmp-flags.h
        /bin/sh /forte/ffx/gcc-3.0/gcc/move-if-change tmp-flags.h
insn-flags.h
        echo timestamp > s-flags
        (cd /forte/ffx/gcc-3.0/gcc && false  -o c-p$$.c c-parse.y && \
        mv -f c-p$$.c c-parse.c)
*** Error exit code 1
 
Stop.
*** Error exit code 1
 
Stop.
*** Error exit code 1
 
Stop.


Does anyone one know what this means, or where I can look for a more
descriptive message?

Thanks.

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

* Re: FW: error making gcc on HP-UX 11.00
  2001-08-01  7:10 FW: error making gcc on HP-UX 11.00 Lee, Michael, Superior Court
@ 2001-08-01 10:46 ` Alexandre Oliva
  0 siblings, 0 replies; 5+ messages in thread
From: Alexandre Oliva @ 2001-08-01 10:46 UTC (permalink / raw)
  To: Lee, Michael, Superior Court; +Cc: 'gcc-help@gcc.gnu.org'

On Aug  1, 2001, "Lee, Michael, Superior Court" <mlee2@co.alameda.ca.us> wrote:

> Ok.  I followed the steps 1 - 7 below and everything seemed to work OK.
> Then I did a "make bootstrap-lean" to make gcc and wound up with the
> following errors:

> make[1]: *** [compare-lean] Error 1
> make[1]: Leaving directory `/forte/ffx/gccObject/gcc'
> make: *** [bootstrap-lean] Error 2

The actual error message is in the few lines just before the ones you
posted.  Without it, there's little we can do.  But it appears that
the comparison of two stages failed.  Perhaps you should make clean
and start over?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* Re: FW: error making gcc on HP-UX 11.00
  2001-08-03 12:25 ` Alexandre Oliva
@ 2001-08-03 12:53   ` law
  0 siblings, 0 replies; 5+ messages in thread
From: law @ 2001-08-03 12:53 UTC (permalink / raw)
  To: Alexandre Oliva
  Cc: Lee, Michael, Superior Court, 'gcc-help@gcc.gnu.org'

  In message < ork80lymig.fsf@feijoada.lsd.ic.unicamp.br >you write:
  > You may want to try `make bootstrap4' in the same build tree and see
  > if the compiler stabilizes.  OTOH, I seem to recall someone mentioning
  > that the HP-UX linker would add timestamps to object files somewhere
  > `make compare' wouldn't ignore them, so you'd run into this issue, and
  > it would be safe to ignore it.  So, if `make bootstrap4' fails
  > similarly, just do `make all' afterwards, and then `make install'.
It's the HP assembler that embeds timestamps.  Unfortunately the timestamps
are not in a location easily removed for a comparison test.

The HP assembler is insanely lame anyway, use gas instead.
jeff

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

* Re: FW: error making gcc on HP-UX 11.00
  2001-08-03 10:05 Lee, Michael, Superior Court
@ 2001-08-03 12:25 ` Alexandre Oliva
  2001-08-03 12:53   ` law
  0 siblings, 1 reply; 5+ messages in thread
From: Alexandre Oliva @ 2001-08-03 12:25 UTC (permalink / raw)
  To: Lee, Michael, Superior Court; +Cc: 'gcc-help@gcc.gnu.org'

On Aug  3, 2001, "Lee, Michael, Superior Court" <mlee2@co.alameda.ca.us> wrote:

> I did a make clean and started all over with the same result.  Here is the
> last several pages of messages.

You may want to try `make bootstrap4' in the same build tree and see
if the compiler stabilizes.  OTOH, I seem to recall someone mentioning
that the HP-UX linker would add timestamps to object files somewhere
`make compare' wouldn't ignore them, so you'd run into this issue, and
it would be safe to ignore it.  So, if `make bootstrap4' fails
similarly, just do `make all' afterwards, and then `make install'.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

* RE: FW: error making gcc on HP-UX 11.00
@ 2001-08-03 10:05 Lee, Michael, Superior Court
  2001-08-03 12:25 ` Alexandre Oliva
  0 siblings, 1 reply; 5+ messages in thread
From: Lee, Michael, Superior Court @ 2001-08-03 10:05 UTC (permalink / raw)
  To: 'Alexandre Oliva'; +Cc: 'gcc-help@gcc.gnu.org'

I did a make clean and started all over with the same result.  Here is the
last several pages of messages.

Thanks.

Bootstrap complete - make "quickstrap" to redo last build,
or "cleanstrap" to redo the bootstrap from scratch.
make[1]: Leaving directory `/forte/ffx/gccObject/gcc'
Comparing stage2 and stage3 of the compiler
make[1]: Entering directory `/forte/ffx/gccObject/gcc'
rm -f .bad_compare
case "compare-lean" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
compa
re-lean | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for file in *.o; do \
  tail +16c ./$file > tmp-foo1; \
  tail +16c stage$stage/$file > tmp-foo2 \
    && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >>
.bad_com
pare) || true; \
done
case "compare-lean" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
compa
re-lean | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
for dir in tmp-foo intl cp f java objc; do \
  if [ "`echo $dir/*.o`" != "$dir/*.o" ] ; then \
    for file in $dir/*.o; do \
      tail +16c ./$file > tmp-foo1; \
      tail +16c stage$stage/$file > tmp-foo2 \
        && (cmp tmp-foo1 tmp-foo2 > /dev/null 2>&1 || echo $file differs >>
.bad
_compare) || true; \
    done; \
  else true; fi; \
done
rm -f tmp-foo*
case "compare-lean" in compare | compare-lean ) stage=2 ;; * ) stage=`echo
compa
re-lean | sed -e 's,^compare\([0-9][0-9]*\).*,\1,'` ;; esac; \
if [ -f .bad_compare ]; then \
  echo "Bootstrap comparison failure!"; \
  cat .bad_compare; \
  exit 1; \
else \
  case "compare-lean" in \
    *-lean ) rm -rf stage$stage ;; \
    *) ;; \
  esac; true; \
fi
Bootstrap comparison failure!
alias.o differs
alloca.o differs
bb-reorder.o differs
bitmap.o differs
builtins.o differs
c-aux-info.o differs
c-common.o differs
c-convert.o differs
c-decl.o differs
c-dump.o differs
c-errors.o differs
c-format.o differs
c-lang.o differs
c-lex.o differs
c-parse.o differs
c-pragma.o differs
c-semantics.o differs
c-typeck.o differs
caller-save.o differs
calls.o differs
collect2.o differs
combine.o differs
conflict.o differs
convert.o differs
cppdefault.o differs
cpperror.o differs
cppexp.o differs
cppfiles.o differs
cpphash.o differs
cppinit.o differs
cpplex.o differs
cpplib.o differs
cppmacro.o differs
cppmain.o differs
cppspec.o differs
cse.o differs
cxxmain.o differs
dbxout.o differs
dce.o differs
dependence.o differs
diagnostic.o differs
doloop.o differs
dominance.o differs
dwarf2asm.o differs
dwarf2out.o differs
dwarfout.o differs
emit-rtl.o differs
errors.o differs
except.o differs
explow.o differs
expmed.o differs
expr.o differs
final.o differs
fix-header.o differs
flow.o differs
fold-const.o differs
function.o differs
g++spec.o differs
g77spec.o differs
g77version.o differs
gcc.o differs
gccspec.o differs
gcov.o differs
gcse.o differs
gen-protos.o differs
genattr.o differs
genattrtab.o differs
gencheck.o differs
gencodes.o differs
genconfig.o differs
genemit.o differs
genextract.o differs
genflags.o differs
gengenrtl.o differs
genopinit.o differs
genoutput.o differs
genpeep.o differs
genrecog.o differs
genrtl.o differs
gensupport.o differs
ggc-common.o differs
ggc-none.o differs
ggc-page.o differs
global.o differs
graph.o differs
haifa-sched.o differs
hash.o differs
hashtab.o differs
ifcvt.o differs
insn-attrtab.o differs
insn-emit.o differs
insn-extract.o differs
insn-opinit.o differs
insn-output.o differs
insn-peep.o differs
insn-recog.o differs
integrate.o differs
intl.o differs
jump.o differs
jvspec.o differs
lcm.o differs
lists.o differs
local-alloc.o differs
loop.o differs
mbchar.o differs
mkdeps.o differs
objc-act.o differs
objc-parse.o differs
obstack.o differs
optabs.o differs
pa.o differs
params.o differs
predict.o differs
prefix.o differs
print-rtl.o differs
print-tree.o differs
profile.o differs
real.o differs
recog.o differs
reg-stack.o differs
regclass.o differs
regmove.o differs
regrename.o differs
reload.o differs
reload1.o differs
reorg.o differs
resource.o differs
rtl.o differs
rtlanal.o differs
safe-ctype.o differs
sbitmap.o differs
scan-decls.o differs
scan.o differs
sched-deps.o differs
sched-ebb.o differs
sched-rgn.o differs
sched-vis.o differs
sdbout.o differs
sibcall.o differs
simplify-rtx.o differs
splay-tree.o differs
ssa.o differs
stmt.o differs
stor-layout.o differs
stringpool.o differs
timevar.o differs
tlink.o differs
toplev.o differs
tradcif.o differs
tradcpp.o differs
tree.o differs
underscore.o differs
unroll.o differs
varasm.o differs
varray.o differs
version.o differs
xcoffout.o differs
intl/bindtextdom.o differs
intl/dcgettext.o differs
intl/dgettext.o differs
intl/explodename.o differs
intl/finddomain.o differs
intl/gettext.o differs
intl/intl-compat.o differs
intl/l10nflist.o differs
intl/loadmsgcat.o differs
intl/localealias.o differs
intl/textdomain.o differs
cp/call.o differs
cp/class.o differs
cp/cvt.o differs
cp/decl.o differs
cp/decl2.o differs
cp/dump.o differs
cp/errfn.o differs
cp/error.o differs
cp/except.o differs
cp/expr.o differs
cp/friend.o differs
cp/init.o differs
cp/lex.o differs
cp/mangle.o differs
cp/method.o differs
cp/optimize.o differs
cp/parse.o differs
cp/pt.o differs
cp/ptree.o differs
cp/repo.o differs
cp/rtti.o differs
cp/search.o differs
cp/semantics.o differs
cp/spew.o differs
cp/tree.o differs
cp/typeck.o differs
cp/typeck2.o differs
cp/xref.o differs
f/bad.o differs
f/bit.o differs
f/bld.o differs
f/com.o differs
f/data.o differs
f/equiv.o differs
f/expr.o differs
f/fini.o differs
f/global.o differs
f/implic.o differs
f/info.o differs
f/intrin.o differs
f/lab.o differs
f/lex.o differs
f/malloc.o differs
f/name.o differs
f/parse.o differs
f/proj-h.o differs
f/proj.o differs
f/src.o differs
f/st.o differs
f/sta.o differs
f/stb.o differs
f/stc.o differs
f/std.o differs
f/ste.o differs
f/storag.o differs
f/stp.o differs
f/str.o differs
f/sts.o differs
f/stt.o differs
f/stu.o differs
f/stv.o differs
f/stw.o differs
f/symbol.o differs
f/target.o differs
f/top.o differs
f/type.o differs
f/version.o differs
f/where.o differs
java/boehm.o differs
java/buffer.o differs
java/check-init.o differs
java/class.o differs
java/constants.o differs
java/decl.o differs
java/except.o differs
java/expr.o differs
java/gjavah.o differs
java/jcf-depend.o differs
java/jcf-dump.o differs
java/jcf-io.o differs
java/jcf-parse.o differs
java/jcf-path.o differs
java/jcf-write.o differs
java/jv-scan.o differs
java/jvgenmain.o differs
java/lang.o differs
java/mangle.o differs
java/mangle_name.o differs
java/parse-scan.o differs
java/parse.o differs
java/typeck.o differs
java/verify.o differs
java/xref.o differs
java/zextract.o differs
make[1]: *** [compare-lean] Error 1
make[1]: Leaving directory `/forte/ffx/gccObject/gcc'
make: *** [bootstrap-lean] Error 2
 


-----Original Message-----
From: Alexandre Oliva [ mailto:aoliva@redhat.com ]
Sent: Wednesday, August 01, 2001 10:47 AM
To: Lee, Michael, Superior Court
Cc: 'gcc-help@gcc.gnu.org'
Subject: Re: FW: error making gcc on HP-UX 11.00


On Aug  1, 2001, "Lee, Michael, Superior Court" <mlee2@co.alameda.ca.us>
wrote:

> Ok.  I followed the steps 1 - 7 below and everything seemed to work OK.
> Then I did a "make bootstrap-lean" to make gcc and wound up with the
> following errors:

> make[1]: *** [compare-lean] Error 1
> make[1]: Leaving directory `/forte/ffx/gccObject/gcc'
> make: *** [bootstrap-lean] Error 2

The actual error message is in the few lines just before the ones you
posted.  Without it, there's little we can do.  But it appears that
the comparison of two stages failed.  Perhaps you should make clean
and start over?

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me

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

end of thread, other threads:[~2001-08-03 12:53 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-01  7:10 FW: error making gcc on HP-UX 11.00 Lee, Michael, Superior Court
2001-08-01 10:46 ` Alexandre Oliva
2001-08-03 10:05 Lee, Michael, Superior Court
2001-08-03 12:25 ` Alexandre Oliva
2001-08-03 12:53   ` law

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).