Comments (7)
Looks like a behavioral change in Meson is causing CMocka to fail to cross-compile (previously, it was not being compiled). Working on a fork of the build rules for that project, and then will adjust this repo to use the forked version.
from libc.
from libc.
Would there be a quick workaround to disable the cmocka cross build ?
from libc.
Just completed the changes and pushed to the repo if you want to give that a try.
from libc.
Thanks for the quick response, libc seems to have completed. I will start on the stdc++ libs now.
I had an additional error earlier in test/meson.build at line 156 which I had to change to
"native_map_file.format(meson.current_build_dir()+'/sample_app')," to continue. Not sure if that was the right thing to do or not, but it got me further.
from libc.
Do you recall the error? Was that in the skeleton?
from libc.
Output from make.....
Dependency cmocka from subproject subprojects/cmocka-1.1.7 found: YES 1.1.7
Program arm-none-eabi-objcopy found: YES (/home/jvolpe/arm-tools/bin/arm-none-eabi-objcopy)
Message: Native objcopy program not available, .hex and .bin conversion targets will be disabled.
Compiler for C supports arguments -nostdinc: YES
Compiler for C supports arguments -fno-builtin: YES
Compiler for C supports arguments -nostdinc: YES
Compiler for C supports arguments -fno-builtin: YES
Compiler for C supports arguments -nolibc: YES
Compiler for C supports arguments -nolibc: YES (cached)
Compiler for C supports arguments -nolibc: YES (cached)
Compiler for C supports arguments -nostartfiles: YES
Compiler for C supports arguments -nolibc: YES (cached)
Compiler for C supports arguments -Wno-unused-parameter: YES
Compiler for C supports arguments -Wno-stringop-truncation: YES
Compiler for C supports arguments -Wno-stringop-overflow: YES
Message: Some tests are disabled when builtins and/or optimizations are enabled.
Program arm-none-eabi-objcopy found: YES (/home/jvolpe/arm-tools/bin/arm-none-eabi-objcopy)
test/meson.build:156:12: ERROR: Unknown method "format" in object <[ArrayHolder] holds [list]: []> of type ArrayHolder.
A full log can be found at /home/jvolpe/Projects/libc/buildresults/meson-logs/meson-log.txt
make: *** [Makefile:80: buildresults/build.ninja] Error 1
from libc.
Related Issues (20)
- Consider switching from mpaland/printf to eyalroz/printf HOT 4
- Create M1 Build Variant HOT 3
- Support configuration of printf options in Meson HOT 1
- printf produces additional warnings when compiled with GCC HOT 1
- Revisit use of FLT_EPSILON HOT 5
- SSH URLs in .gitmodules HOT 2
- Feature Request: risc-v support HOT 4
- Add CMake build system
- Add MacStadium Logo
- Missing scanf family of functions HOT 4
- Add CI support for CMake Build System
- strcspn: Undefined behavior due to invalid pointer arithmetic HOT 4
- strerror: String returned for code zero (0) violates POSIX HOT 2
- heapsort and heapsort_r: Undefined behavior due to out of bounds pointer arithmetic HOT 1
- Implementing the memmove() unittests HOT 3
- Unable to checkout on windows due to invalid characters in some file names HOT 8
- Building for aarch64 using the aarch64-none-elf-gcc cross-compiler. HOT 6
- Feature Request: Add Meson project option to disable (enable?) testing HOT 2
- Looking for option to create non-thin archive for libc HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libc.