Skip to content

CMake Compile options for cpu_features_build-prefix/lib64/libcpu_features.a causing linker failure for obs-localvocal.so #310

@jngreene

Description

@jngreene

Fedora 43
All identifiable dependencies locate and installed via dnf5
final linking of obs-localvocal.so fails with the following as the last two lines of the error

/usr/sbin/ld: cpu_features_build-prefix/lib64/libcpu_features.a(impl_x86_linux_or_android.c.o): relocation R_X86_64_32 against '.rodata' can not be used when making a shared object; recompile with -fPIC
/usr/sbin/ld: failed to set dynamic section sizes: bad value

My wretchedly insufficient attempts to get `cpu_features_build-prefix/lib64/libcpu_features.a' built with the -fPIC have failed me and as I'm not a Developer or Programmer with cmake knowledge (I'm from the make era) I need assistance finding where to correct the compilation flag that will hopefully resolve this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions