Skip to content

Fix typo in TLS initialization code #3201

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

Merged
merged 1 commit into from
Sep 9, 2019
Merged

Conversation

LemonBoy
Copy link
Contributor

@LemonBoy LemonBoy commented Sep 9, 2019

Come on guys, did you even try to run anything on ARM32?

@andrewrk andrewrk merged commit e4c3067 into ziglang:master Sep 9, 2019
@andrewrk
Copy link
Member

andrewrk commented Sep 9, 2019

I tested building it, which is how I found a7fd140. I don't personally have any hardware for testing arm32 currently. I believe @Snektron did plenty of testing for #3152 but made some typos when I asked for last-minute modifications before merging the PR.

I'm definitely open to suggestions on how we can get CI testing hooked up for ARM32.

@andrewrk
Copy link
Member

andrewrk commented Sep 9, 2019

In related news, I did order a PineBook Pro, which is expected to arrive in October. That's arm64 though.

@marler8997
Copy link
Contributor

Does qemu not work for arm32 testing?

@andrewrk
Copy link
Member

andrewrk commented Sep 9, 2019

It works but the slowdown is something like 20x. Full zig test suite - including testing optimized builds - takes ~48 hours. A more custom CI solution would be needed for this, as most services have much lower limits. The most generous one is Azure at 6 hours.

See here for attempt to use qemu on sr.ht: #2978 (comment)

@andrewrk
Copy link
Member

andrewrk commented Sep 9, 2019

I would still be interested in setting something like this up. We could have a dedicated instance that runs the latest master branch commit, however long it takes. When that finishes, instead of trying the next commit, skips to the latest. So at least we will find out results periodically, rather than never. With this strategy we can probably take advantage of qemu and greatly increase architecture/OS coverage.

@LemonBoy
Copy link
Contributor Author

LemonBoy commented Sep 9, 2019

It works but the slowdown is something like 20x.

I'm using QEMU's user-mode emulation to run the cross-compiled test artifacts.

@andrewrk
Copy link
Member

andrewrk commented Sep 9, 2019

That's good to know. I need to learn how to use that.

@andrewrk
Copy link
Member

andrewrk commented Sep 9, 2019

Ideally we could add it as a build option, e.g. -Denable-qemu-testing, and it will run the applicable cross-compiled test artifacts. Combined with -Denable-wine-testing I think we'd be able to run everything except for macOS.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants