On Mon, 2014-02-03 at 16:46 -0500, Peter Gavin wrote: > On Mon, Feb 3, 2014 at 4:17 PM, Brian Drummond > <[email protected]> wrote:
(I should have explicitly said your testcase works fine here! :-) > 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, > > 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. (sorry if earlier message didn't go to list:) That's not how the timestamps work in ghdl : they are recorded in those <lib>-obj<ver>.cf files, vhdl/lib/v93/ieee/ieee-obj93.cf -------------------------------------------------------------- file . "../../../src/ieee/std_logic_1164_body.v93" "20140115221206.000" "20140115221207.801": package body std_logic_1164 at 36( 1826) + 0 on 12; file . "../../../src/ieee/std_logic_1164.v93" "20140115221206.000" "20140115221207.750": package std_logic_1164 at 36( 1826) + 0 on 11 body; -------------------------------------------------------------- and work-obj93.cf -------------------------------------------------------------- file . "gavin.vhd" "20140203210537.000" "20140203210612.996": package foo_pkg at 1( 0) + 0 on 513 body; package body foo_pkg at 10( 124) + 0 on 514; -------------------------------------------------------------- so here, the library was compiled after its source timestamp, and before the testcase. If the package build machine was in a different timezone... Check your equivalent .cf files... (The current source timestamp is also checked against that recorded, so that changed files get recompiled) > By the way, the file below analyzes fine, so I don't think that's > actually the problem. Has it been long enough that local time has now passed the recorded compilation time? If so, the original testcase should now work. - Brian _______________________________________________ Ghdl-discuss mailing list [email protected] https://mail.gna.org/listinfo/ghdl-discuss
