Skip to content
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

Drop the optimisation level for ppc64le cross-compile #19056

Closed
wants to merge 1 commit into from

Conversation

mattcaswell
Copy link
Member

The default cross compiler (gcc 9.4.0) for ppc64le on Ubunut 20.04 seems
buggy and causes a seg fault in sslapitest. This doesn't impact any other
CI cross compile platforms and does not seem to impact the gcc 10.3.0 cross
compiler.

We just drop the optimisation level on that platform.

The default cross compiler (gcc 9.4.0) for ppc64le on Ubunut 20.04 seems
buggy and causes a seg fault in sslapitest. This doesn't impact any other
CI cross compile platforms and does not seem to impact the gcc 10.3.0 cross
compiler.

We just drop the optimisation level on that platform.
@mattcaswell mattcaswell added branch: master Merge to master branch approval: review pending This pull request needs review by a committer approval: otc review pending This pull request needs review by an OTC member labels Aug 24, 2022
@hlandau hlandau removed the approval: review pending This pull request needs review by a committer label Aug 24, 2022
@hlandau
Copy link
Member

hlandau commented Aug 24, 2022

Approved subject to CI

@t8m t8m added triaged: bug The issue/pr is/fixes a bug severity: urgent Fixes an urgent issue (exempt from 24h grace period) labels Aug 24, 2022
@t8m
Copy link
Member

t8m commented Aug 24, 2022

As this is to fix the CI on-push breakage, IMO it is urgent. Do you agree @hlandau @mattcaswell?

@t8m t8m added approval: done This pull request has the required number of approvals and removed approval: otc review pending This pull request needs review by an OTC member labels Aug 24, 2022
@mattcaswell
Copy link
Member Author

Yes agreed urgent.

The CI that fails only runs on push, not on a PR. However I have this running in my own personal fork here:

https://github.com/mattcaswell/openssl/runs/7996920461?check_suite_focus=true

I suggest waiting to push until that job is complete (and is green).

@hlandau
Copy link
Member

hlandau commented Aug 24, 2022

Agreed urgent

@hlandau
Copy link
Member

hlandau commented Aug 24, 2022

I'll leave this to @mattcaswell to merge.

@mattcaswell
Copy link
Member Author

That build on my fork is green so - pushed.

openssl-machine pushed a commit that referenced this pull request Aug 24, 2022
The default cross compiler (gcc 9.4.0) for ppc64le on Ubunut 20.04 seems
buggy and causes a seg fault in sslapitest. This doesn't impact any other
CI cross compile platforms and does not seem to impact the gcc 10.3.0 cross
compiler.

We just drop the optimisation level on that platform.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from #19056)
@paulidale
Copy link
Contributor

How confident are we that it is just the optimiser causing a problem rather than the optimiser exposing a bug?

@mattcaswell
Copy link
Member Author

How confident are we that it is just the optimiser causing a problem rather than the optimiser exposing a bug?

Well I can't be 100% sure, but it does not appear on any other platform and the problem goes away when using a later version of gcc (10.3.0). So my assumption is that this really is a compiler bug.

sftcd pushed a commit to sftcd/openssl that referenced this pull request Sep 24, 2022
The default cross compiler (gcc 9.4.0) for ppc64le on Ubunut 20.04 seems
buggy and causes a seg fault in sslapitest. This doesn't impact any other
CI cross compile platforms and does not seem to impact the gcc 10.3.0 cross
compiler.

We just drop the optimisation level on that platform.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from openssl#19056)
t8m pushed a commit to t8m/openssl that referenced this pull request Nov 21, 2022
The default cross compiler (gcc 9.4.0) for ppc64le on Ubunut 20.04 seems
buggy and causes a seg fault in sslapitest. This doesn't impact any other
CI cross compile platforms and does not seem to impact the gcc 10.3.0 cross
compiler.

We just drop the optimisation level on that platform.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from openssl#19056)

(cherry picked from commit 200d952)
openssl-machine pushed a commit that referenced this pull request Nov 23, 2022
The default cross compiler (gcc 9.4.0) for ppc64le on Ubunut 20.04 seems
buggy and causes a seg fault in sslapitest. This doesn't impact any other
CI cross compile platforms and does not seem to impact the gcc 10.3.0 cross
compiler.

We just drop the optimisation level on that platform.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from #19056)

(cherry picked from commit 200d952)
beldmit pushed a commit to beldmit/openssl that referenced this pull request Dec 26, 2022
The default cross compiler (gcc 9.4.0) for ppc64le on Ubunut 20.04 seems
buggy and causes a seg fault in sslapitest. This doesn't impact any other
CI cross compile platforms and does not seem to impact the gcc 10.3.0 cross
compiler.

We just drop the optimisation level on that platform.

Reviewed-by: Tomas Mraz <tomas@openssl.org>
Reviewed-by: Hugo Landau <hlandau@openssl.org>
(Merged from openssl#19056)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approval: done This pull request has the required number of approvals branch: master Merge to master branch severity: urgent Fixes an urgent issue (exempt from 24h grace period) triaged: bug The issue/pr is/fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants