Skip to content
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

SFML Project not compilling on version 0.10.0-dev.3659+e5e6eb983 #12558

Open
IgorKorobeynikov opened this issue Aug 21, 2022 · 5 comments
Open
Labels
bug Observed behavior contradicts documented or intended behavior frontend Tokenization, parsing, AstGen, Sema, and Liveness.
Milestone

Comments

@IgorKorobeynikov
Copy link

IgorKorobeynikov commented Aug 21, 2022

Zig Version

0.10.0-dev.3659+e5e6eb983

Expected Behavior

My project successful compilling with 0.10.0-dev.2424+b3672e073 but not compilling with 0.10.0-dev.3659+e5e6eb983.
Project link: https://github.com/TwisteRTanks/TwisteRTanks.

Actual Behavior

image

@IgorKorobeynikov IgorKorobeynikov added the bug Observed behavior contradicts documented or intended behavior label Aug 21, 2022
@williamstein
Copy link
Contributor

I didn't open this ticket, but I have a general related question. I have several projects that have been working perfectly using the daily 0.10.0 releases up until 3659, and now ALL of them segfault immediately when trying to compile with using 0.10.0-dev.3659+e5e6eb983 (on macos). Is this the sort of thing where I should open tickets, or is it better to just wait a few weeks? My guess is you guys have a test and presumably 0.10.0-dev.3659+e5e6eb983 is segfaulting and crashing on many tests when run on a range of hosts, but that's all part of the plan?

@IgorKorobeynikov
Copy link
Author

hmmmm

@gcoakes
Copy link
Contributor

gcoakes commented Aug 21, 2022

The most recent 0.10.0 build uses the self hosted compiler by default now. You can read more on https://github.com/ziglang/zig/wiki/Self-Hosted-Compiler-Upgrade-Guide. There were several intentional changes (detailed at the bottom of that page) and presumably some new bugs which break existing projects.

@williamstein
Copy link
Contributor

Related to my question, I should add that I carefully read the upgrade guide and using -fstage1 doesn't stop the segfaults I get building any of my projects. My guess is there are significant changes to zig in this last release, even with the -fstage1 flag?

@nektro
Copy link
Contributor

nektro commented Aug 21, 2022

please include project name in title, version in title can be just 'self-hosted'

@IgorKorobeynikov IgorKorobeynikov changed the title Project not compilling on version 0.10.0-dev.3659+e5e6eb983 SFML Project not compilling on version 0.10.0-dev.3659+e5e6eb983 Aug 22, 2022
@andrewrk andrewrk added the frontend Tokenization, parsing, AstGen, Sema, and Liveness. label Aug 22, 2022
@andrewrk andrewrk added this to the 0.10.0 milestone Aug 22, 2022
@andrewrk andrewrk modified the milestones: 0.10.0, 0.10.1 Oct 12, 2022
@andrewrk andrewrk modified the milestones: 0.10.1, 0.11.0 Jan 10, 2023
@andrewrk andrewrk modified the milestones: 0.11.0, 0.11.1 Jul 20, 2023
@andrewrk andrewrk modified the milestones: 0.11.1, 0.12.0, 0.13.0 Jan 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Observed behavior contradicts documented or intended behavior frontend Tokenization, parsing, AstGen, Sema, and Liveness.
Projects
None yet
Development

No branches or pull requests

5 participants