Date: Thu, 27 Dec 2012 21:36:49 GMT From: Anton Shterenlikht <mexas@bristol.ac.uk> To: xcllnt@mac.com Cc: freebsd-ia64@freebsd.org Subject: PIE not working properly on ia64? Message-ID: <201212272136.qBRLaneE000606@mech-cluster241.men.bris.ac.uk> In-Reply-To: <201212272126.qBRLQ1NX028551@core.courtesan.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Hi Marcel Do you know what this is about? Thanks Anton From Todd.Miller@courtesan.com Thu Dec 27 21:26:51 2012 > --disable-pie does help, e.g.: > > # ./plugins/sudoers/testsudoers > usage: testsudoers [-dt] [-G sudoers_gid] [-g group] [-h host] [-p grfile] [- > p p > wfile] [-U sudoers_uid] [-u user] <user> <command> [args] > # > > This is built with the default system compiler: > > gcc (GCC) 4.2.1 20070831 patched [FreeBSD] It sounds like while gcc supports the -fPIE and -pie options they don't actually work properly. The simple solution is to add --disable-pie to the configure args for ia64 in the port's Makefile. I'll also add a configure check to disable PIE on FreeBSD/ia64 in the next sudo release. However, you might want to involve the FreeBSD/ia64 folks and see if they can fix the underlying issues that prevent PIE from working properly. - todd
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201212272136.qBRLaneE000606>