Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 351983 - dependencies between executables and imported libraries is broken
Summary: dependencies between executables and imported libraries is broken
Status: CLOSED FIXED
Alias: None
Product: RTSC
Classification: Technology
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P3 major (vote)
Target Milestone: ---   Edit
Assignee: Dave Russo CLA
QA Contact:
URL:
Whiteboard: target:3.22.03
Keywords:
Depends on:
Blocks:
 
Reported: 2011-07-13 10:39 EDT by Dave Russo CLA
Modified: 2011-11-09 18:42 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dave Russo CLA 2011-07-13 10:39:44 EDT
With the addition of shared configurations, the generated dependencies between executables and the libraries that are part of the configuration became "disconnected": 
    1. the configuration depends on the libraries and 
    2. the executable depends on the configuration, but
    3  the dependency between the exe and the config is not generated.
Comment 1 Dave Russo CLA 2011-07-26 12:50:23 EDT
when shared configs were added, the dependency chain between executables and the libraries included via getLibs() was broken: configurations were made to depend on the libraries but executables were not made to depend on the configuration.

We now add a dependency for executable on the configuration _except_ for implicitly created configurations. In this case, we pass the name of the executable (rather than the name of the configuration) through to Prog.java where the executable is made to depend on the libraries returned by getLibs().
Comment 2 Dave Russo CLA 2011-07-26 12:51:01 EDT
added xdc test/src/ecl/ecl351983
Comment 3 Dave Russo CLA 2011-08-19 18:53:41 EDT
From Gil:

I verified using the latest xdctools (i.e., xdctools_3_22_03_30_eng) that the issue originally reported by Nicolas is resolved.

To reproduce issue in sysbios-rpmsg using xdctools_3_22_01_21:
    1- build from clean.
    2- modify a file like src/ti/grcm/RcmServer.c
    3- run make again
    => Observe that .aem3 files are updated, but .xem3 file not rebuilt.

Point to new XDC tools: (xdctools_3_22_03_30_eng).
    - make clean; make;
    - touch src/ti/grcm/RcmServer.c
    - make
    => Builds .xem3 files and ducati-m3.bin.
Comment 4 Dave Russo CLA 2011-11-09 18:42:54 EST
xdctools_3_22_03_41 shipped