My mainline gcc (with svn revision number 113869) doesn't build
with --target=arm-none-eabi.

While building cc1-dummy, I get:

libbackend.a(options.o):(.rodata+0x4474): undefined reference to
`target_fpe_name'
libbackend.a(options.o):(.rodata+0x44b4): undefined reference to
`target_fpe_name'

A quick inspection of options.c in the build directory reveals that
target_fpe_name is guarded with GCC_DRIVER.

#ifdef GCC_DRIVER
/* Set by -mfp=.
     */
const char *target_fpe_name;
#endif /* GCC_DRIVER */

I am guessing that this bug may have something to do with

2006-05-16  H.J. Lu  <[EMAIL PROTECTED]>

        * Makefile.in (GCC_OBJS): Replace options.o with gcc-options.o.
        (gcc-options.o): New rule.

        * optc-gen.awk: Protect variables for gcc-options.o with
        #ifdef GCC_DRIVER/#endif.

which has svn revision number 113841.


-- 
           Summary: arm-none-eabi doesn't build
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Keywords: build
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: kazu at gcc dot gnu dot org
GCC target triplet: arm-none-eabi


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27645

Reply via email to