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

            Bug ID: 82306
           Summary: [8 Regression] Revision r253089 breaks bootstrap on
                    Darwin
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
          Assignee: unassigned at gcc dot gnu.org
          Reporter: iains at gcc dot gnu.org
  Target Milestone: ---

Bootstrap fails early in stage1 with

In file included from ./tm.h:16:0,
                 from /src-local/gcc-trunk/gcc/gencheck.c:23:
./options.h:5803:2: error: #error too many target masks
 #error too many target masks
  ^
make[3]: *** [build/gencheck.o] Error 1

===

I assume this is because we've now used up all the mask bits and Darwin delares
an additional one in config/darwin.opt 'Mask(MACHO_DYNAMIC_NO_PIC)'

NOTE: that Darwin is not the only x86 platform to do this:

$ grep -r Mask\( gcc/config/*.opt
gcc/config/darwin.opt:Target Common Report Mask(MACHO_DYNAMIC_NO_PIC)
gcc/config/linux-android.opt:Target Report Mask(ANDROID) Var(flag_android)
Init(ANDROID_DEFAULT ? OPTION_MASK_ANDROID : 0)
gcc/config/vxworks.opt:Target Report RejectNegative Mask(VXWORKS_RTP)
Condition(VXWORKS_KIND == VXWORKS_KIND_NORMAL)

So there might be other broken ports.

Reply via email to