Also building a qemu image does not seem as straight forward as I expected, so I'd like to know if anybody can help providing access to a machine or a qemu image that I can download.</div><div>Of course, any help to debug this issue is more thanwelcome.</div><div><span><pre><pre>-- <br></pre>Cheers,
Dear Teams,
I started looking at the m68k build issue, but the buildd logs
are not enough to
understand what happens.
I tried to find a m68k machine on porter boxes but failed to
find any.
Also building a qemu image does not seem as straight forward as
I expected, so
I'd like to know if anybody can help providing access to a
machine or a qemu
image that I can download.
Of course, any help to debug this issue is more than welcome.
I started looking at the m68k build issue, but the buildd logs are not enough to
understand what happens.
I tried to find a m68k machine on porter boxes but failed to find any.
Also building a qemu image does not seem as straight forward as I expected, so
I'd like to know if anybody can help providing access to a machine or a qemu image that I can download.
Of course, any help to debug this issue is more than welcome.
[1] https://bugs.freepascal.org/view.php?id=37250
[2] https://wiki.debian.org/M68k/QemuSystemM68k
Hi Abou!It looks that Pierre already answered there and is waiting for feedback.
On 8/4/20 5:33 PM, Abou Al Montacir wrote:
I started looking at the m68k build issue, but the buildd logs are not enough tounderstand what happens.I tried to find a m68k machine on porter boxes but failed to find any.Also building a qemu image does not seem as straight forward as I expected, soI'd like to know if anybody can help providing access to a machine or a qemuimage that I can download.Of course, any help to debug this issue is more than welcome.
I have already reported this issue upstream [1], but so far I have not receivedany feedback. Charlie (CC'ed) from upstream who is mainly responsible for them68k backend as far as I know said he would look into it.
If you want to set up a Debian/m68k VM yourself, please have a look at [2].That looks too complicated for me.
On 8/4/20 5:33 PM, Abou Al Montacir wrote:
I started looking at the m68k build issue, but the buildd logs are not enough to understand what happens. I tried to find a m68k machine on
porter boxes but failed to find any. Also building a qemu image does
not seem as straight forward as I expected, so I'd like to know if
anybody can help providing access to a machine or a qemu image that I
can download. Of course, any help to debug this issue is more than
welcome.
I have already reported this issue upstream [1], but so far I have not received any feedback. Charlie (CC'ed) from upstream who is mainly responsible for the m68k backend as far as I know said he would look
into it.
If you want to set up a Debian/m68k VM yourself, please have a look at [2].
Sorry for the delayed response, yes, we in upstream are willing to fix theissue, although we run regular tests with QEMU, and those are lookinggood. So not sure what could cause that build problem, but we're alsomostly doing cross-builds with m68k, not native builds.I looked deeper in the issue and it seems that it may be a bug in the initial compiler /usr/bin/ppc68k which is used to bootstrap the cycle.
I know I promised to look into this, but never really had time in the lastfew weeks, sorry about it. It turned out, our SVN trunk was broken forLinux-m68k, so I fixed that meanwhile, but FPC 3.2.0 was forked earlier tothat breakage, so if there's an issue it must be different. I'll getthere, meanwhile but of course any input is welcome.
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre><br></pre><pre>Sorry for the delayed response, yes, we in upstream are willing to fix the</pre><pre>issue, although we run regular tests with QEMU,and those are looking</pre><pre>good. So not sure what could cause that build problem, but we're also</pre><pre>mostly doing cross-builds with m68k, not native builds.</pre><pre><br></pre><pre>I know I promised to look into this, but never really had
It turned out, our SVN trunk was broken for Linux-m68k, so I fixed that
meanwhile, but FPC 3.2.0 was forked earlier to that breakage, so if
there's an issue it must be different. I'll get there, meanwhile but of
course any input is welcome.
I looked deeper in the issue and it seems that it may be a bug in the
initial compiler /usr/bin/ppc68k which is used to bootstrap the cycle.
This compiler is of version 3.0.4+dfsg-23.
So a possible way to overcome this is to perform a binary upload to
m68k. However I was not able to generate packages by cross compilation.
I cross-built a recent 3.2.1 compiler from our fixes_3_2 branch (this will be released as 3.2.2, eventually), I uploaded it here:
https://coderetro.net/temp/linux-m68k/
Can you try bootstrapping with this compiler binary? At least from FPC's perspective, you shouldn't need anything else, to initiate a cross build than a bootstrap compiler binary, and GNU binutils and make. Not sure if Debian needs anything else.
If this also crashes, then I have to dig deeper to identify the problem, because 3.2.x will be with us for a while, and I'd like it to be built for Debian-m68k.
It still fails with:
numlib/units/m68k-linux/spe.s: Assembler messages: numlib/units/m68k-linux/spe.s:1751: Error: cannot create floating-point number
spe.pas(1793) Error: Error while assembling exitcode 1
spe.pas(1793) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
I used your binary and the source tarball for FPC 3.2.0.
I cross-built a recent 3.2.1 compiler from our fixes_3_2 branch (this will
be released as 3.2.2, eventually), I uploaded it here:
https://coderetro.net/temp/linux-m68k/
Can you try bootstrapping with this compiler binary? At least from FPC's perspective, you shouldn't need anything else, to initiate a cross build
than a bootstrap compiler binary, and GNU binutils and make. Not sure if Debian needs anything else.
If this also crashes, then I have to dig deeper to identify the problem, because 3.2.x will be with us for a while, and I'd like it to be built for Debian-m68k.
If this also crashes, then I have to dig deeper to identify the problem, >>> because 3.2.x will be with us for a while, and I'd like it to be built for
Debian-m68k.
It still fails with:
numlib/units/m68k-linux/spe.s: Assembler messages:
numlib/units/m68k-linux/spe.s:1751: Error: cannot create floating-point number
spe.pas(1793) Error: Error while assembling exitcode 1
spe.pas(1793) Fatal: There were 2 errors compiling module, stopping
Fatal: Compilation aborted
Can you send me that spe.s file which fails to compile?
See attached.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 295 |
Nodes: | 16 (2 / 14) |
Uptime: | 04:55:02 |
Calls: | 6,642 |
Calls today: | 2 |
Files: | 12,190 |
Messages: | 5,325,847 |