[fpc-devel] 68k question

J. Gareth Moreton gareth at moreton-family.com
Mon Dec 21 21:13:47 CET 2020


I'll try my Ubuntu virtual machine first and get back to you. I'll get 
to the bottom of this!

Gareth aka. Kit

On 21/12/2020 20:01, Marcus Sackrow via fpc-devel wrote:
> Hi,
>
> I have a docker container with Lazarus/fpc3.2 and these vlink/vasm 
> installed if it would help?
>
> Greetings,
> Marcus
>
> Am 21.12.20 um 20:54 schrieb J. Gareth Moreton via fpc-devel:
>>
>> No, I'm using 3.2.0 as well.  It might be that it only shows up if 
>> you cross-build from Linux.  I'll keep investigating.
>>
>> Gareth aka. Kit
>>
>> On 21/12/2020 19:50, Marcus Sackrow via fpc-devel wrote:
>>> Hi,
>>>
>>> no, nothing special the server just do a
>>>
>>> make distclean
>>> make distclean
>>> echo '###### start AMIGA making 68020'
>>> make zipinstall PACKDIR=/tmp/jenkins-FPC_m68k-amiga-6948 OS_TARGET=amiga CPU_TARGET=m68k 'CROSSOPT=-Avasm -XV -Cp68020'
>>>
>>> but the CPU options should do no difference because atari is 
>>> compiled for 68000 and shows the same error
>>>
>>> maybe the starting compiler is different?
>>>
>>> the build server uses 3.2.0 as starting compiler
>>>
>>> Greetings,
>>> Marcus
>>>
>>>
>>> Am 21.12.20 um 20:32 schrieb J. Gareth Moreton via fpc-devel:
>>>> So far under Windows, it compiled successfully:
>>>>
>>>> make crossinstall CPU_TARGET=m68k OS_TARGET=amiga CROSSOPT="-Avasm 
>>>> -XV" 
>>>> CROSSBINDIR=C:\Users\garet\Documents\programming\fpc\VasmVLinkforFPCWin32
>>>>
>>>> Is there anything particular that I need to do?
>>>>
>>>> Gareth aka. Kit
>>>>
>>>> On 21/12/2020 18:44, Marcus Sackrow via fpc-devel wrote:
>>>>> Hi Gareth,
>>>>>
>>>>> btw it was catched by the build server
>>>>>
>>>>> http://build.alb42.de:8080/job/FPC_m68k-amiga/6948/console
>>>>> http://build.alb42.de:8080/job/FPC_m68k-atari/6659/console
>>>>> http://build.alb42.de:8080/job/FPC_m68k-linux/6941/console
>>>>>
>>>>>
>>>>> you can see if you get the same error message
>>>>>
>>>>> Good luck.
>>>>>
>>>>> Am 21.12.20 um 19:40 schrieb J. Gareth Moreton via fpc-devel:
>>>>>> That should be fine - thanks Marcus.  I need to reproduce the 
>>>>>> internal
>>>>>> error that's being reported, and so I can compare the disassembly of
>>>>>> ppcross68k to see where my optimisation is going wrong.
>>>>>>
>>>>>> Gareth aka. Kit
>>>>>>
>>>>>> On 21/12/2020 18:29, Marcus Sackrow via fpc-devel wrote:
>>>>>>> Hi Graeth,
>>>>>>>
>>>>>>> Am 21.12.20 um 19:01 schrieb J. Gareth Moreton via fpc-devel:
>>>>>>>> I need to fix a bug with one of my optimisations that causes
>>>>>>>> ppcross68k to raise an internal error.  What target platform 
>>>>>>>> should I
>>>>>>>> specify (cross-building from x86_64-win64)?
>>>>>>>
>>>>>>>
>>>>>>> for example your could compile for m68k-amiga with
>>>>>>>
>>>>>>>
>>>>>>> make crossall OS_TARGET=amiga CPU_TARGET=m68k CROSSOPT="-Avasm -XV"
>>>>>>>
>>>>>>>
>>>>>>> you will need vasm and vlink (assembler and linker) I created 
>>>>>>> them once
>>>>>>> already
>>>>>>>
>>>>>>> you can download them here
>>>>>>>
>>>>>>> http://build.alb42.de/fpcbinint/VasmVLinkforFPCWin32.zip
>>>>>>>
>>>>>>>
>>>>>>> is that what you mean?
>>>>>>>
>>>>>>>
>>>>>>> Greetings,
>>>>>>>
>>>>>>> Marcus
>>>>>>>
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> fpc-devel maillist  - fpc-devel at lists.freepascal.org
>>>>>>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>>>>>>>
>>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> fpc-devel maillist  - fpc-devel at lists.freepascal.org
>>>>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>>>>>
>>>>
>>>
>>>
>>> _______________________________________________
>>> fpc-devel maillist  -fpc-devel at lists.freepascal.org
>>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>>
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
>> 	Virus-free. www.avast.com 
>> <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient> 
>>
>>
>> <#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>
>>
>> _______________________________________________
>> fpc-devel maillist  -fpc-devel at lists.freepascal.org
>> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel
>
>
>
> _______________________________________________
> fpc-devel maillist  -  fpc-devel at lists.freepascal.org
> https://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-devel


-- 
This email has been checked for viruses by Avast antivirus software.
https://www.avast.com/antivirus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-devel/attachments/20201221/29b19205/attachment.htm>


More information about the fpc-devel mailing list