Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

BUG (Announce)

posted by Laaca Homepage, Czech republic, 10.03.2011, 12:31

You touches more issues:

1) compile fail with message "Util LD not found..."
- it is a old bug present already in 1.0.x versions. It is not persistent but intermitent, sometimes occurs sometimes not. It affects all platforms, not only DOS. Usually helps to run this sekvence: Make-Build-compile. If not try to go into options and switch from "smart linking" to "default linking" or vice versa.

2) big binaries - yes, generated binaries are big, however with certain comliter settings they are smaller. I think that yout 240KB of BUG.PAS could be reduced to cca 30KB

3) Level 2 optimalizations
It is weird you got error with Level 1, I always only with Level 2. Please, check settings.
However, it is VERY SEVERE BUG in peephole optimizer. DOS code very often calls the pseudovariables MEM and selector omitting in generated code leads to unexpected bugs or crashes. From FPC itself is MEM f.e. in many places in Graph unit or in IDE sources and in other units. Besides that, maybe this peephole opmimizer bug affects not only pseudoarrays MEM but also inlined assember - who knows?
The tragedy is that author of peephole optimizer refused to examine this problem and fix from somebody else is very unlikely.

---
DOS-u-akbar!

 

Complete thread:

Back to the forum
Board view  Mix view
22781 Postings in 2123 Threads, 402 registered users (0 online)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum