-
Notifications
You must be signed in to change notification settings - Fork 553
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
NetBSD-8.0: build-time failures using g++ as C-compiler #17381
Comments
|
Perl is wrong attempting to use C11 The proper solution is to stop trying to use a compiler extension without compiler support. |
|
Nonetheless... we added a fallback in newer headers for pre-c11 code for |
|
There is this in perl.h: What could perl do to cause it to use the fallback on already existing netbsd versions? |
|
Today probably it would be easier to do nothing and wait for NetBSD-9.0. |
|
On 12/21/19 4:23 PM, Kamil Rytarowski wrote:
Today probably it would be easier to do nothing and wait for NetBSD-9.0.
But we will want it to work on 8.0 as well
…
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#17381?email_source=notifications&email_token=AAA2DH7UOHTKO45HDAFGBWDQZ2QOLA5CNFSM4J5WLIJ2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEHPFNLA#issuecomment-568219308>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAA2DHYCVDF47V4MYNBEOH3QZ2QOLANCNFSM4J5WLIJQ>.
|
|
Replace the check of unconditional |
As discussed in the ticket, static assertions aren't always enabled here. The solution is to use our already-existing fallback to emulate static assertions in more instances as suggested in the ticket.
As discussed in the ticket, static assertions aren't always enabled here. The solution is to use our already-existing fallback to emulate static assertions in more instances as suggested in the ticket.
|
This should be fixed as of the following commit to blead: Will close once re-smoked. Thank you very much. |
|
|
Today I ran a smoke-test of Perl 5 blead in a NetBSD-8.0 VM using
g++as the C-compiler.makefailed to complete. To the best of my recollection, I have never previously tested perl on this platform with that C-compiler. However, until June of this year Carlos Guevara was testing on NetBSD-8.0 and consistently got build-time failures withg++(g++ (nb2 20180327) 5.5.0). But he upgraded that VM to NetBSD-8.1 in June and on that version of the OS compiling perl withg++no longer displayed build-time failures.If we had been testing on NetBSD, say, in 2015 when g++-5.5.0 became available, we would have discovered that this build-time failure goes back a year earlier. Bisection with this invocation:
... points to this commit:
At the breaking commit (commit 6d59e61),
makefails with this output:At HEAD (commit 4357af6),
makefails with this output:The default C-compiler on NetBSD-8.0 is gcc-5.5.0. I have no idea what importance
g++has on NetBSD, nor do I know why these build-time failures seem to be OS-version-specific. But if anyone can spot the flaw, it would help make our coding more precise.Thank you very much.
Jim Keenan
@cpansprout @cguevara
The text was updated successfully, but these errors were encountered: