public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android
@ 2021-08-04 23:44 unlvsur at live dot com
  2021-08-05  0:07 ` [Bug target/101785] " pinskia at gcc dot gnu.org
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2021-08-04 23:44 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

            Bug ID: 101785
           Summary: Android macro is not defined for aarch64-linux-android
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: unlvsur at live dot com
  Target Milestone: ---

int main()
{
#if defined(__ANDROID__) || defined(__BIONIC__) || defined(ANDROID)
dgdsg;
#endif
}

aarch64-linux-android-g++ -c a.cc

compilation success. ANDROID macro is not defined

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] Android macro is not defined for aarch64-linux-android
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
@ 2021-08-05  0:07 ` pinskia at gcc dot gnu.org
  2021-08-05  0:08 ` [Bug target/101785] aarch64-linux-android is not supported pinskia at gcc dot gnu.org
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-05  0:07 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |enhancement
           Keywords|                            |build

--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
ANDROID_TARGET_OS_CPP_BUILTINS is not called from TARGET_OS_CPP_BUILTINS in
config/aarch64/aarch64-linux.h .


That is there is no support for android for aarch64 at all.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] aarch64-linux-android is not supported
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
  2021-08-05  0:07 ` [Bug target/101785] " pinskia at gcc dot gnu.org
@ 2021-08-05  0:08 ` pinskia at gcc dot gnu.org
  2021-08-05  0:37 ` pinskia at gcc dot gnu.org
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-05  0:08 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

--- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 101784 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] aarch64-linux-android is not supported
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
  2021-08-05  0:07 ` [Bug target/101785] " pinskia at gcc dot gnu.org
  2021-08-05  0:08 ` [Bug target/101785] aarch64-linux-android is not supported pinskia at gcc dot gnu.org
@ 2021-08-05  0:37 ` pinskia at gcc dot gnu.org
  2021-12-10 11:56 ` pinskia at gcc dot gnu.org
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-08-05  0:37 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 99964 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] aarch64-linux-android is not supported
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
                   ` (2 preceding siblings ...)
  2021-08-05  0:37 ` pinskia at gcc dot gnu.org
@ 2021-12-10 11:56 ` pinskia at gcc dot gnu.org
  2022-01-21  3:05 ` pinskia at gcc dot gnu.org
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2021-12-10 11:56 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |zhoujun48 at huawei dot com

--- Comment #4 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 79774 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] aarch64-linux-android is not supported
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
                   ` (3 preceding siblings ...)
  2021-12-10 11:56 ` pinskia at gcc dot gnu.org
@ 2022-01-21  3:05 ` pinskia at gcc dot gnu.org
  2022-01-21  3:40 ` unlvsur at live dot com
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-01-21  3:05 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

--- Comment #5 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
*** Bug 104155 has been marked as a duplicate of this bug. ***

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] aarch64-linux-android is not supported
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
                   ` (4 preceding siblings ...)
  2022-01-21  3:05 ` pinskia at gcc dot gnu.org
@ 2022-01-21  3:40 ` unlvsur at live dot com
  2022-01-21  4:28 ` unlvsur at live dot com
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2022-01-21  3:40 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

--- Comment #6 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #5)
> *** Bug 104155 has been marked as a duplicate of this bug. ***

I have finished the patch basically. I think i can submit one and let you
review for android aissues.

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] aarch64-linux-android is not supported
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
                   ` (5 preceding siblings ...)
  2022-01-21  3:40 ` unlvsur at live dot com
@ 2022-01-21  4:28 ` unlvsur at live dot com
  2022-01-22 21:21 ` unlvsur at live dot com
  2022-01-22 21:21 ` unlvsur at live dot com
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2022-01-21  4:28 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

--- Comment #7 from cqwrteur <unlvsur at live dot com> ---
Created attachment 52252
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52252&action=edit
android issues fix. Fix aarch64-linux-android target

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] aarch64-linux-android is not supported
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
                   ` (6 preceding siblings ...)
  2022-01-21  4:28 ` unlvsur at live dot com
@ 2022-01-22 21:21 ` unlvsur at live dot com
  2022-01-22 21:21 ` unlvsur at live dot com
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2022-01-22 21:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

--- Comment #8 from cqwrteur <unlvsur at live dot com> ---
(In reply to Andrew Pinski from comment #5)
> *** Bug 104155 has been marked as a duplicate of this bug. ***

https://gcc.gnu.org/pipermail/gcc-patches/2022-January/589107.html

Hi Andrew pinski, Can you review this patch?

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bug target/101785] aarch64-linux-android is not supported
  2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
                   ` (7 preceding siblings ...)
  2022-01-22 21:21 ` unlvsur at live dot com
@ 2022-01-22 21:21 ` unlvsur at live dot com
  8 siblings, 0 replies; 10+ messages in thread
From: unlvsur at live dot com @ 2022-01-22 21:21 UTC (permalink / raw)
  To: gcc-bugs

https://gcc.gnu.org/bugzilla/show_bug.cgi?id=101785

--- Comment #9 from cqwrteur <unlvsur at live dot com> ---
Created attachment 52270
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52270&action=edit
fix linker searching issue for aarch64-linux-android

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-01-22 21:21 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-04 23:44 [Bug c++/101785] New: Android macro is not defined for aarch64-linux-android unlvsur at live dot com
2021-08-05  0:07 ` [Bug target/101785] " pinskia at gcc dot gnu.org
2021-08-05  0:08 ` [Bug target/101785] aarch64-linux-android is not supported pinskia at gcc dot gnu.org
2021-08-05  0:37 ` pinskia at gcc dot gnu.org
2021-12-10 11:56 ` pinskia at gcc dot gnu.org
2022-01-21  3:05 ` pinskia at gcc dot gnu.org
2022-01-21  3:40 ` unlvsur at live dot com
2022-01-21  4:28 ` unlvsur at live dot com
2022-01-22 21:21 ` unlvsur at live dot com
2022-01-22 21:21 ` unlvsur at live dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).