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

__NDK_FPABI__ is not empty for -mfloat-abi=softfp in r12 #142

Closed
bog-dan-ro opened this issue Jun 30, 2016 · 6 comments
Closed

__NDK_FPABI__ is not empty for -mfloat-abi=softfp in r12 #142

bog-dan-ro opened this issue Jun 30, 2016 · 6 comments
Assignees
Labels
Milestone

Comments

@bog-dan-ro
Copy link

As described in #32 __NDK_FPABI__ is still defined as __attribute__((pcs("aapcs"))) for -mfloat-abi=softfp

@enh
Copy link
Contributor

enh commented Jun 30, 2016

is that causing you problems? we haven't gone back and cleaned up the old header files. r13 should have the unified headers which won't contain any of this (since it was never in the platform at all).

@bog-dan-ro
Copy link
Author

Yes, this is causing some problems, I came with an ugly workaround https://codereview.qt-project.org/#/c/160450/ but a proper fix from NDK will be nicer.

What do you mean by unified headers in r13? Please don't tell me that you are going to break the current NDK layout :) .

@enh
Copy link
Contributor

enh commented Jun 30, 2016

see issue #120 for more on unified headers.

@DanAlbert DanAlbert added this to the r13 milestone Jul 7, 2016
qtprojectorg pushed a commit to qt/qtbase that referenced this issue Jul 20, 2016
Should be reverted when android/ndk#142 is fixed.

Change-Id: Ie68807062247bee4969bc9aa00b0221c8147fed7
Reviewed-by: Eskil Abrahamsen Blomfeldt <[email protected]>
@bog-dan-ro
Copy link
Author

Is this issue fixed in r13 beta1 ?

@DanAlbert
Copy link
Member

No, but a change is in for beta 2. https://android-review.googlesource.com/#/c/248156/

Though, I just grepped in the sources to check, and it looks like I missed some. I'll get those now.

@DanAlbert DanAlbert assigned DanAlbert and unassigned jmgao Aug 2, 2016
BoredOutOfMyGit pushed a commit to codeaurora-unofficial/platform-development that referenced this issue Aug 8, 2016
Ugh. We had redefinitions of all the __builtin_* math functions in
here.

Test: ./checkbuild.py
Bug: android/ndk#142
Change-Id: Iec187c3a542e2dc9b3d628c2a9aa3fb45d7986ef
@bog-dan-ro
Copy link
Author

I can confirm that beta 2 fixed the problem.
Thanks!

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

No branches or pull requests

4 participants