Re: crc.c clashes with zlib

2020-04-10 Thread Bruno Haible
Hi Gisle, > I have a situation with clang's 'lld-link' linker > in Wget2 where the symbol 'crc32()' in Gnulib is called > instead of the correct symbol 'crc32()' in Zlib. Are you sure the symbol that is called comes from gnulib? The only references to 'crc32' in gnulib are in the module 'crc', an

Re: patch, have find_in_given_path return file only

2020-04-10 Thread Bruno Haible
On 2020-03-07 I wrote: > 2020-03-07 Bruno Haible > > findprog, relocatable-prog: Ignore directories during PATH search. > Reported by Frederick Eaton via Dmitry Goncharov in > . > * lib/findprog.c (find

crc.c clashes with zlib

2020-04-10 Thread Gisle Vanem
I have a situation with clang's 'lld-link' linker in Wget2 where the symbol 'crc32()' in Gnulib is called instead of the correct symbol 'crc32()' in Zlib. In Zlib's inflate.c: #ifdef GUNZIP if ((state->wrap & 2) && hold == 0x8b1f) { /* gzip header */ state->check = crc32(0L, Z_NU

Re: [PATCH] MODULES.html.sh: handle tarball builds

2020-04-10 Thread Bruno Haible
Hi Bernhard, > Distributions typically build binaries from release tarballs > that do not contain a .git directory. > In such a setup the git log would fail. I did not know that, as I'm not in the distro business. > This patch provides a fallback that still allows for reproducibility. As I wrot