-
Notifications
You must be signed in to change notification settings - Fork 608
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
GCC 4.8 support is broken #1724
Comments
Umm. Was hoping we can drop gcc 4.9... I'll see if I can debug and bring it back. @ebraminio maybe we should put back the old gcc in Travis... |
That error is so nonsensical. I'm not sure if I can fix it. |
Okay found a gcc 4.9. Debugging. |
FYI, I don't have a particular need for GCC 4.8. So if it is planned to be not supported, that is fine with me. Maybe other users will care? Just please mention GCC support in the docs or notes somewhere. |
gcc (Debian 4.9.2-10+deb8u2) 4.9.2 seems to work for me. 4.8 umm. I don't have. How critical you find this? |
Thanks. I'll mention in the release notes for next release. |
Also if you ever want to reproduce it, travis has GCC 4.8 in trusty: |
Thanks. We had that bot and removed it indeed. Without a local reproduction setup I cannot fix. It's too much trial-and-error to do remotely. |
we can bring back trusty builder maybe in CircleCI so you can log into it whenever needed but maybe we can update our compiler requirement, nodejs needs GCC 6.3 for example https://github.com/nodejs/node/blob/master/BUILDING.md#supported-toolchains |
This seems to point to the bug affecting gcc 4.8: Note that we are hitting a similar problem with multiple (more recent) versions of Visual Studio: |
So have you fixed it with VS fixes? |
No, the VS workaround requires C++14 and is guarded for MSVC only. |
TeX Live seems to require building with GCC 4.8, so this issue is affecting their builds. |
Following up with more details from Khaled's post ... gcc 4.8.5 (with lots of enhancements -- don't know what the compiler really supports and what it doesn't, due to Red Hat's crazy version number policy) is what is provided by centos 7, whose end-of-life is not until 2024. So ... is it really necessary to use C++ features that it does not support? All previous versions of harfbuzz compiled ok on centos7. I can certainly arrange for access to such a system for you if that is needed. In TeX Live, harfbuzz is a critical dependency of the xetex and (new) harftex engines, among other packages. In TL, we try to ship binaries that will work on as many systems as possible. Which means compiling on older systems, with older compilers. Updating either systems or compilers is not desirable. Thanks. |
I quickly bisected this: 2376867 |
That's not a productive point to discuss. If we let every single compiler's limitations to hold us back, we can never modernize our codebase...
Yes please do that. I can look into a workaround. |
Thanks @kberry. Should be fixed. Please test. |
indeed, it worked for me with centos7 gcc/g++. thank you so much. |
Building with GCC 4.8 on Ubuntu 14 is broken after this commit:
2376867
The build will error out:
./autogen.sh && make
producing errors similar to this:
previous commit is working:
6f51e55
The text was updated successfully, but these errors were encountered: