This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug glob/22183] commit 5554304f0ddd ("posix: Allow glob to match dangling symlinks") cause "make" segfaults


https://sourceware.org/bugzilla/show_bug.cgi?id=22183

--- Comment #2 from Adhemerval Zanella <adhemerval.zanella at linaro dot org> ---
Yes, it was pointed out by Andreas Schwab that this recent modification would
break GNUmake in some scenarios.

The current approach to fix it is in twofold [1]:

  * Bump _GNU_GLOB_INTERFACE_VERSION to 2 and forcing new GNUmake build to use
its internal glob implementation.  

  * Add a compat symbol with previous semantic that avoid calling gl_lstat and
thus avoid breaking make.

Paul Eggert already sent an initial patch to fix it on make side [2], but I
think we should also change make configure script to check for
_GNU_GLOB_INTERFACE_VERSION 1 and 2 and enable glob for newer implementations
as well (with the fix along it).

I will keep the patch open to track this issue, thanks for reporting it. 

[1] https://sourceware.org/ml/libc-alpha/2017-09/msg00718.html
[2] http://lists.gnu.org/archive/html/bug-make/2017-09/msg00014.html

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]