Skip to Content.
Sympa Menu

coq-club - RE: [Coq-Club] The file ident.vo contains library dirpath and not library dirpath’

coq-club AT inria.fr

Subject: The Coq mailing list

List archive

RE: [Coq-Club] The file ident.vo contains library dirpath and not library dirpath’


Chronological Thread 
  • From: "Soegtrop, Michael" <michael.soegtrop AT intel.com>
  • To: "coq-club AT inria.fr" <coq-club AT inria.fr>
  • Subject: RE: [Coq-Club] The file ident.vo contains library dirpath and not library dirpath’
  • Date: Tue, 23 Aug 2016 10:19:29 +0000
  • Accept-language: de-DE, en-US
  • Authentication-results: mail3-smtp-sop.national.inria.fr; spf=None smtp.pra=michael.soegtrop AT intel.com; spf=Pass smtp.mailfrom=michael.soegtrop AT intel.com; spf=None smtp.helo=postmaster AT mga09.intel.com
  • Ironport-phdr: 9a23:2sy3GBRNr8FiOHuzzfh1F/V+ftpsv+yvbD5Q0YIujvd0So/mwa64bB2N2/xhgRfzUJnB7Loc0qyN4vmmAjBLu8zJ8ChbNscdD1ld0YRetjdjKfbNMVf8Iv/uYn5yN+V5f3ghwUuGN1NIEt31fVzYry76xzcTHhLiKVg9fbytScbshsi6n9q/54fUK10RwmHsOPUpcF7s902R7pBQ2to6bP5pi1PgmThhQ6xu32RmJFaezV7Xx/yb29pdyRlWoO8r7MVaUK/3LOwSRL1cCyk6YShuvJW4/UqLcQzarHAbSyAdlgdCKwnD9hDzGJnr+GOuve1knSKeIMfeTLYuWD3k4b09GzHyjyJSfQU+/W7LkMtoyOp+oRmhrhF7icaAZYCeNPNzeuXGet4VWXBGRu5QUTBMBsW3aI5ZXLlJBvpRs4So/whGlhC5HwT5XO4=

Dear Chris,

 

as far as I remember, there are 8.4 patch versions of Coq which are happy with  ‘ –Q “.” Top ‘ and others which insert an extra Top in the module name if you give this option (leave it away or give –Q “.” “” instead)

 

A few notes on this which might help:

 

-        The relation between Coq module paths and file system paths is controlled using the –Q and –R options. How this exactly works (especially how this influences the module path written into a .vo file) is not very well documented.

 

-        some Coq 8.4 versions contain bugs in the –Q option, See bug reports

 

https://coq.inria.fr/bugs/show_bug.cgi?id=3995

https://coq.inria.fr/bugs/show_bug.cgi?id=3958

 

Fixing this bug obviously changed the behavior of –Q and some things which did work before because the bug was there might stop working in Coq versions where the bug is fixed (and the other way around).

 

-        As far as I can guess from my experience the Coq module name stored in a Coq vo file always contains a “Top” as root which is stripped away. So when Coq says your module is named “Top.X” it might be that it is actually “Top.Top.X”

 

Best regards,

 

Michael

Intel Deutschland GmbH
Registered Address: Am Campeon 10-12, 85579 Neubiberg, Germany
Tel: +49 89 99 8853-0, www.intel.de
Managing Directors: Christin Eisenschmid, Christian Lamprechter
Chairperson of the Supervisory Board: Nicole Lau
Registered Office: Munich
Commercial Register: Amtsgericht Muenchen HRB 186928




Archive powered by MHonArc 2.6.18.

Top of Page