[Bug sanitizer/111057] [11/12/13 only] build error: libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory

2024-03-11 Thread romain.geissler at amadeus dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057

Romain Geissler  changed:

   What|Removed |Added

 CC||romain.geissler at amadeus dot 
com

--- Comment #6 from Romain Geissler  ---
@Chris the gcc maintainers don't really review patches send in bug reports,
they expect it to be sent on the mailing list (gcc-patc...@gcc.gnu.org). Do you
want to post it there so this gets integrated ?

[Bug sanitizer/111057] [11/12/13 only] build error: libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory

2023-08-17 Thread judge.packham at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057

--- Comment #5 from Chris Packham  ---
Created attachment 55751
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=55751&action=edit
Remove crypt and crypt_r interceptors

Attached is the patch derived from
https://github.com/llvm/llvm-project/commit/d7bead833631486e337e541e692d9b4a1ca14edd
which we'll be carrying in crosstool-ng. I've kept the upstream authors and
commit message.

It should apply cleanly to the releases/gcc-13 branch but is not necessary for
14.x.

[Bug sanitizer/111057] [11/12/13 only] build error: libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory

2023-08-17 Thread judge.packham at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057

--- Comment #4 from Chris Packham  ---
(In reply to Andrew Pinski from comment #1)
> What version of glibc is being built with here?

glibc-2.38


> Most likely could backport:
>
> https://github.com/llvm/llvm-project/commit/d7bead833631486e337e541e692d9b4a1ca14edd

Yes looks as though that'd do it. I'll try and whip that up for ct-ng to carry.
Do you want me to try for a proper GCC patch as well?

[Bug sanitizer/111057] [11/12/13 only] build error: libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory

2023-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057

Andrew Pinski  changed:

   What|Removed |Added

   Last reconfirmed||2023-08-18
 Status|UNCONFIRMED |NEW
 Ever confirmed|0   |1

--- Comment #3 from Andrew Pinski  ---
.

[Bug sanitizer/111057] [11/12/13 only] build error: libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:180:10: fatal error: crypt.h: No such file or directory

2023-08-17 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=111057

Andrew Pinski  changed:

   What|Removed |Added

Summary|build error:|[11/12/13 only] build
   |libsanitizer/sanitizer_comm |error:
   |on/sanitizer_platform_limit |libsanitizer/sanitizer_comm
   |s_posix.cpp:180:10: fatal   |on/sanitizer_platform_limit
   |error: crypt.h: No such |s_posix.cpp:180:10: fatal
   |file or directory   |error: crypt.h: No such
   ||file or directory
  Known to work||14.0
   Target Milestone|--- |11.5