Skip to content

compilation fails with -cl-opt-disable #61

@pszi1ard

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions