GithubHelp home page GithubHelp logo

Comments (6)

ptitSeb avatar ptitSeb commented on August 27, 2024

custommem.c define a overloaded mmap64 symbol, over libc one. It's important for the BOX64_MMAP32=1 handling. If it doesn't work for you, you can comment lines 1720-1740 of that file, but then this function will not work...

from box64.

rtissera avatar rtissera commented on August 27, 2024

Thanks for your quick answer, I am attempting an RV64 build to see if it's AArch64 specific or an issue on my toolchain/environment.
Maybe I should save generated output assembly code frrom GCC to inspect the issue further.

from box64.

rtissera avatar rtissera commented on August 27, 2024

Same issue on RV64 build (as expected since custommem.c is not architecture-dependent..).
Need to find why GCC 13.3 creeps on that in cross-compiling environment (GLIBC 2.38.44).

from box64.

ptitSeb avatar ptitSeb commented on August 27, 2024

Never seen this issue before. And overloading function is pretty common...
Maybe those 2 function (mmap and munmap) should be moved to a separate file, with limited include file to avoid declaration of libc mmap64?

from box64.

rtissera avatar rtissera commented on August 27, 2024

from box64.

rtissera avatar rtissera commented on August 27, 2024

#1552 passes okay.

from box64.

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.