21 years agoLawrence You committed change 4382 into Fix a bug when using the Library target on Cygwin (1.5.10-3). Include <unistd.h> for OS_CYGWIN to call the correct version lseek. The wrong v...ersion of lseek is called by file_archscan. The lseek fails while reading the ar file, causing the routine to read subsequent bytes instead of seeking to the next ar_hdr entry in the archive. When the desired object file is not found, jam rebuilds the entire archive even though the object and proper mtime exists. A simple test is to just use a single Jamfile and two source files. Without this fix, jam would relink the second time it was invoked. Jamfile: Library TestLib : file1.c file2.c ; file1.c: #define FOO file2.c: #define BAR « | ||
Add a comment | ||
21 years agoLawrence You committed change 4382 into Fix a bug when using the Library target on Cygwin (1.5.10-3). Include <unistd.h> for OS_CYGWIN to call the correct version lseek. The wrong v...ersion of lseek is called by file_archscan. The lseek fails while reading the ar file, causing the routine to read subsequent bytes instead of seeking to the next ar_hdr entry in the archive. When the desired object file is not found, jam rebuilds the entire archive even though the object and proper mtime exists. A simple test is to just use a single Jamfile and two source files. Without this fix, jam would relink the second time it was invoked. Jamfile: Library TestLib : file1.c file2.c ; file1.c: #define FOO file2.c: #define BAR « | ||
21 years agoLawrence You committed change 4381 into Branch files for jam at change #3108 to prepare for a fix. | ||
Adjust when notifications are sent to you about reviews that you're associated with (as an author, reviewer, project member or moderator).