dehydra fails to build with the following error:

/usr/bin/gcc-4.5 -MD -g3 -Wall -fPIC -DXP_UNIX -DIN_GCC -DPLUGIN_NO_POISON
-DHAVE_CONFIG_H  -I/usr/lib/gcc/sparc-linux-gnu/4.5.1/plugin/include
-I/usr/include/mozjs -I/usr/lib -I//home/buildd/local/include/js/  -g -O2 -c
dehydra_plugin.c
In file included from
/usr/lib/gcc/sparc-linux-gnu/4.5.1/plugin/include/tm.h:16:0,
                 from gcc_cp_headers.h:40,
                 from dehydra_plugin.c:28:
/usr/lib/gcc/sparc-linux-gnu/4.5.1/plugin/include/config/sparc/sparc.h:25:34:
fatal error: config/vxworks-dummy.h: No such file or directory

$ fgrep -r vxworks-dummy.h src/gcc/config
src/gcc/config/arm/arm.h:#include "config/vxworks-dummy.h"
src/gcc/config/i386/i386.h:#include "config/vxworks-dummy.h"
src/gcc/config/sparc/sparc.h:#include "config/vxworks-dummy.h"
src/gcc/config/sh/sh.h:#include "config/vxworks-dummy.h"
src/gcc/config/mips/mips.h:#include "config/vxworks-dummy.h"

on ix86 this is added to tm_h in config.gcc, and tm_h files are installed as
plugin header files. the file is included on other archs too, but not added to
tm_h.

so either always install it as a plugin header, or add it to tm_h on these
architectures too?


-- 
           Summary: config/vxworks-dummy.h not installed as a plugin header
                    on some archs
           Product: gcc
           Version: 4.5.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: plugins
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: doko at ubuntu dot com


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

Reply via email to