Sarthak Jain wrote:
Can you please comment upon this as to why this problem is happening only for gzip library build
Sorry, haven't a clue. The gzip build shouldn't do anything special, at least, not if you're using the latest version of gzip. You might try debugging with gcc -v.