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

            Bug ID: 119967
           Summary: mips: build faillure gcc/config/mips/mips.cc:20681:7:
                    error: 'is_micromips' was not declared in this scope
           Product: gcc
           Version: 16.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: manuel.lauss at googlemail dot com
  Target Milestone: ---

Since commit 727a43e0a66052235706379239359807230054e0 ("[PATCH 30/61] MSA: Make
MSA and microMIPS R5 unsupported") MIPS doesn't build any more:

/gcc/config/mips/mips.cc: In function 'void mips_option_override()':
/gcc/config/mips/mips.cc:20681:7: error: 'is_micromips' was not declared in
this scope; did you mean 'OPT_mmicromips'?
20681 |   if (is_micromips && TARGET_MSA)
      |       ^~~~~~~~~~~~
      |       OPT_mmicromips


Reverting this commit gets rid of the build failure, and the resulting compiler
builds bootable mips linux kernels and userspace.

(configured with "--host=x86_64-pc-linux-gnu
--target=mipsel-softfloat-linux-gnu --build=x86_64-pc-linux-gnu")

Thanks!
     Manuel
  • [Bug bootstrap/119967] New... manuel.lauss at googlemail dot com via Gcc-bugs

Reply via email to