PIE not working properly on ia64?

Anton Shterenlikht mexas at bristol.ac.uk
Thu Dec 27 21:53:16 UTC 2012


Hi Marcel

Do you know what this is about?

Thanks

Anton

	From Todd.Miller at 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



More information about the freebsd-ia64 mailing list