Changes between Initial Version and Version 1 of Ticket #49, comment 3


Ignore:
Timestamp:
Jan 12, 2015, 4:14:38 PM (10 years ago)
Author:
dmik

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #49, comment 3

    initial v1  
    1 I think I now know exactly what is going on there. When `max_cmd_len` is not -1, libtool does the following: it gathers as much .o files as possible until the length of the resulting command line reaches the given number and then combines these .o files into a single intermediate .o file using `ld.exe`. However, 'ld.exe` (part of the EMX toolchain AFAIR) is known to be broken since long and in this particular case it produces the output .o file which is corrupt.
     1I think I now know exactly what is going on there. When `max_cmd_len` is not -1, libtool does the following: it gathers as much .o files as possible until the length of the resulting command line reaches the given number and then combines these .o files into a single intermediate .o file using `ld.exe`. However, `ld.exe` (part of the EMX toolchain AFAIR) is known to be broken since long and in this particular case it produces the output .o file which is corrupt.
    22
    33I see three possible solutions: