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

games/xash3d: build fails on i386 #148

Open
larb0b opened this issue Jan 27, 2022 · 3 comments
Open

games/xash3d: build fails on i386 #148

larb0b opened this issue Jan 27, 2022 · 3 comments

Comments

@larb0b
Copy link

larb0b commented Jan 27, 2022

===>  Configuring for xash3d-hl-0.0.70bd3a2                            [26/1964]
CMake Deprecation Warning at CMakeLists.txt:23 (cmake_minimum_required):
  Compatibility with CMake < 2.8.12 will be removed from a future version of
  CMake.

  Update the VERSION argument <min> value or use a ...<max> suffix to tell
  CMake that the project does not need compatibility with older versions.


-- The C compiler identification is Clang 11.1.0
-- The CXX compiler identification is Clang 11.1.0
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working C compiler: /usr/ports/pobj/xash3d-hl-0.0.70bd3a2/bin/cc -
skipped
-- Detecting C compile features
-- Detecting C compile features - done
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/ports/pobj/xash3d-hl-0.0.70bd3a2/bin/c++
 - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:65 (message):
  You enabled XASH_64BIT, but compiler can't create 64 bit code!

It seems XASH_64BIT is still getting defined even though I'm on a 32-bit platform.

@larb0b
Copy link
Author

larb0b commented Jan 27, 2022

CONFIGURE_ARGS += -D64BIT=yes

Commenting this line out in all of the Makefiles allows it to continue. I'm not sure why the if above would succeed however.

@larb0b
Copy link
Author

larb0b commented Jan 27, 2022

opfor is also broken as hlsdk-xash3d-opfor-b669960.tar.gz is missing from all mirrors.

@rfht
Copy link
Collaborator

rfht commented Oct 23, 2023

sounds like this arch detection isn't working:

.if ${ARCH:M${LP64_ARCHS}}

someone will need to write and test a fix...

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

2 participants