Re: [PATCH] urngd: fixes compilation with glibc

2023-09-27 Thread Rafał Miłecki
On 16.09.2023 05:55, Chukun Pan wrote: When compiling with glibc it will result in error: 1. #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] Fix this by compiling with optimization (-O2) by default. 2. jitterentropy-base.c:(.text+0x39f8): undefined reference to

Re: [PATCH] urngd: fixes compilation with glibc

2023-09-16 Thread Jonas Gorski
Hi, On Sat, 16 Sept 2023 at 05:57, Chukun Pan wrote: > > When compiling with glibc it will result in error: > 1. #warning _FORTIFY_SOURCE requires compiling with optimization (-O) > [-Werror=cpp] > Fix this by compiling with optimization (-O2) by default. > > 2.

Re: [PATCH] urngd: fixes compilation with glibc

2023-09-15 Thread Andre Heider
On 16/09/2023 05:55, Chukun Pan wrote: When compiling with glibc it will result in error: 1. #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] Fix this by compiling with optimization (-O2) by default. 2. jitterentropy-base.c:(.text+0x39f8): undefined reference to

[PATCH] urngd: fixes compilation with glibc

2023-09-15 Thread Chukun Pan
When compiling with glibc it will result in error: 1. #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp] Fix this by compiling with optimization (-O2) by default. 2. jitterentropy-base.c:(.text+0x39f8): undefined reference to `pthread_join' Fix this by always