Open
Description
I built https://github.com/openharmony/third_party_llvm-project on debian 12 arm64 VM on my HarmonyOS PC and installed it to $TOOL_HOME/sdk/default/openharmony/native/llvm
to overwriting the x86 version. It works fine when I run ./build-linux.sh -b
, almost all packages compile successfully, except for libglib:
Dependency sysprof-capture-4 from subproject subprojects/sysprof found: YES 3.45.0
Checking if "where to find the exponent in a 'double'" runs: DID NOT COMPILE
Checking if "printf supports large precisions" runs: DID NOT COMPILE
Checking if "printf survives out-of-memory conditions" runs: DID NOT COMPILE
Checking if "printf supports the zero flag correctly" runs: DID NOT COMPILE
Checking if "printf supports the left-adjust flag correctly" runs: DID NOT COMPILE
Checking if "printf supports the grouping flag" runs: DID NOT COMPILE
Checking if "printf supports the 'a' and 'A' directives" runs: DID NOT COMPILE
Checking if "printf supports the 'F' directive" runs: DID NOT COMPILE
Checking if "printf supports the 'ls' directive" runs: DID NOT COMPILE
Checking if "printf supports 'long double' arguments" runs: DID NOT COMPILE
Checking if "printf supports infinite 'double' arguments" runs: DID NOT COMPILE
Compiler for C supports arguments -Wno-format-nonliteral: YES
Compiler for C supports arguments -Wno-duplicated-branches: NO
Checking if "frexp works" with dependency -lm runs: DID NOT COMPILE
Checking if "frexpl works" with dependency -lm runs: DID NOT COMPILE
Checking if "frexpl prototype can be re-listed" compiles: YES
glib/gnulib/meson.build:316:2: ERROR: Problem encountered: frexpl() is missing or broken beyond repair, and we have nothing to replace it with
A full log can be found at /home/hu60/work/Termony/build-hnp/libglib/temp/glib/build/meson-logs/meson-log.txt
WARNING: Running the setup command as `meson [options]` instead of `meson setup [options]` is ambiguous and deprecated.
make[1]: *** [Makefile:19:all] 错误 1
make[1]: 离开目录“/home/hu60/work/Termony/build-hnp/libglib”
make: *** [Makefile:85:libglib/.stamp] 错误 2
make: 离开目录“/home/hu60/work/Termony/build-hnp”
Does anyone know how to fix it? I'm not very familiar with glib's build configuration.
Full logs:
Metadata
Metadata
Assignees
Labels
No labels