-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On Fri, 2018-02-02 at 11:53 +0100, Florian Weimer wrote: > On 02/02/2018 09:31 AM, Florian Weimer wrote: > > On 02/02/2018 09:25 AM, Carlos O'Donell wrote: > > > At present I can't build glibc in rawhide because make segfaults: > > > > > > + make -j4 -O -r 'CFLAGS=-mtune=generic -g -O2 -fstack-clash-protection' > > > make -r PARALLELMFLAGS="" -C .. objdir=`pwd` all > > > make: *** [Makefile:9: all] Segmentation fault (core dumped) > > > error: Bad exit status from /var/tmp/rpm-tmp.g0o5R3 (%build) > > > > It's an incomplete backport. Rawhide still has: > > > > void > > dir_setup_glob (glob_t *gl) > > { > > gl->gl_opendir = open_dirstream; > > gl->gl_readdir = read_dirstream; > > gl->gl_closedir = free; > > gl->gl_stat = local_stat; > > /* We don't bother setting gl_lstat, since glob never calls it. > > The slot is only there for compatibility with 4.4 BSD. */ > > } > > > > Yet Richard's patch tells make to use the glob from glibc, which > > requires setting gl_lstat. We have a compat symbol to support older > > makes in glibc, but rebuilding make obviously picks up the new symbol. > > I requested untagging make: > > https://pagure.io/releng/issue/7291 > > Once this has happened, I can fix make, or if it is sufficiently late in > my day, you an take over. > > We need this commit from upstream make: > > commit 193f1e81edd6b1b56b0eb0ff8aa4b41c7b4257b4 > Author: Paul Eggert <eggert@xxxxxxxxxxx> > Date: Sun Sep 24 09:12:58 2017 -0400 > > glob: Do not assume glibc glob internals. > > It has been proposed that glibc glob start using gl_lstat, > which the API allows it to do. GNU 'make' should not get in > the way of this. See: > https://sourceware.org/ml/libc-alpha/2017-09/msg00409.html > > * dir.c (local_lstat): New function, like local_stat. > (dir_setup_glob): Use it to initialize gl_lstat too, as the API > requires. Thanks for pointing out to the commit! make-4.2.1-6.fc28 is building now and should be available in buildroot very soon. koji wait-repo f28-build --build make-4.2.1-6.fc28 - -- - -Igor Gnatenko -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEhLFO09aHZVqO+CM6aVcUvRu8X0wFAlp0SkMACgkQaVcUvRu8 X0ylkhAAnz7YxIwfjFLjRWnKy73LX/czmCJF5SNBKyehc2KW8ZE8OXTfx4R4R+QY ng7iiOSEJrrhu6SrMH1qh9NoXjFbb7foRNE/OLrw2OVB8s/LAjFbCXs9hvWJNV9E L5uYERtIobSnBfNPMGbgzRriBS6zPFqLj6lpYqxGIa8jSef5DLwl+2POt75sV635 562NzfWcmzJKyecERh46S1J8l6VPDDpg7JtnRkH9Pa76GQp0sEhIC9pEchjzoarE arUFPxFS+uJMRNOVbDaI5QE18+sGS6O47CbqAASqgJINrY6cPr+06NUwWiLVfmEw wM+BujN1fu1eMxt6EqWmeWPVFc7BM+0Hyl15thThFYr9//DVxbaEXaGoVOowFbsV 3ZePYw3+otguXLMndpKKrE3TqyMMuEThqRGSJS2UY/zxmTDTCgYRp55jjVz7X+ux ZGTQ61u5UYp2UjfUAZVxZOAKiSHRYd1bkx48ou3fV8KZt6L6KbsRGHSq4T5Lpl0k pNwD72ds+xRAEUrpn1yJdbFKJeVhriEDWt+64JPJWuYumeZ+KHIuTo9p7Kia+uC+ KwlpBz4Tgnr9d+AVJrJtXPfP/GuBJlCkHo+Yu088sB1F+SF4cThVG+5ivLlUsF2W eMvPJGUfCJCcB2BeIMsj8SZ3K0hrJM2qPw0RW8AjC0Q6OfT2cQs= =UPoF -----END PGP SIGNATURE----- _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx