public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "noan at email dot com" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/95651] New: GCC compilation error on AArch64: error: expected expression: AARCH64_INIT_MEMTAG_BUILTINS_DECL
Date: Fri, 12 Jun 2020 09:14:37 +0000	[thread overview]
Message-ID: <bug-95651-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 95651
           Summary: GCC compilation error on AArch64: error: expected
                    expression: AARCH64_INIT_MEMTAG_BUILTINS_DECL
           Product: gcc
           Version: 10.1.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: noan at email dot com
  Target Milestone: ---

I have built GCC (10.1.0) many times from source on x86. I tried the same on
AArch64 and it failed with the following error:

../.././gcc/config/aarch64/aarch64-builtins.c:1225:3: error: expected
expression
  AARCH64_INIT_MEMTAG_BUILTINS_DECL (IRG, irg, irg, fntype);
...

I build on Ubuntu 20.04 with the stock GCC 9.3.0 compiler:

$ lsb_release -d
Description:    Ubuntu 20.04 LTS

$ gcc --version
gcc (Ubuntu 9.3.0-10ubuntu2) 9.3.0

$ uname -a
Linux pi64 5.4.0-1008-raspi #8-Ubuntu SMP Wed Apr 8 11:13:06 UTC 2020 aarch64
aarch64 aarch64 GNU/Linux

Build commands:

$ tar xzf gcc-10.1.0.tar.gz
$ cd gcc-10.1.0
$ contrib/download_prerequisites
$ ./configure --prefix=/usr/local/gcc-10.1.0 --enable-languages=c,c++,fortran
--disable-multilib
$ make -j 4

             reply	other threads:[~2020-06-12  9:14 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-06-12  9:14 noan at email dot com [this message]
2020-06-12  9:56 ` [Bug target/95651] " rearnsha at gcc dot gnu.org
2020-06-12 14:44 ` noan at email dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-95651-4@http.gcc.gnu.org/bugzilla/ \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).