View Issue Details [ Jump to Notes ] | [ Print ] | ||||||||
ID | Project | Category | View Status | Date Submitted | Last Update | ||||
0011654 | CMake | CMake | public | 2011-01-04 14:33 | 2011-01-31 16:03 | ||||
Reporter | Kim Højgaard-Hansen | ||||||||
Assigned To | Brad King | ||||||||
Priority | normal | Severity | minor | Reproducibility | always | ||||
Status | closed | Resolution | fixed | ||||||
Platform | x86 | OS | Linux | OS Version | 2.6.36 | ||||
Product Version | CMake 2.8.3 | ||||||||
Target Version | CMake 2.8.4 | Fixed in Version | CMake 2.8.4 | ||||||
Summary | 0011654: SubDirSpaces test fails with make-3.82 | ||||||||
Description | With make-3.82 on x86 the regression test 111 fails: test 111 Start 111: SubDirSpaces 111: Test command: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/ctest "--build-and-test" "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces" "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces" "--build-exe-dir" "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/Executable Sources" "--build-generator" "Unix Makefiles" "--build-makeprogram" "/usr/bin/make" "--build-project" "SUBDIR" "--test-command" "test" "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/ShouldBeHere" "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/testfromsubdir.obj" 111: Test timeout computed to be: 1500 111: Internal cmake changing into directory: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces 111: ======== CMake output ====== 111: The C compiler identification is GNU 111: The CXX compiler identification is GNU 111: Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc 111: Configuring 111: Check for working C compiler: /usr/bin/i686-pc-linux-gnu-gcc -- works 111: Detecting C compiler ABI info 111: Configuring 111: Detecting C compiler ABI info - done 111: Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ 111: Configuring 111: Check for working CXX compiler: /usr/bin/i686-pc-linux-gnu-g++ -- works 111: Detecting CXX compiler ABI info 111: Configuring 111: Detecting CXX compiler ABI info - done 111: /usr/bin/make 111: Configuring 111: Configuring 111: Configuring 111: Configuring 111: Configuring 111: Configuring 111: Configuring 111: Configuring 111: Configuring 111: Configuring 111: Configuring 111: Configuring done 111: Generating 111: Generating 111: Generating 111: Generating 111: Generating 111: Generating 111: Generating done 111: Build files have been written to: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces 111: ======== End CMake output ====== 111: Change Dir: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces 111: 111: Run Clean Command:/usr/bin/make "clean" 111: make[1]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f CMakeFiles/Makefile2 clean 111: make[2]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f CMakeFiles/TestFromSubdir.dir/build.make CMakeFiles/TestFromSubdir.dir/clean 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -P CMakeFiles/TestFromSubdir.dir/cmake_clean.cmake 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f CMakeFiles/TestWithAuxSourceDir.dir/build.make CMakeFiles/TestWithAuxSourceDir.dir/clean 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -P CMakeFiles/TestWithAuxSourceDir.dir/cmake_clean.cmake 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f "Executable Sources/CMakeFiles/test.dir/build.make" "Executable Sources/CMakeFiles/test.dir/clean" 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: cd "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/Executable Sources" && /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -P CMakeFiles/test.dir/cmake_clean.cmake 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f "Some Examples/example1/CMakeFiles/example1.dir/build.make" "Some Examples/example1/CMakeFiles/example1.dir/clean" 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: cd "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/Some Examples/example1" && /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -P CMakeFiles/example1.dir/cmake_clean.cmake 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f "Some Examples/example2/CMakeFiles/example2.dir/build.make" "Some Examples/example2/CMakeFiles/example2.dir/clean" 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: cd "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/Some Examples/example2" && /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -P CMakeFiles/example2.dir/cmake_clean.cmake 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: make[2]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: make[1]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: 111: Run Build Command:/usr/bin/make 111: make[1]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -H/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces -B/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces --check-build-system CMakeFiles/Makefile.cmake 0 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_start /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles/progress.marks 111: /usr/bin/make -f CMakeFiles/Makefile2 all 111: make[2]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f CMakeFiles/TestFromSubdir.dir/build.make CMakeFiles/TestFromSubdir.dir/depend 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: cd /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces && /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles/TestFromSubdir.dir/DependInfo.cmake --color= 111: Scanning dependencies of target TestFromSubdir 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f CMakeFiles/TestFromSubdir.dir/build.make CMakeFiles/TestFromSubdir.dir/build 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 1 111: [ 9%] Building C object CMakeFiles/TestFromSubdir.dir/Another_Subdir/testfromsubdir.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestFromSubdir.dir/Another_Subdir/testfromsubdir.c.o -c "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/Another Subdir/testfromsubdir.c" 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 2 111: [ 18%] Building C object CMakeFiles/TestFromSubdir.dir/Another_Subdir/secondone.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestFromSubdir.dir/Another_Subdir/secondone.c.o -c "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/Another Subdir/secondone.c" 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 3 111: [ 27%] Building C object CMakeFiles/TestFromSubdir.dir/Another_Subdir/pair+int.int.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestFromSubdir.dir/Another_Subdir/pair+int.int.c.o -c "/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/Another Subdir/pair+int.int.c" 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 4 111: [ 36%] Building C object CMakeFiles/TestFromSubdir.dir/vcl_algorithm+vcl_pair+double.foo.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestFromSubdir.dir/vcl_algorithm+vcl_pair+double.foo.c.o -c /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/vcl_algorithm+vcl_pair+double.foo.c 111: Linking C executable TestFromSubdir 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_link_script CMakeFiles/TestFromSubdir.dir/link.txt --verbose=1 111: /usr/bin/i686-pc-linux-gnu-gcc -march=native -pipe -O2 CMakeFiles/TestFromSubdir.dir/Another_Subdir/testfromsubdir.c.o CMakeFiles/TestFromSubdir.dir/Another_Subdir/secondone.c.o CMakeFiles/TestFromSubdir.dir/Another_Subdir/pair+int.int.c.o CMakeFiles/TestFromSubdir.dir/vcl_algorithm+vcl_pair+double.foo.c.o -o TestFromSubdir -rdynamic 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 1 2 3 4 111: [ 36%] Built target TestFromSubdir 111: /usr/bin/make -f CMakeFiles/TestWithAuxSourceDir.dir/build.make CMakeFiles/TestWithAuxSourceDir.dir/depend 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: cd /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces && /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_depends "Unix Makefiles" /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles/TestWithAuxSourceDir.dir/DependInfo.cmake --color= 111: Scanning dependencies of target TestWithAuxSourceDir 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /usr/bin/make -f CMakeFiles/TestWithAuxSourceDir.dir/build.make CMakeFiles/TestWithAuxSourceDir.dir/build 111: make[3]: Entering directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 5 111: [ 45%] Building C object CMakeFiles/TestWithAuxSourceDir.dir/ThirdSubDir/pair_p_int.int1.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestWithAuxSourceDir.dir/ThirdSubDir/pair_p_int.int1.c.o -c /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/ThirdSubDir/pair_p_int.int1.c 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 6 111: [ 54%] Building C object CMakeFiles/TestWithAuxSourceDir.dir/ThirdSubDir/testfromauxsubdir.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestWithAuxSourceDir.dir/ThirdSubDir/testfromauxsubdir.c.o -c /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/ThirdSubDir/testfromauxsubdir.c 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 7 111: [ 63%] Building C object CMakeFiles/TestWithAuxSourceDir.dir/ThirdSubDir/thirdone.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestWithAuxSourceDir.dir/ThirdSubDir/thirdone.c.o -c /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/ThirdSubDir/thirdone.c 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 8 111: [ 72%] Building C object CMakeFiles/TestWithAuxSourceDir.dir/ThirdSubDir/pair+int.int1.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestWithAuxSourceDir.dir/ThirdSubDir/pair+int.int1.c.o -c /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/ThirdSubDir/pair+int.int1.c 111: /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/bin/cmake -E cmake_progress_report /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/CMakeFiles 9 111: [ 81%] Building C object CMakeFiles/TestWithAuxSourceDir.dir/vcl_algorithm+vcl_pair+double.foo.c.o 111: /usr/bin/i686-pc-linux-gnu-gcc -DCMAKE_PAREN=1 -march=native -pipe -O2 -o CMakeFiles/TestWithAuxSourceDir.dir/vcl_algorithm+vcl_pair+double.foo.c.o -c /var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces/vcl_algorithm+vcl_pair+double.foo.c 111: make[3]: *** No rule to make target `Some(x86) Sources/libtestOddPath.a', needed by `TestWithAuxSourceDir'. Stop. 111: make[3]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: make[2]: *** [CMakeFiles/TestWithAuxSourceDir.dir/all] Error 2 111: make[2]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111: make[1]: *** [all] Error 2 111: make[1]: Leaving directory `/var/tmp/paludis/build/sys-devel-cmake-2.8.3/work/cmake-2.8.3/Tests/SubDirSpaces' 111/172 Test 0000111: SubDirSpaces ...........................***Failed 7.99 sec | ||||||||
Steps To Reproduce | install make-3.82 on a x86 machine build cmake run regression tests | ||||||||
Tags | No tags attached. | ||||||||
Attached Files | make-3.82-bug.tar.gz [^] (329 bytes) 2011-01-10 18:59 | ||||||||
Relationships | |
Relationships |
Notes | |
(0024566) Brad King (manager) 2011-01-10 18:59 |
This appears to be a bug in upstream gmake. It is very tricky to reproduce. The attached make-3.82-bug.tar.gz provides the simplest case I could find to reproduce it. Extract it and run "sh run.sh" to see if it occurs for you too. I think this is a memory bounds error. If I change "SomeDirectory1" to "SomeDirectory" in the sample make file then the issue disappears. Indeed, I ran this: $ make -f "Some(123) Sources/make_files/build.make" all make: *** No rule to make target `xyz) Sources/test.c)', needed by `Some(abc) Sources/object_dir/test.c.o'. Stop. and then tried valgrind: $ valgrind --tool=memcheck make -f "Some(123) Sources/make_files/build.make" all ==28096== Memcheck, a memory error detector ==28096== Copyright (C) 2002-2010, and GNU GPL'd, by Julian Seward et al. ==28096== Using Valgrind-3.6.0.SVN-Debian and LibVEX; rerun with -h for copyright info ==28096== Command: make -f Some(123)\ Sources/make_files/build.make all ==28096== ==28096== Invalid read of size 1 ==28096== at 0x4127D4: next_token (misc.c:511) ==28096== by 0x413E2C: parse_file_seq (read.c:3034) ==28096== by 0x407066: split_prereqs (file.c:429) ==28096== by 0x41514C: record_files (read.c:1886) ==28096== by 0x41641B: eval (read.c:912) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== Address 0x55d7e7a is not stack'd, malloc'd or (recently) free'd ==28096== ==28096== Invalid read of size 1 ==28096== at 0x413E2D: parse_file_seq (read.c:3038) ==28096== by 0x407066: split_prereqs (file.c:429) ==28096== by 0x41514C: record_files (read.c:1886) ==28096== by 0x41641B: eval (read.c:912) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== Address 0x55d7e7a is not stack'd, malloc'd or (recently) free'd ==28096== ==28096== Invalid read of size 1 ==28096== at 0x413E7B: parse_file_seq (read.c:3041) ==28096== by 0x407066: split_prereqs (file.c:429) ==28096== by 0x41514C: record_files (read.c:1886) ==28096== by 0x41641B: eval (read.c:912) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== Address 0x55d7e79 is not stack'd, malloc'd or (recently) free'd ==28096== ==28096== Use of uninitialised value of size 8 ==28096== at 0x4127D7: next_token (misc.c:511) ==28096== by 0x413E2C: parse_file_seq (read.c:3034) ==28096== by 0x416933: eval (read.c:1036) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== ==28096== Conditional jump or move depends on uninitialised value(s) ==28096== at 0x413E35: parse_file_seq (read.c:3038) ==28096== by 0x416933: eval (read.c:1036) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== ==28096== Conditional jump or move depends on uninitialised value(s) ==28096== at 0x413E82: parse_file_seq (read.c:3041) ==28096== by 0x416933: eval (read.c:1036) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== ==28096== Conditional jump or move depends on uninitialised value(s) ==28096== at 0x413E86: parse_file_seq (read.c:3058) ==28096== by 0x416933: eval (read.c:1036) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== ==28096== Invalid read of size 1 ==28096== at 0x413E2D: parse_file_seq (read.c:3038) ==28096== by 0x407066: split_prereqs (file.c:429) ==28096== by 0x41514C: record_files (read.c:1886) ==28096== by 0x41619E: eval (read.c:1296) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== Address 0x55d826e is not stack'd, malloc'd or (recently) free'd ==28096== ==28096== Invalid read of size 1 ==28096== at 0x413E7B: parse_file_seq (read.c:3041) ==28096== by 0x407066: split_prereqs (file.c:429) ==28096== by 0x41514C: record_files (read.c:1886) ==28096== by 0x41619E: eval (read.c:1296) ==28096== by 0x4175A1: eval_makefile (read.c:423) ==28096== by 0x417892: read_all_makefiles (read.c:222) ==28096== by 0x4118E4: main (main.c:1659) ==28096== Address 0x55d826d is not stack'd, malloc'd or (recently) free'd ==28096== make: *** No rule to make target `SomeDirectory1/Some(xyz) Sources/test.c', needed by `Some(abc) Sources/object_dir/test.c.o'. Stop. ==28096== ==28096== HEAP SUMMARY: ==28096== in use at exit: 145,089 bytes in 1,111 blocks ==28096== total heap usage: 1,302 allocs, 191 frees, 324,064 bytes allocated ==28096== ==28096== LEAK SUMMARY: ==28096== definitely lost: 0 bytes in 0 blocks ==28096== indirectly lost: 0 bytes in 0 blocks ==28096== possibly lost: 0 bytes in 0 blocks ==28096== still reachable: 145,089 bytes in 1,111 blocks ==28096== suppressed: 0 bytes in 0 blocks ==28096== Rerun with --leak-check=full to see details of leaked memory ==28096== ==28096== For counts of detected and suppressed errors, rerun with: -v ==28096== Use --track-origins=yes to see where uninitialised values come from ==28096== ERROR SUMMARY: 10 errors from 9 contexts (suppressed: 4 from 4) |
(0024568) Kim Højgaard-Hansen (reporter) 2011-01-11 02:55 |
make-3.82-bug $ sh run.sh make: *** No rule to make target `SomeDirectory1/Some(xyz) Sources/test.c', needed by `Some(abc) Sources/object_dir/test.c.o'. Stop. |
(0024573) Brad King (manager) 2011-01-11 08:03 |
Like I said, it's hard to reproduce. The attached test case reproduces it for my build of make-3.82 on x86_64. It probably goes differently for 32-bit x86 makes. |
(0024574) Brad King (manager) 2011-01-11 08:34 |
Can you reproduce this with a CVS HEAD build of GNU make from http://savannah.gnu.org/cvs/?group=make [^] ? |
(0024578) Brad King (manager) 2011-01-11 09:36 |
This appears to be related: http://savannah.gnu.org/bugs/?30612 [^] The fix for it that was committed to read.c: revision 1.194 date: 2010-08-13 22:50:14 -0400; author: psmith; state: Exp; lines: +9 -6; commitid: 4UaslPqQHZTs5wKu; - Fix the NEWS file to be accurate - Add oneshell to $(.FEATURES) (forgot that!) - Fix Savannah bug #30612: handling of archive references with >1 object also fixes my minimal test case and the SubDirSpaces test. |
(0024582) Brad King (manager) 2011-01-11 10:05 |
Since this is a bug in make itself we must simply work around it in the SubDirSpaces test by not testing the paren-named subdirectory: http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=19cb2ca4 [^] No one should be using such names in real projects anyway. The test is just there for completeness. |
Notes |
Issue History | |||
Date Modified | Username | Field | Change |
2011-01-04 14:33 | Kim Højgaard-Hansen | New Issue | |
2011-01-06 16:33 | Bill Hoffman | Assigned To | => Brad King |
2011-01-06 16:33 | Bill Hoffman | Status | new => assigned |
2011-01-10 18:59 | Brad King | Note Added: 0024566 | |
2011-01-10 18:59 | Brad King | File Added: make-3.82-bug.tar.gz | |
2011-01-11 02:55 | Kim Højgaard-Hansen | Note Added: 0024568 | |
2011-01-11 08:03 | Brad King | Note Added: 0024573 | |
2011-01-11 08:34 | Brad King | Note Added: 0024574 | |
2011-01-11 09:36 | Brad King | Note Added: 0024578 | |
2011-01-11 10:05 | Brad King | Note Added: 0024582 | |
2011-01-11 10:05 | Brad King | Status | assigned => closed |
2011-01-11 10:05 | Brad King | Resolution | open => fixed |
2011-01-31 16:03 | David Cole | Fixed in Version | => CMake 2.8.4 |
2011-01-31 16:03 | David Cole | Target Version | => CMake 2.8.4 |
Issue History |
Copyright © 2000 - 2018 MantisBT Team |