Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

compilation fails with -cl-opt-disable #61

Description

@pszi1ard

When compiling with -cl-opt-disable, I get the following errors (one for each kernel function):

: error: can't create dynamic relocation R_AMDGPU_REL32_LO against symbol: norm2 in readonly segment; recompile object files with -fPIC
>>> defined in /tmp/t_20283_71-5d7565.o
>>> referenced by /tmp/t_20283_71-5d7565.o:(nbnxn_kernel_prune_opencl)

: error: can't create dynamic relocation R_AMDGPU_REL32_HI against symbol: norm2 in readonly segment; recompile object files with -fPIC
>>> defined in /tmp/t_20283_71-5d7565.o
>>> referenced by /tmp/t_20283_71-5d7565.o:(nbnxn_kernel_prune_opencl)
[...]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions