Recent

Author Topic: FPC Compiler Relocation Bug for win32 bit on Trunk  (Read 675 times)

Coldzer0

  • Jr. Member
  • **
  • Posts: 53
FPC Compiler Relocation Bug for win32 bit on Trunk
« on: November 30, 2023, 08:05:53 pm »
Hello All,

I was testing the Win32 with debug info and found this compiler exception.
Can someone please check this on your side with Lazarus (FPC)

You can download the repo here https://github.com/Coldzer0/ImGui-Pascal

And in the demo, there's a Debug_windows_32 build mode. Please build with it and let me know if it does build or has the same problem.

I only get this exception when compiling with debug info, and then I think it crashes when it tries to do relocations.

I tested with the FPC Trunk version.
« Last Edit: December 01, 2023, 04:53:57 am by Coldzer0 »

Bart

  • Hero Member
  • *****
  • Posts: 5469
    • Bart en Mariska's Webstek
Re: FPC Compiler Relocation Bug for win32 bit on Trunk
« Reply #1 on: November 30, 2023, 10:53:33 pm »
Which fpc?
An exception inside the compiler always is a bug.
Can you reporduce this with fpc main (you'll have to build it yourself from sources, or use fpcupdeluxe to do it for you).
If you can reproduce with fpc main, file a bugreport in the bugtracker.

Bart

Coldzer0

  • Jr. Member
  • **
  • Posts: 53
Re: FPC Compiler Relocation Bug for win32 bit on Trunk
« Reply #2 on: December 01, 2023, 04:53:42 am »
Which fpc?
An exception inside the compiler always is a bug.
Can you reporduce this with fpc main (you'll have to build it yourself from sources, or use fpcupdeluxe to do it for you).
If you can reproduce with fpc main, file a bugreport in the bugtracker.

Bart


Isn't Trunk the same as the main?
I reproduced with the Trunk and fixes-3.2 branches in my testing.

I created a bug report https://gitlab.com/freepascal.org/fpc/source/-/issues/40548
« Last Edit: December 01, 2023, 05:07:04 am by Coldzer0 »

 

TinyPortal © 2005-2018