Comments (3)
I must admit, I had not tested "make boot" in a while. I did find an error not related to what you found. LLVM has changed the way one turns off inlining, so I had to remove the -I flag from Makefile. Other than that, it built find on Fedora 32 with gcc-12.2., llvm-14.0. What is different with your Ubuntu, newer gcc? What error did you get without the "--relocation-model=pic" flag to llc?
from esl.
The error in question is
/usr/bin/ld: /tmp/ccH9NUFl.o: relocation R_X86_64_32 against `.rodata.str1.1' can not be used when making a PIE object; recompile with -fPIE
and appears to be the result of a stupid decision by whowever maintains the gcc Ubuntu package to always enforce PIE. Stock gcc that I compile from source myself does not issue that error.
from esl.
I'm not sure that forceing PIE for all architectures won't break something, and I don't know how to test for when its needed, so I'll make people modify the Makefile when its need.
On another subject, can you test on other architectures such as aarch64 and/or powerpc?
from esl.
Related Issues (7)
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 esl.