[cfarm-users] Trouble with new Apple Mac M1

Pierre Muller pierre at freepascal.org
Tue Mar 23 22:47:32 CET 2021



Le 23/03/2021 à 21:08, Joel Sherrill a écrit :
> Not sure about screen but what if you redirect the nohup stdin from
> /dev/null. I have to do that on FreeBSD or some programs fail.


   Hi,

   I didn't know about this, so I tried:

bash-5.1$ nohup ./darwin64-fpctrunkup.sh < /dev/null > ~/logs/trunk/all.log 2>&1 &
[1] 26839
bash-5.1$
[1]+  Exit 127                nohup ./darwin64-fpctrunkup.sh < /dev/null > ~/logs/trunk/all.log 2>&1
bash-5.1$ cat nohup.out
cat: nohup.out: No such file or directory
bash-5.1$ cat ~/logs/trunk/all.log
nohup: can't detach from console: Inappropriate ioctl for device

   It still does not work as it is on other systems...

Pierre

> --joel
> 
> On 3/23/2021 11:58 AM, Pierre Muller via cfarm-users wrote:
>>     It seems that nohup and screen do not work of gcc304.
>>
>>
>> muller at GCC-Farm-MiniMac bin % nohup ./darwin64-fpctrunkup.sh &
>> [1] 63736
>> muller at GCC-Farm-MiniMac bin % appending output to nohup.out
>>
>> [1]  + exit 127   nohup ./darwin64-fpctrunkup.sh
>> muller at GCC-Farm-MiniMac bin %
>> muller at GCC-Farm-MiniMac bin % cat nohup.out
>> nohup: can't detach from console: Undefined error: 0
>>
>>
>>    Switching to homebrew bash did not help.
>>
>>     Likewise screen never displays a 'new' console
>> and seems to get stuck somewhere.
>>     ^C does not work, ^Z does,
>> which finally allowed me to kill the screen process...
>>
>>     Any ideas what is wrong?
>>
>>     I had a second question:
>>
>>     Are executables randomized in memory?
>>
>>     I tried o use objdump to find the location of a crash
>> stack trace, but the addresses do not seem to correspond to anything...
>>
>> Any help welcome.
>>
>>
>> Pierre
>> _______________________________________________
>> cfarm-users mailing list
>> cfarm-users at lists.tetaneutral.net
>> https://lists.tetaneutral.net/listinfo/cfarm-users
> 


More information about the cfarm-users mailing list