Date: Thu, 27 Sep 2018 17:59:26 +0000 From: bugzilla-noreply@freebsd.org To: x11@FreeBSD.org Subject: [Bug 231765] graphics/wayland: fix build with mips, mips64, powerpc64 Message-ID: <bug-231765-7141@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D231765 Bug ID: 231765 Summary: graphics/wayland: fix build with mips, mips64, powerpc64 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: x11@FreeBSD.org Reporter: pkubaj@anongoth.pl Flags: maintainer-feedback?(x11@FreeBSD.org) Assignee: x11@FreeBSD.org Created attachment 197552 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D197552&action= =3Dedit patch prctl() function currently doesn't exist in FreeBSD. When compiling with cl= ang on amd64, only a warning is emitted when this function is used: tests/test-runner.c:349:8: warning: implicit declaration of function 'prctl= ' is invalid in C99 [-Wimplicit-function-declaration] rc =3D prctl(PR_SET_PTRACER, pid); ^ tests/test-runner.c:349:8: warning: this function declaration is not a prototype [-Wstrict-prototypes] But when compiling with base GCC (as is on e.g. powerpc64), I'm getting err= or: ./.libs/libtest-runner.a(test-runner.o): In function `is_debugger_attached': /tmp/usr/local/poudriere/ports/default/graphics/wayland/work/wayland-1.14.0= /tests/test-runner.c:349: undefined reference to `prctl' Since it doesn't work even on amd64 properly (even though it compiles), let= 's remove this reference. Tested on amd64 and powerpc64. Hardware sponsored by IntegriCloud. --=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-231765-7141>