On Mon, April 7, 2008 13:23, Robert Riebisch wrote: > Peter Vreman wrote: > >> >> Runtime error 255 at $000020AC >> >> $000020AC of ?·? >> >> $000020B8 of ?·? >> >> $000020C9 of ?·? >> >> $00002098 of ?·? >> >> >> >> Looks like the lineinfo unit is also broken. >> > >> > But it works for old FPC versions 2.0.4 (dos204.zip), 2.2.0 (my own >> > build), or 2.2.1 (fpc-2.2.1.go32v2.zip). >> >> Parts of the lineinfo related code are rewritten in 2.3.1. There is no >> active development done on >> go32v2. So it can be that svn code is broken go32v2. > > I identified the problem now: "secofs" value returned by function > "FindSectionCoff" in file "exeinfo.pp" is always 2,048 bytes too small. > 2,048 (or $800) is the size of the go32 EXE stub. > > I failed to find an elegant solution, that doesn't break PE32 or > PE32PLUS. Maybe somebody else, who's more familiar with FPC's source > code, could fix this?! Of course, I could assist as a tester.
If nobody else can do it earlier, I'll try it, but probably not before end of this week. Tomas _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel