Comments (5)
from ptos.
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.
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.
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.
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)
- Building pTOS on a RPI2 HOT 7
- updating repo forks from project master HOT 2
- Build pTOS for Asus C201 Chromebook
- Avoiding general compiling issues HOT 3
- new kernel.img sizes on 18 August 2018 HOT 3
- icon rendering issues HOT 1
- USB driver HOT 1
- Wiki Tested page
- new builds and whats next
- building armv6 on RPi 2 HOT 2
- alignment errors on RPi 2 HOT 9
- The AES does not react to mouse events on RPI HOT 5
- Implement 8bpp chunky raster ops HOT 1
- RPi, Falcon & ST resolution handling HOT 2
- pTOS portability HOT 2
- QEMU auto detection (eg. hw mouse cursor) HOT 4
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 ptos.