Git Product home page Git Product logo

Comments (6)

travisg avatar travisg commented on June 11, 2024

You're using the linux toolchain, which is not supported. I think it's confusing the dlmalloc code, which thinks it is building for linux.

from lk.

bingzhux avatar bingzhux commented on June 11, 2024

yes, looks like toolchain issue, i didn't have this build issue.

from lk.

nvll avatar nvll commented on June 11, 2024

Let us know if this or a similar issue persists with the correct toolchain.

from lk.

egrimley-arm avatar egrimley-arm commented on June 11, 2024

For what it's worth, I was able to build with aarch64-linux-gnu-gcc by inserting #undef linux at the start of external/lib/heap/dlmalloc/dlmalloc.c. Since aarch64-linux-gnu-gcc is part of Debian and Ubuntu, using the wrong toolchain might be easier for some people. See also #195.

from lk.

mu578 avatar mu578 commented on June 11, 2024

that's a classic mixing up OSTYPE platforms with host/target specifics; you should never rely on generic-vendor targets.

from lk.

travisg avatar travisg commented on June 11, 2024

Probably fairly harmless to undef the linux thing, though clearly it's a hack. Too bad it's actually set by the compiler. Wonder if it's possible to -Ulinux it on the command line, if the build system detects a linux toolchain...

from lk.

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.