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

[Aarch64] Remove -fsigned-char flag and fix resulting failure #7458

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

jim-saxman
Copy link
Contributor

Remove the -fsigned-char flag for Aarch64 systems. As a result,
the unit test zend/good/ext/fileinfo/tests/finfo_file_002.php
began failing. Thus, this patch changes a cast to (signed char),
and the unit test passes again.

Remove the -fsigned-char flag for Aarch64 systems. As a result,
the unit test zend/good/ext/fileinfo/tests/finfo_file_002.php
began failing. Thus, this patch changes a cast to (signed char),
and the unit test passes again.
@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks!

If you are contributing on behalf of someone else (eg your employer): the individual CLA is not sufficient - use https://developers.facebook.com/opensource/cla?type=company instead. Contact [email protected] if you have any questions.

@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@hhvm-bot
Copy link
Contributor

hhvm-bot commented Nov 3, 2016

@aorenste has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@mxw mxw self-assigned this Dec 2, 2016
@mxw
Copy link
Contributor

mxw commented Dec 2, 2016

What is the higher-level goal of this change?

@jim-saxman
Copy link
Contributor Author

Patch #7361 introduced the -fsigned-char flag and has the backstory for why I am removing it.

@mxw
Copy link
Contributor

mxw commented Dec 5, 2016

Hmmm, I don't think I ever saw that one. Looping in @dave-estes and @apinski-cavium. Have you guys done any more testing w.r.t. signed chars since back then?

As I just commented on the previous PR, the concern about mismatched ABIs is pretty compelling to me, and I think we should make this change; I'm just curious if anyone else has had any problems with it since then.

@dave-estes-QCOM
Copy link
Contributor

We've been running with and without signed chars for a while. In light of @apinski-cavium concerns, I think we should go ahead with this change to revert back to signed chars for ARM. If there are any latent bugs in HHVM, then we'll just have to find them.

@dave-estes-QCOM
Copy link
Contributor

@mxw, is there anything else needed to land this PR?

@mxw
Copy link
Contributor

mxw commented Jan 18, 2017

@dave-estes—I need to do some more testing internally. The CMake build doesn't affect us, but our internal tests stress the system more.

Sorry for putting this off; it didn't seem to be blocking other changes, so I've been punting on it. I'll look into it this week.

@mofarrell mofarrell assigned mxw and unassigned mxw Apr 7, 2017
@jim-saxman
Copy link
Contributor Author

@mxw ping.... This patch still applies cleanly for me, can we get it merged?

@cmuellner
Copy link

Tested here as well -> no regressions.

@Orvid
Copy link
Contributor

Orvid commented Aug 19, 2017

thought this had landed months ago...

@jim-saxman
Copy link
Contributor Author

@Orvid Me too! I can give it another round of testing on AArch64 if needed.

@jim-saxman
Copy link
Contributor Author

This patch is still clean for AArch64 tests. There are no new failures for test/all with {"","--mode interp","--mode pgo","-r --mode pgo"}.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants