[PATCH] Fix install-plugin on arm and aarch64

Jakub Jelinek jakub@redhat.com
Wed Mar 6 11:06:00 GMT 2013

On Wed, Mar 06, 2013 at 06:57:03PM +0800, Matthias Klose wrote:
> Am 06.03.2013 17:07, schrieb Jakub Jelinek:
> > https://bugzilla.redhat.com/show_bug.cgi?id=910926
> > reports that plugins aren't usable on arm, because arm-cores.def isn't
> > installed into the plugins directory.  arm-cores.def can't be included in
> > tm_file list, because we don't want to include it directly, nor in
> > HeaderInclude in arm.opt (that breaks the build).  rs6000 has similar issue
> > with its rs6000-builtin.def, and solves this by adding content to TM_H
> > in Makefile fragment.
> > 
> > Thus, the following patch does the same for arm (and apparently aarch64 has
> > the same issue).  Ok for trunk?
> There is still vxworks-dummy.h, which is not installed, see PR45078. Would the
> same approach work?

i386/x86_64 solves that by tm_file="vxworks-dummy.h ${tm_file}" in
config.gcc.  Perhaps arm, mips, sh and sparc should follow that.


More information about the Gcc-patches mailing list