Skip to content
GitLab
    • GitLab: the DevOps platform
    • Explore GitLab
    • Install GitLab
    • How GitLab compares
    • Get started
    • GitLab docs
    • GitLab Learn
  • Pricing
  • Talk to an expert
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
    • Switch to GitLab Next
    Projects Groups Topics Snippets
  • Register
  • Sign in
  • FPC Source FPC Source
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
    • Locked files
  • Issues 1.4k
    • Issues 1.4k
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Merge requests 84
    • Merge requests 84
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
    • Test cases
  • Deployments
    • Deployments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Container Registry
    • Terraform modules
    • Model experiments
  • External wiki
    • External wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • FPC
  • FPCFPC
  • FPC SourceFPC Source
  • Issues
  • #35567
Closed
Open
Issue created May 12, 2019 by FPC Admin account@fpc_adminOwner

Wrong dwarf-3 info for dyn-array when cross compiling between 32/64 bit

Original Reporter info from Mantis: Martin @martin_frb
  • Reporter name: Martin Friebe

Description:

In file dbgdwarf.pas

writing dwarf-3 for dyn array
procedure tdebuginfodwarf3.appenddef_array(list: tasmlist; def: tarraydef);

uses sizeof(ptrint)
        current_asmdata.asmlists[al_dwarf_info].concat(tai_const.create_8bit(ord(DW_OP_lit0)+sizeof(ptrint)));

This is the wrong value, if cross compiling.
Similar issues for strings where fixed in #35386 (closed)

Mantis conversion info:

  • Mantis ID: 35567
  • OS: win 10
  • OS Build: 10
  • Platform: 64bit Intel
  • Version: 3.3.1
  • Fixed in version: 3.3.1
  • Fixed in revision: 43264 (#e7715023)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking