On 19 December 2013 21:34, Thomas Funk <[email protected]> wrote:
> Also I used the long configure command like Debian used. Same behavior
> - works.
>
> Looks quiet bad ... Something get wrong while the build Debian does
> but no clue what's the problem ...

Don't give out red-herrings like this---CFLAGS aside, I don't think
messing with those is a good enough indication that you can just say a
problem is "fixed".

If you mess with CFLAGS and hence turn off/turn on higher/lower
optimisations, or start dicking with -g -gdb, etc., then who knows
what you'll get, it might be fine, it might not.  If you want to look
at this again in the future, just use "-g -O2"

Having looked at the code, one optimisation that might be tweaked
behind the scenes with all these CFLAGS wrangling is the fact that
WriteToFile() doesn't seem to call fflush()  after fwrite().  That
might be OK in most cases, it depends how much buffering the kernel is
doing.  I wonder if you're hitting that limit and hence seeing a tiny
part of the buffer fwrite() managed to get its hands on?

-- Thomas Adam

Reply via email to