-
Notifications
You must be signed in to change notification settings - Fork 166
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
update clang on FreeBSD 10 #723
Comments
Ok, I will open a PR tomorrow. |
ping |
Truly sorry :( $wrk, etc etc. I will get to it as soon as I can; likely tomorrow morning. |
ping @nodejs/build (no worries @jbergstroem. I totally understand that you can be busy) |
@gibfahn Did you mean to add the |
Was |
I'm going to be taking a look at it this week. |
@targos I've taken a look at this and it's not too straightforward. I have opened #772 for the first step, installing the As a side note, are the builds still failing with 3.4.1? I don't see any indication of the original build issue in the CI or in my local builds. |
@kfarnung Thank you for looking into this. The latest failure on CI is here: https://ci.nodejs.org/job/node-test-commit-freebsd/9863/nodes=freebsd10-64/console |
Thanks @targos, that was the key. I'm now able to repro the crash. Unfortunately I'm still seeing the crash on 3.4.2, see attached, so I'm going to try 3.5 (EDIT: also failing) and 3.8 (EDIT: passing) as well, just to see if any of the newer versions resolve the issue. Attempts
|
@jbergstroem Is there any objection to upgrading clang to 3.8.1? That's approximately the same version as FreeBSD 11 (which uses 3.8.0). |
@kfarnung I will have a chat with package maintainers in FreeBSD seeing how they should/would run into this as well. |
I've emailed with @bradleythughes (one of the node maintainers in ports/freebsd) about this and their build system can reproduce the same issues. The idea is to spend a bit of time seeing how feasible it is to fix this upstream (v8). In general, is the v8 team moving forward with raising the lowest required clang version? @targos do you perhaps know? |
@jbergstroem I don't know if there is a lowest required clang version. |
Can we get this upgrade? This is blocking us from the V8 6.0 release |
Sounds like we need to bisect and then have that fix backported. Upgrading clang sounds good too, but a backport sounds quicker. |
The error message from nodejs/node-v8#1 (comment) mentions:
The code for AsyncCompileJob moved in v8/v8@c7892d3. |
I give up. This file had too many changes between 6.0 and the refactoring... |
So, have we established a version we're going with? |
If we want to stay with current OS packages then it's 3.8.1 (which is slightly ahead of the FreeBSD 11 machine which uses 3.8.0). |
3.8.1 SGTM |
Ok, I can do the PR. |
You can base it on #772 |
@targos I dug in a little bit more and it would appear the biggest change (aside from the giant refactor) was making |
I think I have a fix |
@MylesBorins We updated the baseline to clang 3.4.2 for precisely the reason you describe in the commit log. |
The FreeBSD platform arguably doesn't have enough dedicated maintainers to be considered a Tier 2 platform. However I think it does match the requirements for Experimental: ``` These are often working to be promoted to Tier 2 but are not quite ready. There is at least one individual actively providing maintenance and the team is striving to broaden quality and reliability of support. ``` AFAICT Johan (jbergstroem) has been singlehandedly maintaining support. We get a fair number of FreeBSD specific issues, most recently with V8 6.0 (which I don't think officially supports FreeBSD). This is intended as a conversation starter, I have no strong feelings about this. If there are actually a bunch of people in @nodejs/platform-freebsd who have the time to fix issues (or if I just didn't notice...) then this can be closed. To clarify, making FreeBSD experimental doesn't mean that we'll stop testing our xLinux builds on the platform, it just means that we won't necessarily be blocked on FreeBSD specific issues on (for example) V8 upgrades. Refs: nodejs#14384 Refs: nodejs/build#723
I landed a fix upstream to V8 ... So we are good either way 😂
…On Jul 26, 2017 2:20 AM, "Ben Noordhuis" ***@***.***> wrote:
@MylesBorins <https://github.com/mylesborins> We updated the baseline to
clang 3.4.2 for precisely the reason you describe in the commit log.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#723 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAecV522HdXUmeggtI1ldft4j9HHoOdpks5sRwTqgaJpZM4NcDmN>
.
|
@MylesBorins could you please link to your change in upstream V8? |
Ah, nvm, found it https://chromium-review.googlesource.com/c/v8/v8/+/585979 |
I suppose this can be closed for now. |
Ref: nodejs/node-v8#1
Latest V8 cannot be compiled with version 3.4.1. We should try to update to 3.4.2 and see if that fixes the crash.
/cc @jbergstroem
The text was updated successfully, but these errors were encountered: