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
  • #10508
Closed
Open
Issue created Dec 30, 2007 by FPC Admin account@fpc_adminOwner

Fix GLExt for x86_64

Original Reporter info from Mantis: Michalis @michaliskambi
  • Reporter name: Michalis Kamburelis

Description:

glext_ExtensionSupported in GLExt unit does arithmetic on pointers casting them to Integer type, this obviously causes Access violations/segfaults from any Load_xxx function when on x86_64.

Fix is to use PtrUInt type. Simple patch is attached.

While I was at it, also GLintptr and GLsizeiptr need fixing (were Integer, should be PtrInt (signed are OK here, looking at how they are supposed to be used in GL)).

Mantis conversion info:

  • Mantis ID: 10508
  • OS: Debian
  • OS Build: testing
  • Platform: x86_64
  • Version: 2.3.1
  • Fixed in version: 2.2.2
  • Fixed in revision: 9762 (#23b62be0)
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
Time tracking