Strange compile errors

Slice is important in general. I did not check the tests.

Could this error also be related to the other issues we have been discussing, or is this something else?

$ cd python
$ pip install --user -e .
Obtaining file:///home/bidski/Projects/mxnet/python
    ERROR: Command errored out with exit status -6:
     command: /usr/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/home/bidski/Projects/mxnet/python/'"'"'; __file__='"'"'/home/bidski/Projects/mxnet/python/'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);'"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info
         cwd: /home/bidski/Projects/mxnet/python/
    Complete output (1 lines):
    free(): invalid pointer
ERROR: Command errored out with exit status -6: python egg_info Check the logs for full command output.

I doubt it as python front end package is independent from cpp package.

Is it possible that the error is not in the cpp package, but in libmxnet?

same error here …

I downloaded the latest (commit head: 67b5d314a5a46bce4377668626) and build it with CMake 3.16.3, g++ 7.3.1, same error arose.

I changed the CMakeLists.txt (from commit de510582438ad5fad576eba1b) and now the code can be built correctly.

1 Like

Glad to hear it works for you.