-
-
Notifications
You must be signed in to change notification settings - Fork 143
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
Pulsar fails to build with GCC 13 #684
Comments
Do you think you're linked PR will be all that's needed to fix this issue on superstring? Since if so, that'd be very convenient lol. Or is it more likely we will have to dive a little deeper into that codebase |
I wonder if this is the same bug as I am finding with Manjaro building pulsar v 1.109.0. Yarn install produces: Normally I do not compile pulsar but run distributed binary code and link my packages for development from within the packages directory. For example, dir ~/.pulsar/packages/ianasciidocpreview-active-editor-info links to /media/.../github_from_home/CloneOfianasciidocpreview-active-editor-info-20230915_ChromeZoomWiTransformFactorInFile. After editing the package file all I need to do is reload the pulsar-edit and the changes appear. Pulsar runs with the code "/home/ian/Downloads/pulsar-1.109.0/ . --no-sandbox" (--no-sandbos seems to be needed for Ctrl-Shift-I to call the console etc.) Now, I am exploring the package markdown-preview which appears under the node-modules directory ".../pulsar/node_modules/markdown-preview/" and to edit and run it requires a locally compiled pulsar. This is following the instructions "https://pulsar-edit.dev/docs/launch-manual/sections/behind-pulsar/#Developing Node Modules" Since I am unable to compile pulsar-edit, or so it seems, I am unable to edit the node-module markdown-preview and install it into the reloaded pulsar-edit. Pulsar compiled OK previously with v1.63, I think it was, but months ago. Two questions:
Thanks for your help with this. |
I worked out the answer to this for Manjaro & Archlinux but it will be similar for other Linux versions. I know nothing about MS Win use. For Manjaro see https://wiki.archlinux.org/title/GNU_Compiler_Collection
Remember that to use pulsar package manager to see https://pulsar-edit.dev/docs/launch-manual/sections/core-hacking/#using-ppm-pulsar-package-manager Similarly if pulsar is not compiled in ~/github/pulsar then the location has to be put in I would just add that this is my first foray in using a different GCC from the installed standard GCC13. I am told that there may be consequences for Manjaro by doing this but it seems to work fine so far. When the issue is resolved by the pulsar team then I will uninstall GCC12. Please be careful and keep backups of the system! Kind wishes, I hope that this helps someone as it helped me. |
I'm hitting this same bug on arm64. For anyone curious, here's the full error output:
|
I'd be happy to attempt a fix, but I'm confused what repo to do that fix in. Just looking at |
@morganwahl you can attempt a fix in https://github.com/pulsar-edit/superstring - it's the one we're going to use from now on I'll also try to pull this PR to our fork: pulsar-edit/superstring#5, because that's what's being used in the new Electron branch |
Just confirmed this bug is present on the atom version (commit 6732087), but seems to already be fixed on the pulsar fork! (commit c2ff062 ). |
Wow... amazing! So we just need to bump superstring on Pulsar, sounds awesome! Thank you for checking it :) |
Thanks in advance for your bug report!
What happened?
Pulsar fails to build with GCC 13 - superstring uses some outdated APIs
Pulsar version
Any version < Electron 25
Which OS does this happen on?
❓ Other(Please specify in the OS details field below)
OS details
Any system that uses GCC
Which CPU architecture are you running this on?
64-bit(x86_64)
What steps are needed to reproduce this?
Try to build
Additional Information:
This PR on a completely unrelated project can give us some hints on how to fix the issue: https://github.com/EdgeTX/edgetx/pull/3224/files
The text was updated successfully, but these errors were encountered: