caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Gabriel Scherer <gabriel.scherer@gmail.com>
To: oliver <oliver@first.in-berlin.de>
Cc: caml-list@inria.fr
Subject: Re: [Caml-list] Some warnings, when building opt.opt from 4.00.1
Date: Mon, 18 Feb 2013 11:39:13 +0100	[thread overview]
Message-ID: <CAPFanBHBvaCgpk7TykJph+zg-13SgR8Wiy-0bNQ=HSsTQHNnSQ@mail.gmail.com> (raw)
In-Reply-To: <20130218065509.GA15296@siouxsie>

This is a known build issue that appears since the addition of a
warning when the same bytecode module is linked twice:
  http://caml.inria.fr/mantis/view.php?id=5461

The subtleties of the compiler bootstrapping process make it difficult
to fix in a satisfying way, so for now it has been left as is.

On Mon, Feb 18, 2013 at 7:55 AM, oliver <oliver@first.in-berlin.de> wrote:
> Hello,
>
> I did not followed with my eyes the whole time,
> while making OCaml 4.00, but this stuff I found,
> when doing
>  $ make opt.opt:
>
> ======================
>   [...]
> camlp4/Camlp4Filters/Camlp4TrashRemover.o
> ../ocamlcomp.sh dynlink.cma -g -I stdlib -I ../otherlibs/dynlink stdlib/arg.cmo stdlib/array.cmo stdlib/buffer.cmo stdlib/char.cmo stdlib/filename.cmo stdlib/format.cmo stdlib/hashtbl.cmo stdlib/lexing.cmo stdlib/list.cmo stdlib/parsing.cmo stdlib/pervasives.cmo stdlib/printf.cmo stdlib/string.cmo stdlib/sys.cmo camlp4/Camlp4_import.cmo camlp4/Camlp4_config.cmo stdlib/int32.cmo stdlib/int64.cmo stdlib/nativeint.cmo stdlib/obj.cmo stdlib/queue.cmo stdlib/set.cmo stdlib/sort.cmo stdlib/stream.cmo camlp4/boot/Camlp4.cmo stdlib/lazy.cmo stdlib/stack.cmo camlp4/boot/camlp4boot.cmo -o camlp4/boot/camlp4boot.byte
> File "stdlib/arg.cmo", line 1:
> Warning 31: files stdlib/arg.cmo and ../stdlib/stdlib.cma(Arg) both define a module named Arg
> File "stdlib/array.cmo", line 1:
> Warning 31: files stdlib/array.cmo and ../stdlib/stdlib.cma(Array) both define a module named Array
> File "stdlib/buffer.cmo", line 1:
> Warning 31: files stdlib/buffer.cmo and ../stdlib/stdlib.cma(Buffer) both define a module named Buffer
> File "stdlib/char.cmo", line 1:
> Warning 31: files stdlib/char.cmo and ../stdlib/stdlib.cma(Char) both define a module named Char
> File "stdlib/filename.cmo", line 1:
> Warning 31: files stdlib/filename.cmo and ../stdlib/stdlib.cma(Filename) both define a module named Filename
> File "stdlib/format.cmo", line 1:
> Warning 31: files stdlib/format.cmo and ../stdlib/stdlib.cma(Format) both define a module named Format
> File "stdlib/hashtbl.cmo", line 1:
> Warning 31: files stdlib/hashtbl.cmo and ../stdlib/stdlib.cma(Hashtbl) both define a module named Hashtbl
> File "stdlib/lexing.cmo", line 1:
> Warning 31: files stdlib/lexing.cmo and ../stdlib/stdlib.cma(Lexing) both define a module named Lexing
> File "stdlib/list.cmo", line 1:
> Warning 31: files stdlib/list.cmo and ../stdlib/stdlib.cma(List) both define a module named List
> File "stdlib/parsing.cmo", line 1:
> Warning 31: files stdlib/parsing.cmo and ../stdlib/stdlib.cma(Parsing) both define a module named Parsing
> File "stdlib/pervasives.cmo", line 1:
> Warning 31: files stdlib/pervasives.cmo and ../stdlib/stdlib.cma(Pervasives) both define a module named Pervasives
> File "stdlib/printf.cmo", line 1:
> Warning 31: files stdlib/printf.cmo and ../stdlib/stdlib.cma(Printf) both define a module named Printf
> File "stdlib/string.cmo", line 1:
> Warning 31: files stdlib/string.cmo and ../stdlib/stdlib.cma(String) both define a module named String
> File "stdlib/sys.cmo", line 1:
> Warning 31: files stdlib/sys.cmo and ../stdlib/stdlib.cma(Sys) both define a module named Sys
> File "stdlib/int32.cmo", line 1:
> Warning 31: files stdlib/int32.cmo and ../stdlib/stdlib.cma(Int32) both define a module named Int32
> File "stdlib/int64.cmo", line 1:
> Warning 31: files stdlib/int64.cmo and ../stdlib/stdlib.cma(Int64) both define a module named Int64
> File "stdlib/nativeint.cmo", line 1:
> Warning 31: files stdlib/nativeint.cmo and ../stdlib/stdlib.cma(Nativeint) both define a module named Nativeint
> File "stdlib/obj.cmo", line 1:
> Warning 31: files stdlib/obj.cmo and ../stdlib/stdlib.cma(Obj) both define a module named Obj
> File "stdlib/queue.cmo", line 1:
> Warning 31: files stdlib/queue.cmo and ../stdlib/stdlib.cma(Queue) both define a module named Queue
> File "stdlib/set.cmo", line 1:
> Warning 31: files stdlib/set.cmo and ../stdlib/stdlib.cma(Set) both define a module named Set
> File "stdlib/sort.cmo", line 1:
> Warning 31: files stdlib/sort.cmo and ../stdlib/stdlib.cma(Sort) both define a module named Sort
> File "stdlib/stream.cmo", line 1:
> Warning 31: files stdlib/stream.cmo and ../stdlib/stdlib.cma(Stream) both define a module named Stream
> File "stdlib/stack.cmo", line 1:
> Warning 31: files stdlib/stack.cmo and ../stdlib/stdlib.cma(Stack) both define a module named Stack
> ../ocamlcompopt.sh -nostdlib -c -g -warn-error A -I camlp4 -I stdlib -o camlp4/Camlp4_import.cmx camlp4/Camlp4_import.ml
> ../ocamlcompopt.sh -nostdlib -c -for-pack Camlp4 -g -warn-error A -w Z -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4/Camlp4 -I camlp4/build -I camlp4 -I stdlib -o camlp4/Camlp4/Sig.cmx camlp4/Camlp4/Sig.ml
> ../ocamlcompopt.sh -nostdlib -c -for-pack Camlp4 -g -warn-error A -w Z -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4/Camlp4 -I camlp4/build -I camlp4 -I stdlib -o camlp4/Camlp4/OCamlInitSyntax.cmx camlp4/Camlp4/OCamlInitSyntax.ml
> ../ocamlcompopt.sh -nostdlib -c -g -warn-error A -w Z -I camlp4 -I stdlib -o camlp4/Camlp4_config.cmx camlp4/Camlp4_config.ml
> ../ocamlcompopt.sh -nostdlib -c -for-pack Camlp4 -g -warn-error A -w Z -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4/Camlp4 -I camlp4/build -I camlp4 -I stdlib -o camlp4/Camlp4/ErrorHandler.cmx camlp4/Camlp4/ErrorHandler.ml
> ../ocamlcompopt.sh -nostdlib -c -for-pack Camlp4.Struct -g -warn-error A -w Z -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4/Camlp4/Struct -I camlp4/Camlp4 -I camlp4/build -I camlp4 -I stdlib -o camlp4/Camlp4/Struct/Loc.cmx camlp4/Camlp4/Struct/Loc.ml
> ../ocamlcompopt.sh -nostdlib -c -for-pack Camlp4.Struct -g -warn-error A -w Z -pp 'boot/ocamlrun camlp4/boot/camlp4boot.byte -D OPT' -I camlp4/Camlp4/Struct -I camlp4/Camlp4 -I camlp4/build -I camlp4 -I stdlib -o camlp4/Camlp4/Struct/Token.cmx camlp4/Camlp4/Struct/Token.ml
> [...]
> ======================
>
>
> Ciao,
>    Oliver
>
> --
> Caml-list mailing list.  Subscription management and archives:
> https://sympa.inria.fr/sympa/arc/caml-list
> Beginner's list: http://groups.yahoo.com/group/ocaml_beginners
> Bug reports: http://caml.inria.fr/bin/caml-bugs

  reply	other threads:[~2013-02-18 10:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-18  6:55 oliver
2013-02-18 10:39 ` Gabriel Scherer [this message]
2013-02-18 10:55   ` Fabrice Le Fessant

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPFanBHBvaCgpk7TykJph+zg-13SgR8Wiy-0bNQ=HSsTQHNnSQ@mail.gmail.com' \
    --to=gabriel.scherer@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=oliver@first.in-berlin.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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 NNTP newsgroup(s).