Date: Fri, 19 Feb 2021 17:12:25 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 253698] security/libgcrypt - compilation error when building jitterentropy-base.c for arm on poudriere Message-ID: <bug-253698-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D253698 Bug ID: 253698 Summary: security/libgcrypt - compilation error when building jitterentropy-base.c for arm on poudriere Product: Ports & Packages Version: Latest Hardware: arm OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: cy@FreeBSD.org Reporter: yani@pi-greece.eu Assignee: cy@FreeBSD.org Flags: maintainer-feedback?(cy@FreeBSD.org) Hello, I'm receiving the following error when compiling for arm using poudriere. Adding "--disable-jent-support" in the configure options fixes the problem,= but I'm not sure what the security implications are.=20 libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/usr/local/include -O -pipe -fstack-protector-strong -fno-strict-aliasing -std=3Dgnu89 -fvisibility=3Dhidden -fno-delete-null-pointer-checks -Wall -c ./rndjent.c -fPIC -DPIC -o .libs/rndjent.o In file included from ./rndjent.c:86: ./jitterentropy-base.c:53:13: warning: unknown pragma ignored [-Wunknown-pragmas] #pragma GCC optimize ("O0") ^ ./jitterentropy-base.c:60:4: error: "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy-base.c." #error "The CPU Jitter random number generator must not be compiled with optimizations. See documentation. Use the compiler switch -O0 for compiling jitterentropy-base.c." ^ 1 warning and 1 error generated. *** Error code 1 Stop. make[3]: stopped in /wrkdirs/usr/ports/security/libgcrypt/work/libgcrypt-1.9.2/random *** Error code 1 *** Error code 1 *** Error code 1 Stop. make: stopped in /usr/ports/security/libgcrypt --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-253698-7788>