From 28cbff8c7d91cd42ee29ebf80c6e9fc4dfbf50e9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 17 May 2018 16:39:40 +0200 Subject: pkg/bisect: stop at Linux v3.8 Update #501 --- pkg/bisect/bisect.go | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkg/bisect') diff --git a/pkg/bisect/bisect.go b/pkg/bisect/bisect.go index 25357c316..5fce43ced 100644 --- a/pkg/bisect/bisect.go +++ b/pkg/bisect/bisect.go @@ -167,6 +167,15 @@ func (env *env) commitRangeForBug() (*git.Commit, string, string, error) { if err != nil { return nil, "", "", err } + for i, tag := range tags { + if tag == "v3.8" { + // v3.8 does not work with modern perl, and as we go further in history + // make stops to work, then binutils, glibc, etc. So we stop at v3.8. + // Up to that point we only need an ancient gcc. + tags = tags[:i] + break + } + } if len(tags) == 0 { return nil, "", "", fmt.Errorf("no release tags before this commit") } -- cgit mrf-deployment