https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102992
--- Comment #21 from Jürgen Reuter <juergen.reuter at desy dot de> --- (In reply to Thomas Koenig from comment #19) > (In reply to Jürgen Reuter from comment #18) > > > write(0x1, " Hello, world!\\n\n\0", 0x11) = 17 0 > > Hmm, was this actually the string that you put into the Fortran > program, or is something very strange going on here? Yes, the program was program main print *, "Hello, world!\n" end program main sorry, about the backslash \n, that was accidental. Doing just program main print *, "Hello, world!" end program main # dtruss ./a.out > out.008 SYSCALL(args) = return Hello, world! access("/AppleInternal/XBS/.isChrooted\0", 0x0, 0x0) = -1 Err#2 bsdthread_register(0x7FF805E18020, 0x7FF805E1800C, 0x2000) = 1073742303 0 shm_open(0x7FF805CE6F5D, 0x0, 0x5CE57BA) = 3 0 fstat64(0x3, 0x7FF7BE646820, 0x0) = 0 0 mmap(0x0, 0x2000, 0x1, 0x40001, 0x3, 0x0) = 0x1019C9000 0 close(0x3) = 0 0 ioctl(0x2, 0x4004667A, 0x7FF7BE6468D4) = 0 0 mprotect(0x1019D0000, 0x1000, 0x0) = 0 0 mprotect(0x1019D7000, 0x1000, 0x0) = 0 0 mprotect(0x1019D8000, 0x1000, 0x0) = 0 0 mprotect(0x1019DF000, 0x1000, 0x0) = 0 0 mprotect(0x1019CB000, 0x90, 0x1) = 0 0 mprotect(0x1019CB000, 0x90, 0x3) = 0 0 mprotect(0x1019CB000, 0x90, 0x1) = 0 0 mprotect(0x1019E0000, 0x1000, 0x1) = 0 0 mprotect(0x1019E1000, 0x90, 0x1) = 0 0 mprotect(0x1019E1000, 0x90, 0x3) = 0 0 mprotect(0x1019E1000, 0x90, 0x1) = 0 0 mprotect(0x1019CB000, 0x90, 0x3) = 0 0 mprotect(0x1019CB000, 0x90, 0x1) = 0 0 mprotect(0x1019E0000, 0x1000, 0x3) = 0 0 mprotect(0x1019E0000, 0x1000, 0x1) = 0 0 issetugid(0x0, 0x0, 0x0) = 0 0 getentropy(0x7FF7BE6466D0, 0x20, 0x0) = 0 0 getentropy(0x7FF7BE646730, 0x40, 0x0) = 0 0 getpid(0x0, 0x0, 0x0) = 61408 0 stat64("/AppleInternal\0", 0x7FF7BE646DF0, 0x0) = -1 Err#2 csops_audittoken(0xEFE0, 0x7, 0x7FF7BE646920) = -1 Err#22 proc_info(0x2, 0xEFE0, 0xD) = 64 0 csops_audittoken(0xEFE0, 0x7, 0x7FF7BE646A10) = -1 Err#22 sysctlbyname(kern.osvariant_status, 0x15, 0x7FF7BE646E40, 0x7FF7BE646E38, 0x0) = 0 0 csops(0xEFE0, 0x0, 0x7FF7BE646E74) = 0 0 fstat64(0x0, 0x7FF7BE646BF0, 0x0) = 0 0 fstat64(0x1, 0x7FF7BE646BF0, 0x0) = 0 0 fstat64(0x2, 0x7FF7BE646BF0, 0x0) = 0 0 mprotect(0x1018C7000, 0x100000, 0x1) = 0 0 sigaction(0x3, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0x4, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0x6, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0x8, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0xB, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0xA, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0xC, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0x5, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0x18, 0x7FF7BE647FA8, 0x7FF7BE647FD0) = 0 0 sigaction(0x19, 0x7FF7BE647FB8, 0x7FF7BE647FE0) = 0 0 write(0x1, " Hello, world!\n\0", 0xF) = 15 0