[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-ia64
Subject:    PIE not working properly on ia64?
From:       Anton Shterenlikht <mexas () bristol ! ac ! uk>
Date:       2012-12-27 21:36:49
Message-ID: 201212272136.qBRLaneE000606 () mech-cluster241 ! men ! bris ! ac ! uk
[Download RAW message or body]

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

_______________________________________________
freebsd-ia64@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ia64
To unsubscribe, send any mail to "freebsd-ia64-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic