Updates:
        Status: Fixed
        Labels: -Milestone-Release2.13 Milestone-Release2.11

Comment #2 on issue 912 by [email protected]: Make does not relink binaries when it should
https://code.google.com/p/ganeti/issues/detail?id=912

Fixed in

commit 09ff6a256470d525218f707181f43a7e628fda58
Author: Yuto KAWAMURA(kawamuray) <[email protected]>
Date:   Thu Sep 25 04:10:44 2014 +0900

    Fix broken haskell dependencies

    Fixes issues 758 and 912.
    Since ghc -M does not generate inter object dependency rule for object
    files, dependencies from a target executable seed object
    (e.g. src/hluxid.o) to objects which finally will be linked to the
    target object (e.g. src/Ganeti/Daemon.o) are missing in Makefile.ghc.
    For instance, following commands will not rebuild src/hluxid inspite of
    its dependent object src/Ganeti/Daemon.o has been updated.

        $ make # rebuild all once
        $ touch src/Ganeti/Daemon.hs
        $ make # this will rebuild src/Ganeti/Daemon.o, not src/hluxid.o

    This patch adds simple substitution code after the Makefile.ghc
    generation to add additional inter object dependency for all object
    files to force relink related objects when a linked object has been
    updated.

    Signed-off-by: Yuto KAWAMURA(kawamuray) <[email protected]>
    Signed-off-by: Petr Pudlak <[email protected]>
    Reviewed-by: Petr Pudlak <[email protected]>


--
You received this message because this project is configured to send all issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings

Reply via email to