On Sat, Apr 4, 2020 at 10:10 AM Eric Botcazou <botca...@adacore.com> wrote: > > > 2020-04-03 Ian Lance Taylor <i...@golang.org> > > > > * generic-morestack.c: On GNU/Linux use __mmap/__munmap rather > > than mmap/munmap, to avoid hooks. > > This breaks the build of gotools for me with undefined references to __mmap > and __munmap from libgcc/generic-morestack.c (it is with glibc 2.22).
Hmmm, sorry about that. Which target? x86_64? It does seem that glibc consolidated mmap implementations in 2.26, but even in 2.22 I see definitions for __mmap. Ian