Message ID | 20190607151306.GS19695@tucnak |
---|---|
State | New |
Headers | show |
Series | Fix bootstrap (was: Re: [PATCH][RFC] Sanitize equals and hash functions in hash-tables.) | expand |
On 6/7/19 5:13 PM, Jakub Jelinek wrote:
> Ok for trunk? Which one?
Thank you Jakub for the fix. I'm fine with both.
Martin
Jakub Jelinek <jakub@redhat.com> writes: > Hi! > > Attached are two different fixes, each of which fixes the build. > The first one arranges gencondmd to be linked against build/errors.o, > so that it links fine, the second one instead doesn't define the function > and method which requires that, as it is only called from #if CHECKING_P > guarded code. > > Ok for trunk? Which one? First seems cleaner to me. > > Jakub > > 2019-06-07 Jakub Jelinek <jakub@redhat.com> > > * Makefile.in (genprogerr): Add condmd. > (genprog): Remove it here. OK, thanks. Richard
--- gcc/Makefile.in.jj 2019-05-06 09:46:11.117792961 +0200 +++ gcc/Makefile.in 2019-06-07 16:59:21.248627607 +0200 @@ -2802,11 +2802,11 @@ genprogmd = $(genprogrtl) mddeps constan $(genprogmd:%=build/gen%$(build_exeext)): $(BUILD_MD) # All these programs need to report errors. -genprogerr = $(genprogmd) genrtl modes gtype hooks cfn-macros +genprogerr = $(genprogmd) genrtl modes gtype hooks cfn-macros condmd $(genprogerr:%=build/gen%$(build_exeext)): $(BUILD_ERRORS) # Remaining build programs. -genprog = $(genprogerr) check checksum condmd match +genprog = $(genprogerr) check checksum match # These programs need libs over and above what they get from the above list. build/genautomata$(build_exeext) : BUILD_LIBS += -lm