Priority: P3
Component: other
Assignee: unassigned at gcc dot gnu.org
Reporter: 191919 at gmail dot com
Target Milestone: ---
In fact, this problem exists since very old version of gcc, but only in macOS
10.13 with SIP (System Integrity Protection) disabled.
I
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257
--- Comment #2 from 191919 <191919 at gmail dot com> ---
I tried with the combination of the following settings under macOS 10.13.3:
internal SSD / external HD
HFS+ / APFS
SIP enabled / SIP disabled
The only factor that affects is SIP
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84257
--- Comment #3 from 191919 <191919 at gmail dot com> ---
In macOS 10.12.6 with SIP disabled, the value of DYLD_LIBRARY_PATH was modified
to the same as in macOS 10.13.3, but the compilation speed was not affected.
I guess this is a regress
Assignee: unassigned at gcc dot gnu.org
Reporter: 191919 at gmail dot com
Target Milestone: ---
I tried to compile the following source code:
```
#include
int main() {}
```
with gcc-7.2.0 under macOS 10.13, I got these error messages:
```
In file included from /usr/include/sys
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=82200
--- Comment #2 from 191919 <191919 at gmail dot com> ---
Yes, you are right.
I rewrote the source file as below:
```
#include
void msyslog(int, const char *, ...) __printflike(2, 3) __not_tail_called
__DARWIN_ALIAS_STARTING(__MAC