Code Monkey home page Code Monkey logo

Comments (5)

kelihlodversson avatar kelihlodversson commented on July 21, 2024

from ptos.

paulwratt avatar paulwratt commented on July 21, 2024

are you sure, because in theory you should also be getting the error too, and ur not (are you?). is it a Intel build thing (vincents cross tools are on ubuntu). Are u using Windows or Linux to do ur builds?

from ptos.

paulwratt avatar paulwratt commented on July 21, 2024

some of them are needed, but I did not have to add any, so this was acceptable:

/*
ELF_LIB_REF(__mulsi3)
ELF_LIB_REF(__divsi3)
ELF_LIB_REF(__modsi3)
ELF_LIB_REF(__udivsi3)
ELF_LIB_REF(__umodsi3)
*/
ELF_LIB_REF(__aeabi_idiv)
ELF_LIB_REF(__aeabi_idivmod)
/* ELF_LIB_REF(__aeabi_udiv) */
ELF_LIB_REF(__aeabi_uidiv)
/* ELF_LIB_REF(__aeabi_udivmod) */
ELF_LIB_REF(__aeabi_uidivmod)

how come you dont get the errors? and how can this be scripted? (the QEMU option is looking mighty fine atm)

I am not 100% sure, but it is more than likely things will be the same with ANY GCC on actual RPi Raspbian (I will try to grab a latest Raspbian image and maybe GCC 7 or 8 to test next week to confirm). I would be interested to see if its the same for Raspbian x86 as well, it might be an Intel thing.

from ptos.

kelihlodversson avatar kelihlodversson commented on July 21, 2024

Looks like your version of ld requiers the target symbols to be known in a PROVIDE or EXTERN directive.
I've moved the ref's that you identified as not being needed and/or defined on the RPI into an #if !defined(MACHINE_RPI)

from ptos.

paulwratt avatar paulwratt commented on July 21, 2024

just to confirm, these are still needed when building on RPi Raspbian:

ELF_LIB_REF(__aeabi_idiv)
ELF_LIB_REF(__aeabi_idivmod)
ELF_LIB_REF(__aeabi_uidiv)
ELF_LIB_REF(__aeabi_uidivmod)

from ptos.

Related Issues (17)

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.