You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
First, thank you for maintaining the gozstd library—it has been a critical dependency in our projects.
We’ve encountered an issue related to the lack of the -fPIC flag when compiling the .a files in the library. Specifically, this absence causes a compilation conflict when gozstd is used alongside another internal library in our company. This conflict results in build failures, and unfortunately, we are unable to ask all our users to manually replace the gozstd dependency.
Adding the -fPIC flag during compilation should resolve this issue. From our testing, enabling -fPIC does not introduce any compatibility issues with existing use cases.
Would it be possible to include the -fPIC flag by default in the compilation process for .a files? This change would significantly improve the library’s usability in scenarios like ours and prevent downstream conflicts.
Thank you for considering this request. Please let us know if you need any additional details or assistance to implement this change.
The text was updated successfully, but these errors were encountered:
PureWhiteWu
changed the title
Request to Add -fPIC Flag in .a File Compilation
Request to Add -fPIC Flag in .a File Compilation
Jan 7, 2025
Hello,
First, thank you for maintaining the
gozstd
library—it has been a critical dependency in our projects.We’ve encountered an issue related to the lack of the
-fPIC
flag when compiling the.a
files in the library. Specifically, this absence causes a compilation conflict whengozstd
is used alongside another internal library in our company. This conflict results in build failures, and unfortunately, we are unable to ask all our users to manually replace thegozstd
dependency.Adding the
-fPIC
flag during compilation should resolve this issue. From our testing, enabling-fPIC
does not introduce any compatibility issues with existing use cases.Would it be possible to include the
-fPIC
flag by default in the compilation process for.a
files? This change would significantly improve the library’s usability in scenarios like ours and prevent downstream conflicts.Thank you for considering this request. Please let us know if you need any additional details or assistance to implement this change.
The text was updated successfully, but these errors were encountered: