Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

build polly c++ sdk Failed on mac #10

Closed
KingStorm opened this issue Jun 25, 2022 · 1 comment
Closed

build polly c++ sdk Failed on mac #10

KingStorm opened this issue Jun 25, 2022 · 1 comment

Comments

@KingStorm
Copy link

Build failed on mac:

[----------] Global test environment tear-down
[==========] 475 tests from 76 test cases ran. (7633 ms total)
[ PASSED ] 475 tests.
/repo/aws_downloads/aws-sdk-cpp/aws-cpp-sdk-core-tests/RunTests.cpp:40: Failure
Expected equality of these values:
memorySystem.GetCurrentOutstandingAllocations()
Which is: 16
0ULL
Which is: 0
/repo/aws_downloads/aws-sdk-cpp/aws-cpp-sdk-core-tests/RunTests.cpp:40: Failure
Expected equality of these values:
memorySystem.GetCurrentBytesAllocated()
Which is: 1440
0ULL
Which is: 0
/repo/aws_downloads/aws-sdk-cpp/aws-cpp-sdk-core-tests/RunTests.cpp:40: Failure
Value of: memorySystem.IsClean()
Actual: false
Expected: true
aws-cpp-sdk-core-tests(10932,0x102cac580) malloc: *** error for object 0x6000038f8858: pointer being freed was not allocated
aws-cpp-sdk-core-tests(10932,0x102cac580) malloc: *** set a breakpoint in malloc_error_break to debug
/bin/sh: line 1: 10932 Abort trap: 6 ./aws-cpp-sdk-core-tests --gtest_shuffle --gtest_repeat=3
make[2]: *** [aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests] Error 134
make[2]: *** Deleting file `aws-cpp-sdk-core-tests/aws-cpp-sdk-core-tests'
make[1]: *** [aws-cpp-sdk-core-tests/CMakeFiles/aws-cpp-sdk-core-tests.dir/all] Error 2
make: *** [all] Error 2
mkdir: /repo/aws_downloads/Mac: File exists
cp: /repo/aws_downloads/aws-sdk-cpp/_install/include: No such file or directory
ls: /repo/aws_downloads/aws-sdk-cpp/_install/lib/*.dylib: No such file or directory

cmake version 3.24.0-rc2

CMake suite maintained and supported by Kitware (kitware.com/cmake).

@KingStorm
Copy link
Author

disable the DCUSTOM_MEMORY_MANAGEMENT works fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant