summary refs log tree commit diff stats
path: root/results/scraper/box64/357
blob: c461add6ca7480946b895d93b6f8bb21750c01be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
/usr/bin/cc - broken when cmake -DRPI4ARM64=1
Hi! I was following this tutorial: https://www.reddit.com/r/valheim/comments/s1os21/create_your_own_free_dedicated_server/

Like written in the post, I'm running a `Linux instance1 5.15.0-1013-oracle #17-Ubuntu SMP Fri Jun 24 10:14:16 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux` from the Free Tier subscription of Oracle Cloud.

I had no problems with box86, but when I tried `cmake .. -DRPI4ARM64=1 -DCMAKE_BUILD_TYPE=RelWithDebInfo` with box64, I got this error from cmake:

```
-- Found Python3: /usr/bin/python3.10 (found version "3.10.4") found components: Interpreter
-- The C compiler identification is unknown
-- The ASM compiler identification is GNU
-- Found assembler: /usr/bin/cc
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - failed
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc - broken
CMake Error at /usr/share/cmake-3.22/Modules/CMakeTestCCompiler.cmake:69 (message):
  The C compiler

    "/usr/bin/cc"

  is not able to compile a simple test program.

  It fails with the following output:

    Change Dir: /home/fred/box64/build/CMakeFiles/CMakeTmp

    Run Build Command(s):/usr/bin/gmake -f Makefile cmTC_ae2bb/fast && /usr/bin/gmake  -f CMakeFiles/cmTC_ae2bb.dir/build.make CMakeFiles/cmTC_ae2bb.dir/build
    gmake[1]: Entering directory '/home/fred/box64/build/CMakeFiles/CMakeTmp'
    Building C object CMakeFiles/cmTC_ae2bb.dir/testCCompiler.c.o
    /usr/bin/cc    -o CMakeFiles/cmTC_ae2bb.dir/testCCompiler.c.o -c /home/fred/box64/build/CMakeFiles/CMakeTmp/testCCompiler.c
    Assembler messages:
    Error: unrecognized option -mabi=lp64
    gmake[1]: *** [CMakeFiles/cmTC_ae2bb.dir/build.make:78: CMakeFiles/cmTC_ae2bb.dir/testCCompiler.c.o] Error 1
    gmake[1]: Leaving directory '/home/fred/box64/build/CMakeFiles/CMakeTmp'
    gmake: *** [Makefile:127: cmTC_ae2bb/fast] Error 2

  CMake will not be able to correctly generate this project.
Call Stack (most recent call first):
  CMakeLists.txt:75 (project)

-- Configuring incomplete, errors occurred!
See also "/home/fred/box64/build/CMakeFiles/CMakeOutput.log".
See also "/home/fred/box64/build/CMakeFiles/CMakeError.log".
```

If others are able to run it in the oracle cloud using the free and their aarch64, why am I not? Is that a bug or am I just stupid?