[Solved] graphics32 package compilation fails on fresh FPC/Lazarus Linux x64 lazarus / 1-Linux ---------------------------------------------------------------------- Jerome Lioret · 2021-01-29 11:27 Hello, This is my first post and I wonder if I have chosen the right forum channel. I have the following config on a fresh VirtualBox Debian 10.7 machine: Lazarus 2.0.10 r63526 FPC 3.2.0 x86_64-linux-gtk2 Trying to compile GR32_Lazarus.lpk ends up with error: QuoteGR32_BlendSSE2.pas(282,23) Error: Generating PIC, but reference is not PIC-safe The error occurs in an ASM block in function: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 207      procedure BlendMems_SSE2(F: TColor32; B: PColor32; Count: Integer); {$IFDEF FPC} assembler; nostackframe; {$ENDIF} Code block: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i 279      MOVD      XMM4,ECX280      PXOR      XMM3,XMM3281      PUNPCKLBW XMM4,XMM3282      MOV       RAX,bias_ptr Did someone already face difficulties to install graphics32 on such a config, or on another, who could help to solve? Thank you, Jerome ---------------------------------------------------------------------- Jerome Lioret · 2021-01-29 14:24 Hello, I finally managed to install graphics32 using the Online Package Manager. It is really straightforward. Marking my own post as solved (if possible ). Jerome Lioret ---------------------------------------------------------------------- marcov · 2021-05-24 13:41 On x86_64 globals generally need to addressed indirectly using RIP so if biasptr is the global lea   rax, rip+biasptr or so.