Mail Archives: djgpp/2012/06/24/03:40:04
On 23.6.2012 21:52, rugxulo AT gmail DOT com wrote:
> Hi,
>
> On Saturday, June 23, 2012 10:44:43 AM UTC-5, Andris Pavenis wrote:
>> On 23.6.2012 10:19, Andris Pavenis wrote:
>>> It seems that we need to have own version of gcc/ada/s-os_lib.adb
>>> with modified temporary file name generation for DJGPP.
>>>
>>> Ada support is perhaps broken for non LFN systems before we have one.
>>>
>> You could try the test build (ada471b.zip only, other files should be OK
>> from the earlier build)
>>
>> http://ap1.pp.fi/djgpp/gcc/4.7.1/v204/testonly/ada471b.zip
>>
>> Temporary file names should hopefully be compatible with non-LFN system
>> however I have not tested it
> Yes, it seems to work much better, though it still fails at the end saying that "s-stratt.ali is outdated and needs to be recompiled". I'm not sure if that's due to some internal hash mismatching, you forgetting to remake it, or if it's a timestamp issue (doubtful as I touch'd it and it didn't help).
It should not be as I did full fresh bootstrap yesterday before
putting files for testing.
However looking at sources shows that the problem is LFN
conflict mentioned in the announcement. We have s-stratt.adb
and s-stratt-xdr.adb that both resolves to the same
non-LFN filename. They are simply 2 different implementation
of the same stuff as far as I can understand from the comments
in the source code. It is possible that unpacking binary archive
mixed files and the result some hash does not match.
Could You try on non-LFN system:
- taking only s-stratt.adb and leaving s-stratt-xdr.adb out
- taking only s-stratt-xdr.adb and leaving s-stratt.adb out
Is one of these variants working OK
Andris
- Raw text -