public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets
@ 2022-09-21 16:39 unlvsur at live dot com
2022-09-22 17:37 ` [Bug sanitizer/106998] [10/11/12/13 Regression] " pinskia at gcc dot gnu.org
` (6 more replies)
0 siblings, 7 replies; 8+ messages in thread
From: unlvsur at live dot com @ 2022-09-21 16:39 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998
Bug ID: 106998
Summary: libsanitizer PATH_MAX not defined for linux new
targets
Product: gcc
Version: 13.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: sanitizer
Assignee: unassigned at gcc dot gnu.org
Reporter: unlvsur at live dot com
CC: dodji at gcc dot gnu.org, dvyukov at gcc dot gnu.org,
jakub at gcc dot gnu.org, kcc at gcc dot gnu.org, marxin at gcc dot gnu.org
Target Milestone: ---
../../../../../../../gcc/libsanitizer/sanitizer_common/sanitizer_platform_limits_posix.cpp:438:23:
error: 'PATH_MAX' was not declared in this scope; did you mean 'PTY_MAX'?
438 | unsigned path_max = PATH_MAX;
| ^~~~~~~~
| PTY_MAX
should include <linux/limits.h>
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug sanitizer/106998] [10/11/12/13 Regression] libsanitizer PATH_MAX not defined for linux new targets
2022-09-21 16:39 [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets unlvsur at live dot com
@ 2022-09-22 17:37 ` pinskia at gcc dot gnu.org
2022-12-22 14:37 ` rguenth at gcc dot gnu.org
` (5 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2022-09-22 17:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |10.5
Summary|libsanitizer PATH_MAX not |[10/11/12/13 Regression]
|defined for linux new |libsanitizer PATH_MAX not
|targets |defined for linux new
| |targets
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
This should be reported upstream but this is a regression due to a pull from
upstream (r9-3752-geac975312214dc )
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug sanitizer/106998] [10/11/12/13 Regression] libsanitizer PATH_MAX not defined for linux new targets
2022-09-21 16:39 [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets unlvsur at live dot com
2022-09-22 17:37 ` [Bug sanitizer/106998] [10/11/12/13 Regression] " pinskia at gcc dot gnu.org
@ 2022-12-22 14:37 ` rguenth at gcc dot gnu.org
2023-02-21 13:55 ` rguenth at gcc dot gnu.org
` (4 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2022-12-22 14:37 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998
--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Is this meanwhile resolved or upstream reported?
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug sanitizer/106998] [10/11/12/13 Regression] libsanitizer PATH_MAX not defined for linux new targets
2022-09-21 16:39 [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets unlvsur at live dot com
2022-09-22 17:37 ` [Bug sanitizer/106998] [10/11/12/13 Regression] " pinskia at gcc dot gnu.org
2022-12-22 14:37 ` rguenth at gcc dot gnu.org
@ 2023-02-21 13:55 ` rguenth at gcc dot gnu.org
2023-02-22 1:46 ` unlvsur at live dot com
` (3 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-02-21 13:55 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998
--- Comment #3 from Richard Biener <rguenth at gcc dot gnu.org> ---
I don't see linux/limits.h included still, but limits.h is - should musl
include linux/limits.h by itself?
Please link to upstream generated issues.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug sanitizer/106998] [10/11/12/13 Regression] libsanitizer PATH_MAX not defined for linux new targets
2022-09-21 16:39 [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets unlvsur at live dot com
` (2 preceding siblings ...)
2023-02-21 13:55 ` rguenth at gcc dot gnu.org
@ 2023-02-22 1:46 ` unlvsur at live dot com
2023-03-27 13:56 ` rguenth at gcc dot gnu.org
` (2 subsequent siblings)
6 siblings, 0 replies; 8+ messages in thread
From: unlvsur at live dot com @ 2023-02-22 1:46 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998
--- Comment #4 from cqwrteur <unlvsur at live dot com> ---
(In reply to Richard Biener from comment #3)
> I don't see linux/limits.h included still, but limits.h is - should musl
> include linux/limits.h by itself?
>
> Please link to upstream generated issues.
musl does not even want you to detect anything. There is not even __musl__
macro
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug sanitizer/106998] [10/11/12/13 Regression] libsanitizer PATH_MAX not defined for linux new targets
2022-09-21 16:39 [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets unlvsur at live dot com
` (3 preceding siblings ...)
2023-02-22 1:46 ` unlvsur at live dot com
@ 2023-03-27 13:56 ` rguenth at gcc dot gnu.org
2023-07-07 10:44 ` [Bug sanitizer/106998] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-02-21 5:05 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-03-27 13:56 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2023-03-27
Ever confirmed|0 |1
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug sanitizer/106998] [11/12/13/14 Regression] libsanitizer PATH_MAX not defined for linux new targets
2022-09-21 16:39 [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets unlvsur at live dot com
` (4 preceding siblings ...)
2023-03-27 13:56 ` rguenth at gcc dot gnu.org
@ 2023-07-07 10:44 ` rguenth at gcc dot gnu.org
2024-02-21 5:05 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: rguenth at gcc dot gnu.org @ 2023-07-07 10:44 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|10.5 |11.5
--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
GCC 10 branch is being closed.
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bug sanitizer/106998] [11/12/13/14 Regression] libsanitizer PATH_MAX not defined for linux new targets
2022-09-21 16:39 [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets unlvsur at live dot com
` (5 preceding siblings ...)
2023-07-07 10:44 ` [Bug sanitizer/106998] [11/12/13/14 " rguenth at gcc dot gnu.org
@ 2024-02-21 5:05 ` pinskia at gcc dot gnu.org
6 siblings, 0 replies; 8+ messages in thread
From: pinskia at gcc dot gnu.org @ 2024-02-21 5:05 UTC (permalink / raw)
To: gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106998
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |RESOLVED
Resolution|--- |INVALID
--- Comment #6 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
I looked upstream (both llvm and google/sanitizers) and don't see any bug
filed.
I looked into the musl sources, limits.h has the following line:
e8b8f3c90 (Rich Felker 2011-06-25 15:38:00 -0400 47) #define PATH_MAX 4096
So this bug is invalid because musl's limits.h defines it and has had it
defined since 2011 :).
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2024-02-21 5:05 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-09-21 16:39 [Bug sanitizer/106998] New: libsanitizer PATH_MAX not defined for linux new targets unlvsur at live dot com
2022-09-22 17:37 ` [Bug sanitizer/106998] [10/11/12/13 Regression] " pinskia at gcc dot gnu.org
2022-12-22 14:37 ` rguenth at gcc dot gnu.org
2023-02-21 13:55 ` rguenth at gcc dot gnu.org
2023-02-22 1:46 ` unlvsur at live dot com
2023-03-27 13:56 ` rguenth at gcc dot gnu.org
2023-07-07 10:44 ` [Bug sanitizer/106998] [11/12/13/14 " rguenth at gcc dot gnu.org
2024-02-21 5:05 ` pinskia at gcc dot gnu.org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).