Recent

Author Topic: impossible bug under ARM  (Read 2169 times)

lucamar

  • Hero Member
  • *****
  • Posts: 2021
Re: impossible bug under ARM
« Reply #15 on: August 29, 2018, 06:20:43 pm »
No, the compiler gives no warnings. The linker gives the usual warning: "link.res contains output sections; did you forget -T?"
That means your FPC is old... From 3.0.4 that warning is gone...

Uhh .. Thaddy, I'm using 3.0.4  and the warning is still there (at least in Linux). Does it not depend rather on the version of ld (the linker)?
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus 2.0.2/2.0.4  - FPC 3.0.4 on:
(K|L)Ubuntu 12..16, Windows XP SP3, various DOSes.

Thaddy

  • Hero Member
  • *****
  • Posts: 8937
Re: impossible bug under ARM
« Reply #16 on: August 29, 2018, 06:50:53 pm »
Uhh .. Thaddy, I'm using 3.0.4  and the warning is still there (at least in Linux). Does it not depend rather on the version of ld (the linker)?
There's a very slight chance it is just in 3.2.0 but I really think the linker behavior has changed since 3.0.4. provided you have an up-to-date linker. 2.21 won't do.

More in detail: FPC changed the way it talks to the linker and the warning is harmless.
Most people that want to use threading should learn to patch their jeans first: use a needle.