Closed GoogleCodeExporter closed 9 years ago
Насчёт первых чисел (132хххх, 378хххх):
возможно, они не точные, так как я их
получил на боте на "не clean" сборке.
Ошибка сейчас есть другого уровня: Release не
отличается от Debug.
Проверка: берёшь r261+r262, собираешь Release и Debug,
запускаешь `./base_tests --gtest_filter=CommonTest.DebugOrRelease`.
CMake (независимо от CMAKE_BUILD_TYPE) :
[ RUN ] CommonTest.DebugOrRelease
NDEBUG is not defined, this is a Debug build
[ OK ] CommonTest.DebugOrRelease (0 ms)
А теперь просто `make BUILDTYPE=Release test`, в корне
репозитория:
[ RUN ] CommonTest.DebugOrRelease
NDEBUG defined, this is a Release build
[ OK ] CommonTest.DebugOrRelease (0 ms)
Посмотри, каковы различные настройки
сборки в нашем Makefile'е - ты их не перенёс в CMake.
Ещё, я наблюдаю различные output sizes у Release
сборки после CMake'а в зависимости от того,
"чистая" ли сборка. Гм... Но вначале
разберись с флагами компиляции.
Original comment by timurrrr
on 21 Nov 2011 at 10:57
Original comment by muxana...@gmail.com
on 6 Dec 2011 at 2:51
ping?
Original comment by timurrrr
on 9 Dec 2011 at 7:09
Сделано в r319
Original comment by Mikhail....@gmail.com
on 18 Dec 2011 at 10:58
На "нечистой" сборке эффекта не было:
http://ec2-79-125-98-54.eu-west-1.compute.amazonaws.com:8010/builders/linux-bot/
builds/116
а вот после `rm -rf Debug Release` сразу видно что
компиляция дебага и релиза происходит
по-разному:
http://ec2-79-125-98-54.eu-west-1.compute.amazonaws.com:8010/builders/linux-bot/
builds/117
Ты не знаешь, как побороться с проблемой
"нечистых" сборок?
Original comment by timurrrr
on 18 Dec 2011 at 9:40
$ ls -l {Debug,Release}/*_tests
-rwx------ 1 buildslave buildbot 1355623 Dec 19 01:24 Debug/base_tests
-rwx------ 1 buildslave buildbot 4290239 Dec 19 01:39 Debug/sandbox_tests
-rwxr-xr-x 1 buildslave buildbot 350927 Dec 19 01:33 Release/base_tests
-rwx------ 1 buildslave buildbot 969628 Dec 19 01:39 Release/sandbox_tests
Original comment by timurrrr
on 18 Dec 2011 at 9:41
Original issue reported on code.google.com by
timurrrr
on 20 Nov 2011 at 8:05