-
Notifications
You must be signed in to change notification settings - Fork 33
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
804.036 + master (f0bb386b): build fails #98
Comments
#91 proposed a solution for these implicit |
I think this error likely means that the pregcomp2.c configuration test unexpectedly failed. |
These errors are due to Perl/perl5@f8552c1 (i.e. Perl 5.37.6) which changed |
Just FTR: I found that issue on building perl-Tk in in build env with perl 5.38.2. |
Compilers such as Apple Xcode clang 14.2 already emit this warning by default:
But as seen in #98 (comment) the reporter’s gcc 14 compiler considers this to be an error by default rather than a warning. So that is likely why the pregcomp2.c configuration test failed unexpectedly. I believe a workaround would be to use |
For the record, I needed the patch attached to https://bugzilla.opensuse.org/show_bug.cgi?id=1225909#c1 to make openSUSE perl-tk build without -fpermissive with GCC 14. In the end, I decided to use only the configuration options of the patch (mainly because apparently the configuration mechanism was not passing the option to GCC when compiling its snippets and so they are necessary) and rely on -fpermissive for the rest in order not to introduce too much divergence from upstream. |
gcc 14 glibc snapshot from Fedora rawhide.All build with
-Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS
in $CFLAGS (this changes some warnings to eerors)Build fails with
The text was updated successfully, but these errors were encountered: