Re: [fpc-pascal] My Linux service application consumes 10% CPU when idling - why?

2021-10-17 Thread Bo Berglund via fpc-pascal
On Sun, 17 Oct 2021 00:43:51 +0200, Bo Berglund via fpc-pascal wrote: >timeout --signal=2 3s strace -f -c -p 488 -o tracelog2.log > >% time seconds usecs/call callserrors syscall >-- --- --- - - > 46.470.348353 414

[fpc-pascal] FPC 3.2.2 Build Error on Mac

2021-10-17 Thread Anthony Walter via fpc-pascal
I am trying to build FPC from 3.3.2 sources on a Mac and am getting errors complaining about two binary files having different sizes. Could someone help me figure out what's going on? Here is a list of what is output is in the terminal after waiting a while for `make all` to complete. Also,

Re: [fpc-pascal] Repost: TFieldType declaration change in FPC fixes_3_2 branch

2021-10-17 Thread Tony Whyman via fpc-pascal
Yes - but is that really a bug fix that justifies a non-backwards compatible change? On 17/10/2021 11:09, Michael Van Canneyt via fpc-pascal wrote: On Sun, 17 Oct 2021, Tony Whyman via fpc-pascal wrote: /Reposted with correct branch identifier/. I thought that a fixes branch was only for

[fpc-pascal] Repost: TFieldType declaration change in FPC fixes_3_2 branch

2021-10-17 Thread Tony Whyman via fpc-pascal
/Reposted with correct branch identifier/. I thought that a fixes branch was only for bug fixes and not for issuing non-backwards compatible changes. However, TFieldType in db.pas now has 6 extra elements. The result is that IBX no longer compiles with the fixes_3_2 branch. I have also

Re: [fpc-pascal] Repost: TFieldType declaration change in FPC fixes_3_2 branch

2021-10-17 Thread Michael Van Canneyt via fpc-pascal
On Sun, 17 Oct 2021, Tony Whyman via fpc-pascal wrote: Yes - but is that really a bug fix that justifies a non-backwards compatible change? That's up for debate of course. Probably it was needed as prerequisite for other bugfixes. Michael. ___

Re: [fpc-pascal] My Linux service application consumes 10% CPU when idling - why?

2021-10-17 Thread Bo Berglund via fpc-pascal
On Sun, 17 Oct 2021 12:03:44 +0200 (CEST), Michael Van Canneyt via fpc-pascal wrote: >> Does this mean that: >> _newselect is running for 207 ms during the 3 second test time? >> (Which is 17 ms per call) >> >> And what is _newselect in the first place? > >Select (or _newselect) checks if there

Re: [fpc-pascal] Repost: TFieldType declaration change in FPC fixes_3_2 branch

2021-10-17 Thread Michael Van Canneyt via fpc-pascal
On Sun, 17 Oct 2021, Tony Whyman via fpc-pascal wrote: /Reposted with correct branch identifier/. I thought that a fixes branch was only for bug fixes and not for issuing non-backwards compatible changes. However, TFieldType in db.pas now has 6 extra elements. The result is that IBX no

Re: [fpc-pascal] My Linux service application consumes 10% CPU when idling - why?

2021-10-17 Thread Michael Van Canneyt via fpc-pascal
On Sun, 17 Oct 2021, Bo Berglund via fpc-pascal wrote: On Sun, 17 Oct 2021 00:43:51 +0200, Bo Berglund via fpc-pascal wrote: timeout --signal=2 3s strace -f -c -p 488 -o tracelog2.log % time seconds usecs/call callserrors syscall -- --- --- -

Re: [fpc-pascal] FPC 3.2.2 Build Error on Mac

2021-10-17 Thread lazarus--- via fpc-pascal
Anthony Walter via fpc-pascal wrote on 18/10/21 12:08 am: I am trying to build FPC from 3.3.2 sources on a Mac and am getting errors complaining about two binary files having different sizes. Could someone help me figure out what's going on? Here is a list of what is output is in theĀ terminalĀ