[Bug 253698] security/libgcrypt - compilation error when building jitterentropy-base.c for arm on poudriere
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Fri Feb 19 17:12:26 UTC 2021
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=253698
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 at FreeBSD.org
Reporter: yani at pi-greece.eu
Assignee: cy at FreeBSD.org
Flags: maintainer-feedback?(cy at 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.
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=gnu89 -fvisibility=hidden -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
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list