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

gollvm: *** struct epoll_event data.fd offset unknown , while compiling on Windows 10 (64bit) #40656

Closed
advancedwebdeveloper opened this issue Aug 9, 2020 · 1 comment

Comments

@advancedwebdeveloper
Copy link

@advancedwebdeveloper advancedwebdeveloper commented Aug 9, 2020

I will try to be short: I got the following, while running CMake, on "x64 Native Tools Command Prompt for VS 2019":

cmake -DCMAKE_INSTALL_PREFIX='D:' -DCMAKE_BUILD_TYPE=Release -DGOLLVM_DEFAULT_LINKER=link -G Ninja ../llvm-project/llvm

-- Looking for alloca - not found
-- Looking for memcpy
-- Looking for memcpy - not found
-- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4
-- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_4 - Failed
-- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8
-- Performing Test HAVE_SYNC_BOOL_COMPARE_AND_SWAP_8 - Failed
-- Performing Test HAVE_AS_X86_AES
-- Performing Test HAVE_AS_X86_AES - Failed
CMake Error at tools/gollvm/cmake/modules/AutoGenGo.cmake:386 (message):
***** struct epoll_event data.fd offset unknown**
Call Stack (most recent call first):
tools/gollvm/libgo/CMakeLists.txt:323 (mkepoll)

I was tracking down to these lines - it could be related to one them:

https://go.googlesource.com/gollvm/+/e5452d9188dade7d731f5c4b5b88d308d3383da6/cmake/modules/AutoGenGo.cmake#337

https://go.googlesource.com/gollvm/+/e5452d9188dade7d731f5c4b5b88d308d3383da6/cmake/modules/AutoGenGo.cmake#347

Ivan

@cherrymui
Copy link
Contributor

@cherrymui cherrymui commented Aug 9, 2020

Currently gollvm does not support Windows, so it is expected not to work. If you want to work on it, that is great. Otherwise there is no need to file a bug report, as it is technically not a bug. Thanks.

@cherrymui cherrymui closed this Aug 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.