Recent

Author Topic: Updated my trunk and now get warning 32 bit absolute relocation to symbol  (Read 6438 times)

Josh

  • Hero Member
  • *****
  • Posts: 1274
Hi

Just updated my lazand fpc/trunk(win64) to
Lazarus 3.99 (rev main_3_99-1753-g76182b6c00) FPC 3.3.1 x86_64-win64-win32/win64

Previous version
Lazarus 3.99 (rev main_3_99-1547-gfee8dbf80e) FPC 3.3.1 x86_64-win64-win32/win64
Does not show this.

I have a project that is set for 64bit, and have a debug/release/default build mode.
When I compile to release I get the following warning.

Code: Pascal  [Select][+][-]
  1. project1.lpr(24,1) Warning: Object file "unit1.o" contains 32 bit absolute relocation to symbol "U_$APPVARSCODE_$$_ALIENSMINY".

the variable aliensminy is set in another unit APPVARCODE and is set as LONGINT, i have tried setting it to INT64, and get the same warning message.
i have deleted all the generated lib files and rebuild, and get the same warning.

Any one have an idea, why release mode is showing this. yet debug mode is not.

ps. I have aleady done a clean all and build of Lazarus, to no effect.
« Last Edit: April 02, 2024, 02:09:50 pm by Josh »
The best way to get accurate information on the forum is to post something wrong and wait for corrections.

TRon

  • Hero Member
  • *****
  • Posts: 2534
issue https://gitlab.com/freepascal.org/fpc/source/-/issues/40719

Use trunk and you need to have some sense of responsibility  :)

 

TinyPortal © 2005-2018