Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bootstrap procedure broken on release310 branch #4259

Closed
vicuna opened this issue Apr 12, 2007 · 2 comments
Closed

Bootstrap procedure broken on release310 branch #4259

vicuna opened this issue Apr 12, 2007 · 2 comments
Labels

Comments

@vicuna
Copy link

vicuna commented Apr 12, 2007

Original bug ID: 4259
Reporter: jmeber
Assigned to: ertai
Status: closed (set by @xavierleroy on 2010-04-29T12:18:06Z)
Resolution: fixed
Priority: normal
Severity: minor
Version: 3.10+dev
Fixed in version: 3.10+dev
Category: ~DO NOT USE (was: OCaml general)
Monitored by: @jmeber

Bug description

make -f Makefile.nt world bootstrap

ends with

../byterun/ocamlrun ../ocamlc -warn-error A -nostdlib ./Compflags stdLabels.cmo -c stdLabels.ml
../byterun/ocamlrun ../ocamlc -a -o stdlib.cma pervasives.cmo array.cmo list.cmo char.cmo string.cmo sys.cmo hashtbl.cmo sort.cmo marshal.cmo obj.cmo int32
.cmo int64.cmo nativeint.cmo lexing.cmo parsing.cmo set.cmo map.cmo stack.cmo queue.cmo stream.cmo buffer.cmo printf.cmo format.cmo scanf.cmo arg.cmo print
exc.cmo gc.cmo digest.cmo random.cmo callback.cmo camlinternalOO.cmo oo.cmo camlinternalMod.cmo genlex.cmo weak.cmo lazy.cmo filename.cmo complex.cmo array
Labels.cmo listLabels.cmo stringLabels.cmo moreLabels.cmo stdLabels.cmo
../byterun/ocamlrun ../ocamlc -warn-error A -nostdlib ./Compflags std_exit.cmo -c std_exit.ml
cl /nologo -D_CRT_SECURE_NO_DEPRECATE /Fetmpheader.exe -I../byterun /Ox /MT /MT headernt.c && (test ! -f tmpheader.exe.manifest || mt -nologo -outputresou
rce:tmpheader.exe -manifest tmpheader.exe.manifest && rm -f tmpheader.exe.manifest)
headernt.c
rm -f camlheader.exe
mv tmpheader.exe camlheader
cp camlheader camlheader_ur
make[2]: Warning: File camlheader_ur' has modification time 0.0005 s in the future make[2]: warning: Clock skew detected. Your build may be incomplete. make[2]: Leaving directory /home/Jean-Marc/ocaml310/vc6_ocaml/stdlib'
make[1]: Leaving directory /home/Jean-Marc/ocaml310/vc6_ocaml' make -f Makefile.nt promote make[1]: Entering directory /home/Jean-Marc/ocaml310/vc6_ocaml'
cp ocamlc boot/ocamlc
cp lex/ocamllex boot/ocamllex
cp yacc/ocamlyacc.exe boot/ocamlyacc.exe
cp tools/ocamldep boot/ocamldep
cp: cannot stat tools/ocamldep': No such file or directory make[1]: *** [promote-cross] Error 1 make[1]: Leaving directory /home/Jean-Marc/ocaml310/vc6_ocaml'
make: *** [bootstrap] Error 2

I suspect that this is related to the (very) recently introduced following modification:

--- ocaml/Makefile.nt 2007/03/05 09:18:22 1.102.4.1
+++ ocaml/Makefile.nt 2007/04/12 13:21:36 1.102.4.2
@@ -10,7 +10,7 @@

#########################################################################

-# $Id: Makefile.nt,v 1.102.4.1 2007/03/05 09:18:22 pouillar Exp $
+# $Id: Makefile.nt,v 1.102.4.2 2007/04/12 13:21:36 pouillar Exp $

The main Makefile

@@ -175,6 +175,7 @@ promote-cross:
cp ocamlc boot/ocamlc
cp lex/ocamllex boot/ocamllex
cp yacc/ocamlyacc.exe boot/ocamlyacc.exe

  • cp tools/ocamldep boot/ocamldep
    cd stdlib ; cp $(LIBFILES) ../boot

Promote the newly compiled system to the rank of bootstrap compiler

@@ -192,6 +193,7 @@ restore:
compare:
- cmp -i 4096 boot/ocamlc ocamlc
- cmp -i 4096 boot/ocamllex lex/ocamllex

    • cmp -i 4096 boot/ocamldep tools/ocamldep

Remove old bootstrap compilers

cleanboot:

@vicuna
Copy link
Author

vicuna commented Apr 25, 2007

Comment author: ertai

I think that's ok now, can you confirm that?

@vicuna
Copy link
Author

vicuna commented Apr 25, 2007

Comment author: jmeber

Yes, I confirm that this seems ok now.
I just (2007-04-25, 11pm) checked out a new release310 version and could build and bootstrap it nicely (windows XP, msvc vers 6 toolchain).
Thanks,
jm

@vicuna vicuna closed this as completed Apr 29, 2010
@vicuna vicuna added the bug label Mar 19, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant