Re: git 2.50 and 2.50.1 src fails to compile in rhel 6

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jul 13, 2025 at 12:30:59AM -0800, Ramsay Jones wrote:
> 
> On 12/07/2025 19:25, Азат Усманов wrote:
> > I was able to apply the patch  sane-ctype.h  make did proceed until it stumbled  again, this time probably related to that path to random.h file I substituted earlier. Any thoughts?
> [snip]
> 
> Wow, RHEL6! I think the oldest version we support is RHEL8.
> 
> [Moving header files from a newer glibc to RHEL6 is a definite no-no - don't
> do that!]
> 
> Here, your glibc version is too old for getrandom(), so you need to build
> with CSPRNG_METHOD= set either in your config.mak or on the make invocation,
> something like:
> 
>     make CSPRNG_METHOD=

this would probably not work, because of the overrides in config.mak.uname and
config.mak.autogen, so config.mak is better:

$ make clean
$ echo "CSPRNG_METHOD=" > config.make
$ make

Carlo




[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux