[Bug plugins/82371] [5/6/7/8 Regression] Cross-compiling GCC fails when build platform has fread_unlocked but host platform doesn't
pinskia at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Sep 30 04:54:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82371
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |build
Status|UNCONFIRMED |NEW
Last reconfirmed| |2017-09-30
Component|c |plugins
Target Milestone|--- |5.5
Summary|Cross-compiling GCC fails |[5/6/7/8 Regression]
|when build platform has |Cross-compiling GCC fails
|fread_unlocked but host |when build platform has
|platform doesn't |fread_unlocked but host
| |platform doesn't
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
Oh this is a regression too when building gengtype was added to be a host
utility for plugin support.
Which was introduced by:
commit 6d70c7134ed4620d4fe74f777ab771602845e135
Author: jakub <jakub@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Thu Aug 4 11:30:45 2011 +0000
2011-08-04 Romain Geissler <romain.geissler@gmail.com>
* gengtype-state.c: Include "bconfig.h" if
GENERATOR_FILE is defined, "config.h" otherwise.
* gengtype.c: Likewise.
* gengtype-lex.l: Likewise.
* gengtype-parse.c: Likewise.
* Makefile.in (gengtype-lex.o-warn): New variable.
(plugin_resourcesdir): Likewise.
(plugin_bindir): Likewise.
(plugin_includedir): Use $(plugin_resourcesdir) as prefix base.
(MOSTLYCLEANFILES): Add gengtype$(exeext).
(native): Depend on gengtype$(exeext) is $enable_plugin
is set to "yes".
(gtype.state): Depend on s-gtype. Use temporary file.
(gengtype-lex.o): New rule.
(gengtype-parse.o): Likewise.
(gengtype-state.o): Likewise.
(gengtype$(exeext)): Likewise.
(install-gengtype): Likewise.
(gengtype.o): Likewise.
(build/gengtype.o): Depend on version.h.
(build/gengtype-state): Depend on double-int.h, version.h,
$(HASHTAB_H), $(OBSTACK_H), $(XREGEX_H) and build/errors.o.
(install-plugin): Depend on install-gengtype.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@177358
138bc75d-0d04-0410-961f-82ee72b054a4
More information about the Gcc-bugs
mailing list