[fpc-pascal] SIGTERM problem

"Евгений Семенов (Evgeniy Semenov)" sem-evgen at rambler.ru
Thu Nov 25 10:13:02 CET 2010


25.11.2010 10:50, Mark Morgan Lloyd пишет:
> Евгений Семенов (Evgeniy Semenov) wrote:
>> 24.11.2010 12:25, Jonas Maebe пишет:
>>>
>>> On 23 Nov 2010, at 22:01, Евгений Семенов (Evgeniy Semenov) wrote:
>>>
>>>> Help me anybody, please. My program runs on arm-linux system and 
>>>> when it receive SIGTERM i can't handle this signal, program 
>>>> instantly terminate. Can someone suggest to me, what's the problem? 
>>>> May be it bug? Or where i can see rtl code which handle linux 
>>>> signals. Exact same program normally handle SIGTERM signal on 
>>>> i386-linux system.
>>>
>>> Which FPC version, which ARM-linux system (eabi, oabi), how was your 
>>> compiler/rtl compiled?
>>
>> fpc 2.4.0 eabi linux
>>
>> making crosscompiler
>>
>> make all OS_TARGET=linux CPU_TARGET=arm 
>> BINUTILSPREFIX=/home/sem/gcc/arm-none-linux-gnueabi/bin/ NOGDB=1 
>> OPT='-O-' CROSSOPT='-Xd -CfSOFT -CaEABI -darm -dFPC_ARMEL -gl -O- 
>> -CpARMV5 -Fl/home/sem/gcc/arm-none-linux-gnueabi/libc/marvell-f/lib 
>> -Fl/home/sem/gcc/arm-none-linux-gnueabi/libc/marvell-f/usr/lib 
>> -Xr/home/sem/gcc/arm-none-linux-gnueabi/libc/marvell-f/lib' 
>> CROSSINSTALL=1 PREFIX=/usr
>>
>> i tried to test my program compiled with fpc 2.5.1, program  
>> immediately crash after start. same result with 2.4.2.
>
> Do you have an example program (as short as possible) that 
> demonstrates this? I've got 2.4.2 etc. running here and would be 
> interested to try it.
>
I'll make a test program later and post here.

-- 
С Уважением, Евгений Семенов
Best regards, Evgeniy Semenov.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20101125/0f0dc4f8/attachment.html>


More information about the fpc-pascal mailing list