Skip to content

4.2 build fails on i686: ELF format cannot produce non-PC-relative PLT references #831

Description

@Akilan-Sivakumar

BB Issue #1030
Original issue created by bbhtt (bitbucket username :bbhtt).
Created on Bitbucket: 2026-04-20
Last updated on Bitbucket: 2026-04-21

FAILED: [code=1] common/CMakeFiles/common.dir/x86/cpu-a.asm.o /usr/bin/nasm -f elf32 -DARCH_X86_64=0 -I /buildstream-build/source/common/../common/x86/ -DHAVE_ALIGNED_STACK=1 -DHIGH_BIT_DEPTH=0 -DBIT_DEPTH=8 -DX265_NS=x265 -o common/CMakeFiles/common.dir/x86/cpu-a.asm.o /buildstream-build/source/common/x86/cpu-a.asm /buildstream-build/source/common/x86/cpu-a.asm:181: error: ELF format cannot produce non-PC-relative PLT references /buildstream-build/source/common/../common/x86/x86inc.asm:1128: ... from macro "call" defined here

This is with NASM 2.16.03. The full build log is also attached.

Attachments:

build_log.txt

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