Changes between Version 3 and Version 4 of Ticket #4173, comment 2


Ignore:
Timestamp:
01/20/21 19:37:30 (4 years ago)
Author:
psprint
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #4173, comment 2

    v3 v4  
    1 Little regret, though… The filenames should be unique, because otherwise libtool is required to ·copy· the conflicting files under unique temporary names. Not sure, if this is only copying the names that conflict or other too, however an error in the Makefile.am files is making libmc to be linked three times so a large number of files are required to be copied anyway, and this adds 5-10 seconds to the build process (the ''copying object files to avoid basename conflicts…'' stage), which is a serious inconvenience… The above patch resolves the real (not from linking multiple times) base name conflicts, so IMO it could/should be merged. Then the error in Makefile.am files could be tracked down. 
     1Little regret, though… The filenames should be unique, because otherwise libtool is required to ·copy· the conflicting files under unique temporary names. Not sure, if this is only copying the names that conflict or other too, however an error in the Makefile.am files is making libmc to be linked three times so a large number of files are required to be copied anyway, and this adds 5-10 seconds to the build process (the ''copying object files to avoid basename conflicts…'' stage), which is a serious inconvenience (especially when the build is a simple non-header file change, inducing only a single file compilation and then an immediate **link**…)… The above patch resolves the real (not from linking multiple times) base name conflicts, so IMO it could/should be merged. Then the error in Makefile.am files could be tracked down. 
    22 
    33PS. I've created a 100 points [https://stackoverflow.com/questions/65710239/libtool-is-excessively-copying-objects-to-resolve-name-conflicts bounty] for this problem on SO, maybe this will help solving the issue?