On Mon, Feb 3, 2014 at 4:17 PM, Brian Drummond <[email protected]>wrote:

> Not *QUITE* sure what you did here - possibly a faulty Make Install
> (which compiles and installs the standard libraries)
>

Basically, I downloaded the Debian source package (at
http://mentors.debian.net/package/ghdl), and changed it to use the version
of gnat that's available on Ubuntu precise (4.6) by editing the control
file.  I'm still using gcc-4.8, though, which is retrieved from the Ubuntu
toolchain developers' ppa.  Then I built the package.  It compiles and
installs without errors.


>
> but...
>
> this is a timestamp or versioning problem : it's telling you that ghdl
> has detected a version incompatibility between (I think) std_logic_1164
> source timestamp and object timestamp, and thus std_logic_1164 must be
> recompiled before building your source.
>

Right, that's what I figured.  The timestamps were all reset as part of
installing the package.  So I tried touching all the files
in /usr/lib/ghdl/lib/gcc/x86_64-linux-gnu/4.8/vhdl/lib and below, but that
didn't fix the problem.

By the way, the file below analyzes fine, so I don't think that's actually
the problem.

--- CUT HERE --
library ieee;
use ieee.std_logic_1164.all;

package foo_pkg is

  subtype foo_type is std_ulogic_vector(1 downto 0);

end;
-- CUT HERE --


> Installing on one machine and using on another with unsynced clocks
> might do it, or possibly something went wrong (root permissions?) during
> "Make Install"?
>

When you use launchpad, the package is compiled on their server, but it
compiled fine, and it compiles fine on my machine.  I guess the final
timestamps of the installed files are always just the time they're unpacked
from the package file.

-Pete
_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to