Date: Sun, 23 Jul 2017 09:09:38 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-ports-bugs@FreeBSD.org Subject: [Bug 220937] security/libgcrypt: (1.8.0): warning: unknown pragma ignored => Compiler error Message-ID: <bug-220937-13@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220937 Bug ID: 220937 Summary: security/libgcrypt: (1.8.0): warning: unknown pragma ignored =3D> Compiler error Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: cpm@freebsd.org Reporter: ohartmann@walstatt.org Flags: maintainer-feedback?(cpm@freebsd.org) Assignee: cpm@freebsd.org The recent update of port security/libgcrypt to version 1.8.0 reveals an er= ror on 12-CURRENT using LLVM 4.0.0 and LLVM 5.0.0 (no LLVM LLD used!): [...] libtool: compile: cc -DHAVE_CONFIG_H -I. -I.. -I../src -I../src -I/usr/local/include -O0 -pipe -O3 -fstack-protector -fno-strict-aliasing -std=3Dgnu89 -fvisibility=3Dhidden -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. *** [rndjent.lo] Error code 1 make[4]: stopped in /usr/ports/security/libgcrypt/work/libgcrypt-1.8.0/rand= om --- random-system.lo --- --=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-220937-13>