public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "marxin at gcc dot gnu.org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug target/102351] New: error: ‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’?
Date: Wed, 15 Sep 2021 15:25:51 +0000	[thread overview]
Message-ID: <bug-102351-4@http.gcc.gnu.org/bugzilla/> (raw)

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

            Bug ID: 102351
           Summary: error: ‘TARGET_PENTIUM4’ was not declared in this
                    scope; did you mean ‘TARGET_ENQCMD’?
           Product: gcc
           Version: 12.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: target
          Assignee: unassigned at gcc dot gnu.org
          Reporter: marxin at gcc dot gnu.org
  Target Milestone: ---
              Host: x86_64-linux-gnu
            Target: i686-wrs-vxworksae

The cross compiler build fails due to:

g++  -fno-PIE -c  -DIN_GCC_FRONTEND -DIN_GCC_FRONTEND -g   -DIN_GCC 
-DCROSS_DIRECTORY_STRUCTURE   -fno-exceptions -fno-rtti
-fasynchronous-unwind-tables -W -Wall -Wno-narrowing -Wwrite-strings
-Wcast-qual -Wno-error=format-diag -Wmissing-format-attribute
-Woverloaded-virtual -pedantic -Wno-long-long -Wno-variadic-macros
-Wno-overlength-strings -fno-common  -DHAVE_CONFIG_H -I. -Ic-family
-I/home/marxin/Programming/gcc/gcc -I/home/marxin/Programming/gcc/gcc/c-family
-I/home/marxin/Programming/gcc/gcc/../include
-I/home/marxin/Programming/gcc/gcc/../libcpp/include
-I/home/marxin/Programming/gcc/gcc/../libcody 
-I/home/marxin/Programming/gcc/gcc/../libdecnumber
-I/home/marxin/Programming/gcc/gcc/../libdecnumber/dpd -I../libdecnumber
-I/home/marxin/Programming/gcc/gcc/../libbacktrace   -o c-family/c-cppbuiltin.o
-MT c-family/c-cppbuiltin.o -MMD -MP -MF c-family/.deps/c-cppbuiltin.TPo
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c
In file included from ./tm.h:29,
                 from /home/marxin/Programming/gcc/gcc/target.h:52,
                 from
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c:23:
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c: In function ‘void
c_cpp_builtins(cpp_reader*)’:
/home/marxin/Programming/gcc/gcc/config/i386/vxworks.h:76:16: error:
‘TARGET_PENTIUM4’ was not declared in this scope; did you mean ‘TARGET_ENQCMD’?
   76 |       else if (TARGET_PENTIUM4)                         \
      |                ^~~~~~~~~~~~~~~
/home/marxin/Programming/gcc/gcc/c-family/c-cppbuiltin.c:1552:3: note: in
expansion of macro ‘TARGET_OS_CPP_BUILTINS’
 1552 |   TARGET_OS_CPP_BUILTINS ();
      |   ^~~~~~~~~~~~~~~~~~~~~~
/home/marxin/Programming/gcc/gcc/config/i386/vxworks.h:81:16: error:
‘TARGET_CORE2’ was not declared in this scope; did you mean ‘TARGET_SSE2’?
   81 |       else if (TARGET_CORE2)                            \
      |                ^~~~~~~~~~~~

             reply	other threads:[~2021-09-15 15:25 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-15 15:25 marxin at gcc dot gnu.org [this message]
2021-09-15 15:37 ` [Bug target/102351] " marxin at gcc dot gnu.org
2021-09-15 15:47 ` cvs-commit at gcc dot gnu.org
2021-09-15 15:48 ` marxin at gcc dot gnu.org

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-102351-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).