Code Monkey home page Code Monkey logo

Comments (7)

phillipjohnston avatar phillipjohnston commented on August 15, 2024

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.

phillipjohnston avatar phillipjohnston commented on August 15, 2024

mesonbuild/meson#12530

from libc.

tdyjv avatar tdyjv commented on August 15, 2024

Would there be a quick workaround to disable the cmocka cross build ?

from libc.

phillipjohnston avatar phillipjohnston commented on August 15, 2024

Just completed the changes and pushed to the repo if you want to give that a try.

from libc.

tdyjv avatar tdyjv commented on August 15, 2024

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.

phillipjohnston avatar phillipjohnston commented on August 15, 2024

Do you recall the error? Was that in the skeleton?

from libc.

tdyjv avatar tdyjv commented on August 15, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.