diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2018-05-17 16:39:40 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-05-17 16:40:00 +0200 |
| commit | 28cbff8c7d91cd42ee29ebf80c6e9fc4dfbf50e9 (patch) | |
| tree | f241b49888964b2599a858f0a58d4ad613bf94d5 /pkg | |
| parent | 8dd3159f51b492679b61ec88819a5963858a691f (diff) | |
pkg/bisect: stop at Linux v3.8
Update #501
Diffstat (limited to 'pkg')
| -rw-r--r-- | pkg/bisect/bisect.go | 9 |
1 files changed, 9 insertions, 0 deletions
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") } |
