[Bug c/82200] New: Failed to use __asm under macOS 10.13

2017-09-13 Thread 191919 at gmail dot com
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

[Bug c/82200] Failed to use __asm under macOS 10.13

2017-09-13 Thread 191919 at gmail dot com
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

[Bug other/84257] New: Extremely slow compilation from gcc source code under macOS 10.13

2018-02-07 Thread 191919 at gmail dot com
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

[Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13

2018-02-07 Thread 191919 at gmail dot com
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

[Bug bootstrap/84257] Extremely slow compilation from gcc source code under macOS 10.13

2018-02-07 Thread 191919 at gmail dot com
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 regr