Skip to content

Build errors on clang on Linux #65

@Pr0methean

Description

@Pr0methean

Even after pulling 202f1de, I found I had to make all the changes in the attached patch before yafu would actually build and run on my Ubuntu machine running Clang 20.1.8 without errors and without deceptively using GCC for some subtasks. The build command was:

make -m Makefile.clang yafu USE_SSE41=1 USE_AVX2=1 USE_BMI2=1 SKYLAKE=1 VBITS=256

clang-compatibility.patch

NB: I'd built msieve and libmsieve.a separately in order to use the polysize branch at https://sourceforge.net/p/msieve/code/HEAD/tree/branches/polysize/ and the patches I've posted to https://sourceforge.net/p/msieve/mailman/msieve-devel/, and I copied them into the repo root after every make clean. The unmerged msieve patches I was using, relative to SVN 1072, are attached as a squashed patch file.

msieve-combined.patch

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