[Bug bootstrap/57125] Build not SMP safe; fails to build bconfig.h
vapier at gentoo dot org
gcc-bugzilla@gcc.gnu.org
Tue Mar 31 08:07:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=57125
Mike Frysinger <vapier at gentoo dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #8 from Mike Frysinger <vapier at gentoo dot org> ---
(In reply to Vladimír Čunát from comment #2)
i think you're spot on -- the logic is inverted
(In reply to Andrew Oakley from comment #5)
i think this patch is incorrect. you're inverting what the Makefile explicitly
is saying to do. namely, build/%.o should be depending on $(BCONFIG_H) and
they should be building with -DGENERATOR_FILE. so the CFLAGS- lines need
fixing.
looking at trunk, this appears to be fixed here:
https://gcc.gnu.org/viewcvs/gcc?view=revision&revision=218325
the compile logic was inverted so that bconfig.h is included by default, and to
get config.h you have to define HOST_GENERATOR_FILE. then the CFLAGS-xxx line
was updated to use that.
i guess we keep this open so hopefully it'll get backported to gcc-4.9 ?
More information about the Gcc-bugs
mailing list