Comments (2)
This error was caused by relocation sections being placed before their targets (f.ex .rela.text before .text). Turns out lld is more pedantic than gnu linker, so I fixed some more issues as well before it stopped complaining. Should work now.
Thanks for reporting this. Using lld was very useful to validate the generated object files.
from lacc.
Great! Can confirm that lld can now link the selfhost lacc here too.
from lacc.
Related Issues (20)
- Incorrect code generated for function calls in initializers HOT 1
- Failing tests HOT 1
- Tricky abstract function declarator cases HOT 1
- Compound literal in initializer HOT 1
- cpp can't be used for non-C files HOT 3
- support GNU extension of ##__VA_ARGS__ HOT 2
- What's missing from newer C versions? HOT 1
- Size of standard types HOT 2
- C89 code generator backend HOT 1
- Assert macro fail in compile.c HOT 3
- cp: unrecognized option: target-directory HOT 5
- Compile static inline is failing HOT 1
- Mac OS X HOT 1
- Is there a plan to support windows?
- ld can not find the input symbol _start HOT 24
- Add a -s flag that will strip symbols from output after compilation HOT 3
- Cannot compile from assembly HOT 5
- Invalid memory read detected by valgrind
- Self-host build fails HOT 2
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 lacc.