Skip to content

Cyclic dependency checking broken between version 2015-11 to 2014.12 #212

@gdcarver

Description

@gdcarver

This relates to issue 151.

A cyclic dependency exists in some versions of the IFS code (see issue above). Earlier versions of FCM correctly catch this and report it (see report below). However, all versions from 2014.12 to 2015-11 fail to report the cyclic dependency, will appear to work with no fail messages but not produce executable.

I've found that the change happened between the releases 2014.11.0 and 2014.12.0.

Example output from 2014.11.0:

fcm --version
FCM 2014.11.0

fcm make -v -j4 -f oifs.cfg

[FAIL] make oifs           # 9.4s
[FAIL] make                # 9.5s
[FAIL] mpl_message_mod.mod: target depends on itself
[FAIL]     required by: mpl_buffer_method_mod.o
[FAIL]     required by: mpl_buffer_method_mod.mod
[FAIL]     required by: mpl_init_mod.o
[FAIL]     required by: mpl_init_mod.mod
[FAIL]     required by: dr_hook_util.intfb.h
[FAIL]     required by: yomhook.o
[FAIL]     required by: yomhook.mod
[FAIL]     required by: sdl_mod.o
[FAIL]     required by: sdl_mod.mod
[FAIL]     required by: mpl_abort_mod.o
[FAIL]     required by: mpl_abort_mod.mod
[FAIL]     required by: mpl_message_mod.o
[FAIL]     required by: mpl_message_mod.mod
[FAIL]     required by: mpl_open_mod.o
[FAIL]     required by: mpl_open_mod.mod
[FAIL]     required by: mpl_module.o
[FAIL]     required by: mpl_module.mod
[FAIL]     required by: vod2uv.o
[FAIL]     required by: vod2uv.exe

Example output from 2014.12.0:

fcm --version
FCM 2014.12.0

[info] compile+   0.0 M tpm_flt.mod          <- trans/module/tpm_flt.F90
[info] compile   targets: modified=52, unchanged=0, failed=0, total-time=2.3s
[info] compile+  targets: modified=51, unchanged=0, failed=0, total-time=0.1s
[info] ext-iface targets: modified=2, unchanged=0, failed=0, total-time=0.0s
[info] TOTAL     targets: modified=105, unchanged=0, failed=0, elapsed-time=2.9s
[done] make oifs           # 11.2s
[done] make                # 11.3s

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions