Coder Social home page Coder Social logo

Failure to build from source about esl HOT 3 OPEN

tkoenig1 avatar tkoenig1 commented on September 16, 2024
Failure to build from source

from esl.

Comments (3)

bagel99 avatar bagel99 commented on September 16, 2024

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.

tkoenig1 avatar tkoenig1 commented on September 16, 2024

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.

bagel99 avatar bagel99 commented on September 16, 2024

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 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.