[Pkg-pascal-devel] Bug#813452: Bug#813452: Bug#813452: fpc-3.0 regression in armhf and armel architectures

Paul Gevers elbrus at debian.org
Fri Feb 5 15:02:28 UTC 2016


Hi Abou,
On 05-02-16 09:17, Abou Al Montacir wrote:
> Fine not open? Are you sure the Reset/ReWrite/... open function did not
> return an error? Maybe check IoResult after opening the file.
> Anyway this is strange as it would not worked before unless the OS
> backend open function use is not the same as in previous version.
> Can you please provide code snippet about when the file was open, which
> mode and so on?

The "file" it tries to open is stderr ;)

>> the strange thing is that the affected line seems rather simple:
>> procedure WriteLn(var f: textfile; s: shortstring);
>> begin
>> system.writeln(f, s)
>> end;
> I'm almost sure this is not the faulty code, but something before that
> made the file not correctly open.

The annoying thing is that on other archs it works and with fpc 2.6.4 it
works, so I agree with Gianfranco that it seems to be related to fpc
3.0.0. However, from my preliminary scan I couldn't find anything in fpc
on that low level that changed.

>> and the testsuite works perfectly on every other architecture, so I presume this is an fpc specific regression.
>> (I can also ask to remove the hedgewars arm* architectures if needed)
> I don't think we should remove any package form any arch, just be
> patient and fix the bug.

I agree with that statement. Unless we find out that it never worked on
arm*, we just have to fix whatever needs fixing.

Paul

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-pascal-devel/attachments/20160205/d8a25a3e/attachment.sig>


More information about the Pkg-pascal-devel mailing list