https://gcc.gnu.org/bugzilla/show_bug.cgi?id=95005

Michael Kuhn <gcc at ikkoku dot de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #48482|0                           |1
        is obsolete|                            |

--- Comment #5 from Michael Kuhn <gcc at ikkoku dot de> ---
Created attachment 48516
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48516&action=edit
Updated zstd patch

Thanks for investigating! Sadly, this still does not work for me, even with
master.
If I do "make lto-compress.o" in the gcc subdirectory, it works (and includes
the include path), but a normal "make" in the build directory does not.

In Spack, another issue has come up: When building with Clang (as frequently
done on macOS), libzstd cannot be found. After some investigation, it seems
that the library path is also not set correctly.

I have come up with the attached updated patch that allows me build GCC with
zstd in a non-standard path. It is also a bit cleaner than the previous
approach.

Reply via email to