Skip to content

llvm_mode LTO instrumentlist and persistent tests fails on Alpine Linux riscv64 #2064

@ncopa

Description

@ncopa

IMPORTANT

AFLplusplus-4.20c

Describe the bug
On alpine linux, riscv64 the LTO llvm_mode test fails.

[*] Testing: LTO llvm_mode
[!] LTO llvm_mode failed   
[!] llvm_mode LTO instrumentlist feature compilation failed
[!] llvm_mode LTO persistent mode feature compilation failed

To Reproduce

On an Alpin eLinux riscv64 machine run:

        export PATH="$PATH:/usr/lib/llvm17/bin"
        export NO_NYX=1
        export AFL_NO_X86=1
        export LLVM_LTO=1
        make PREFIX=/usr all

        CFLAGS= CXXFLAGS= make AFL_NO_X86=1 test

Expected behavior
Test passes

Screen output/Screenshots

[*] Testing: LTO llvm_mode
[!] LTO llvm_mode failed
[!] llvm_mode LTO instrumentlist feature compilation failed
[!] llvm_mode LTO persistent mode feature compilation failed

Additional context

This was discovered on riscv64.

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