Jessica Clarke
877175a17a
libc: Fix build on case-insensitive file systems
...
On case-insensitive file systems (most likely to be seen on macOS, where
it is the default), _Fork.o for the new POSIX _Fork function conflicts
with _fork.o for the PSEUDO file. This results in non-determinsitic
behaviour in terms of which ends up being present; if _Fork.o wins then
the build fails to link libc.so due to missing __sys_fork, and if
_fork.o wins then libc silently fails to include the implementation of
_Fork. A similar issue occurred in the past for C99's _Exit conflicting
with exit(2) and was fixed in cb1cb6a2a83f, so this adds a fix based on
that.
As a longer-term solution it might be better to instead make the
generated files use a different prefix that's less likely to conflict
with other things (such as __sys_foo.o given they always contain that)
but that's a rather more invasive change.
Fixes: 49ad342cc10c ("Add _Fork()")
Reviewed by: kib
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D31895
2021-09-10 01:19:38 +01:00
..
2021-02-04 15:03:05 +00:00
2021-09-06 09:49:49 +01:00
2021-08-23 13:39:09 +00:00
2021-03-02 18:32:22 -05:00
2021-08-18 17:11:03 -04:00
2021-08-26 22:06:53 +02:00
2021-01-04 20:48:48 +01:00
2021-03-18 11:09:10 +00:00
2021-01-07 09:31:03 +00:00
2021-08-23 03:07:36 +02:00
2020-04-19 02:20:39 +00:00
2021-06-08 22:21:11 +02:00
2020-07-19 23:56:19 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2019-12-20 19:53:05 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-04-19 02:18:40 +00:00
2021-06-19 17:50:03 +02:00
2019-12-11 17:37:53 +00:00
2021-09-10 01:19:38 +01:00
2021-06-13 22:01:15 +02:00
2019-12-20 19:53:05 +00:00
2019-12-11 17:37:53 +00:00
2020-12-29 14:26:06 +00:00
2020-08-25 13:23:31 +00:00
2021-07-12 06:16:55 +02:00
2021-08-04 15:23:22 -03:00
2021-09-07 10:23:14 +02:00
2018-10-28 02:58:15 +00:00
2021-09-06 21:24:01 +02:00
2020-10-01 01:10:51 +00:00
2019-12-11 17:37:53 +00:00
2020-09-11 13:28:37 +00:00
2019-12-11 17:37:53 +00:00
2021-04-13 11:25:27 -04:00
2020-08-04 21:09:36 +00:00
2019-12-11 17:37:53 +00:00
2021-04-09 23:46:24 +03:00
2021-02-01 17:11:49 -08:00
2019-12-11 17:37:53 +00:00
2021-03-29 11:14:27 +02:00
2021-09-07 10:24:21 +02:00
2020-10-23 16:35:23 +00:00
2019-12-05 13:20:15 +00:00
2020-05-28 22:05:50 +00:00
2019-12-20 19:53:05 +00:00
2021-09-07 10:22:45 +02:00
2021-09-09 16:51:26 +02:00
2019-12-11 17:37:53 +00:00
2021-08-02 14:33:24 +01:00
2021-08-02 14:33:24 +01:00
2021-07-07 13:52:20 -06:00
2019-12-11 17:37:53 +00:00
2021-02-23 20:08:10 +02:00
2020-10-01 01:10:51 +00:00
2021-03-05 04:15:55 -05:00
2021-08-10 03:46:35 +03:00
2019-10-10 12:46:34 +00:00
2020-01-07 21:44:27 +00:00
2021-04-22 19:32:34 -04:00
2021-05-22 16:36:54 +03:00
2019-12-11 17:37:53 +00:00
2021-01-13 23:56:18 -06:00
2020-03-23 18:26:23 +00:00
2021-03-16 07:13:07 +01:00
2021-03-16 07:13:07 +01:00
2021-08-30 10:36:43 +01:00
2020-11-06 21:33:59 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2020-12-10 21:06:06 +00:00
2018-07-30 15:46:40 +00:00
2020-05-15 12:04:39 +00:00
2021-04-02 14:31:57 +00:00
2019-12-11 17:37:53 +00:00
2021-04-17 22:10:13 +02:00
2021-06-13 22:01:15 +02:00
2020-09-11 13:28:37 +00:00
2020-06-17 10:42:20 +00:00
2019-12-11 17:37:53 +00:00
2021-09-07 21:05:51 -04:00
2020-10-09 19:12:44 +00:00
2019-12-21 21:01:03 +00:00
2021-08-29 14:59:38 +02:00
2019-09-05 14:15:47 +00:00
2021-08-10 17:19:58 -03:00
2020-11-05 16:47:23 +00:00
2021-02-01 09:32:07 +00:00
2021-05-30 14:53:47 -07:00
2021-06-02 17:25:37 -07:00
2021-09-07 10:23:53 +02:00
2020-10-09 19:12:44 +00:00
2019-12-11 17:37:53 +00:00
2019-12-11 17:37:53 +00:00
2021-08-22 23:49:23 +12:00
2020-06-05 18:44:14 +00:00
2020-10-01 01:10:51 +00:00
2019-12-11 17:37:53 +00:00
2021-08-10 22:46:40 +03:00
2020-07-15 18:28:54 +00:00
2018-09-20 09:31:27 +00:00
2020-07-15 18:28:54 +00:00
2020-09-23 02:17:44 +00:00
2020-03-14 15:15:27 +00:00
2020-01-04 20:19:25 +00:00
2019-12-02 20:58:04 +00:00
2019-12-11 17:37:53 +00:00
2021-02-09 23:42:27 +01:00
2019-12-13 05:11:34 +00:00
2021-08-02 14:33:24 +01:00
2020-02-27 04:44:58 +00:00
2020-09-11 13:28:37 +00:00
2021-02-21 11:38:21 +02:00
2020-05-21 01:55:35 +00:00
2019-12-11 17:37:53 +00:00
2020-05-21 21:00:46 +00:00
2021-06-11 17:06:44 +02:00
2020-06-05 07:57:16 +00:00
2021-04-12 01:05:10 +03:00
2020-04-01 05:45:12 +00:00
2019-12-11 17:37:53 +00:00
2021-07-26 16:40:16 -04:00
2019-12-11 17:37:53 +00:00
2021-08-04 16:56:55 -04:00
2019-12-11 17:37:53 +00:00
2021-03-16 07:13:07 +01:00
2021-01-03 11:26:46 -08:00
2021-09-06 18:51:31 +01:00
2021-04-14 18:16:59 +03:00
2021-02-18 15:59:34 +01:00
2021-09-06 09:49:49 +01:00
2020-09-18 17:17:46 +00:00