-
-
Notifications
You must be signed in to change notification settings - Fork 57
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Compiler Backend Fatal Issues #463
Comments
Thanks! Will look into it. |
Cannot reproduce with the latest nightly available here: https://github.com/CE-Programming/toolchain/releases/tag/nightly |
Can repro now - maybe tell me that you decided to revert everything in your repo or provide a git hash next time please. |
Opened an issue for the compiler: jacobly0/llvm-project#41 |
The nightly toolchain just wasn't pulling the "correct" compiler build (due to one of the CI thing failing (the old mac build can be fixed or removed @jacobly0 :P) @Kasherpete try downloading the latest compiler build (ez80-clang) directly from the actions: https://github.com/jacobly0/llvm-project/actions/runs/6888394104 |
Reopening because this is a toolchain issue, not a compiler issue. |
Just saw all this, thanks for the time! So is this issue resolved with the latest compiler but the toolchain is not pulling the latest compiler, if I'm reading correctly? |
Got it, thanks! I'll drag/drop into |
Hey I just wanted to say that this worked, thank you so much! |
well it's still not quite solved CI-wise (toolchain needs to get the latest binary of the compiler, which should probably be uploaded as a nightly release anyway) |
Actually I have built it from source and it is not solved /home/chandler/CEDev/examples $ make
make -C hello_world/
make[1]: Entrando no diretório '/home/chandler/CEDev/examples/hello_world'
/home/chandler/CEDev/examples/hello_world/obj/lto.bc:1:2: error: expected top-level entity
section .text,"ax",@progbits
^
1 error generated.
make[1]: *** [/home/chandler/CEDev/meta/makefile.mk:331: obj/lto.src] Error 1
make[1]: Saindo do diretório '/home/chandler/CEDev/examples/hello_world'
make: *** [makefile:10: hello_world/makefile] Error 2 |
@Chandler-Kluser please stop posting in non-related issues. Open a new issue, no clue why you are building from source, read the getting started guide here: https://ce-programming.github.io/toolchain/static/getting-started.html Your issue appears to be because you are not following any directions and hacking things together. |
I am building it from source because it is the most important part of FOSS, right? If it cannot be compiled and everyone must use a release, you should think about maintaining a public repository |
It can obviously be compiled, as the releases are built by the CI already, for convenience and transparency, as you can see in the GitHub Actions logs. Not sure what you're complaining about 🙄. |
Build instructions are here. https://ce-programming.github.io/toolchain/static/contributing.html#building-the-ce-toolchain |
Closing because I believe the toolchain now pulls in the correct compiler |
I am still getting the same error:
|
Not a toolchain issue, something is wrong with your configuration. |
Additionally @Chandler-Kluser, open a new issue, you have hijacked this one with unrelated thing. |
Hello, when attempting to compile my project, it returns a fatal issue when O1 or greater is present (Oz works fine). It is a single 800 line long C file, without any external files or dependencies, and it seems like it crashes after compilation and before linking. My repository is here, feel free to
git clone
it and try it out for yourself. I will paste the output here:This started happening when I added a small, completely unrelated piece of code earlier today, I can point it out if needed. I tried on both latest normal release and nightly to no avail.
NOTE: Yes this is in the hello world example directory, I just started my project there and never bothered to move it.
The text was updated successfully, but these errors were encountered: