Recent

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

lucamar

  • Hero Member
  • *****
  • Posts: 3204
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/FPC 2.0.8/3.0.4 & 2.0.10/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

Thaddy

  • Hero Member
  • *****
  • Posts: 10573
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.

 

TinyPortal © 2005-2018