Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[contrib][linux] Fix build after introducing ASM HUF implementation #2790

Merged
merged 3 commits into from
Sep 24, 2021
Merged

[contrib][linux] Fix build after introducing ASM HUF implementation #2790

merged 3 commits into from
Sep 24, 2021

Commits on Sep 23, 2021

  1. [contrib][linux] Fix build with CONFIG_WERROR

    Linux 5.15 introduces a new Kconfig option, CONFIG_WERROR, which
    forces -Werror for the entire kernel.
    Current in-kernel ZSTD implementation uses functions deprecated
    in 1.5.0, and thus fails on -Wdeprecated-declarations.
    Turn this particular error into warning to be able to build the
    kernel with CONFIG_WERROR. I'm not disabling them completely to
    make sure they'll be visible and [hopefully] fixed sooner or later.
    
    Signed-off-by: Alexander Lobakin <alobakin@pm.me>
    solbjorn committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    e6d62bb View commit details
    Browse the repository at this point in the history
  2. [contrib][linux] Add huf_decompress_amd64.o target to Makefile

    Commit a5f2c45 ("Huffman ASM") added a new ASM source file,
    but it wasn't added to the kernel Makefile despite that it received
    support for Huffman ASM according to the internal definitions. This
    leads to undefined references, as huf_decompress.o now calls those
    ASM functions.
    Add it to the list of sources when building inside the kernel tree.
    Kbuild can handle .S files just fine, so none additional rules
    needed.
    
    Fixes: a5f2c45 ("Huffman ASM")
    Signed-off-by: Alexander Lobakin <alobakin@pm.me>
    solbjorn committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    c45b27a View commit details
    Browse the repository at this point in the history
  3. [contrib][linux] Add contrib/linux-kernel/linux to .gitignore

    The mentioned path is being created/used by the 'import' rule for
    generating source files for Linux kernel.
    
    Signed-off-by: Alexander Lobakin <alobakin@pm.me>
    solbjorn committed Sep 23, 2021
    Configuration menu
    Copy the full SHA
    d8b7fc5 View commit details
    Browse the repository at this point in the history