Re: CLANG and -fstack-protector

2013-02-17 Thread Kimmo Paasiala
On Wed, Feb 13, 2013 at 4:22 AM, Dmitry Marakasov wrote: > * Kimmo Paasiala (kpaas...@gmail.com) wrote: > >> Does the -fstack-protector option work on CLANG 3.1 and 3.2? >> >> There is thread on FreeBSD forums about the stack protector and ports >> and I'm wondering if it's possible to use the -fs

Re: CLANG and -fstack-protector

2013-02-12 Thread Eitan Adler
On 12 February 2013 21:22, Dmitry Marakasov wrote: > If there's interest in this, I can refresh the patch and submit it. Yes. Please do! -- Eitan Adler ___ freebsd-current@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-c

Re: CLANG and -fstack-protector

2013-02-12 Thread Dmitry Marakasov
* Kimmo Paasiala (kpaas...@gmail.com) wrote: > Does the -fstack-protector option work on CLANG 3.1 and 3.2? > > There is thread on FreeBSD forums about the stack protector and ports > and I'm wondering if it's possible to use the -fstack-protector option > with CLANG. > > http://forums.freebsd.o

Re: CLANG and -fstack-protector

2013-02-10 Thread Mark Linimon
On Thu, Feb 07, 2013 at 11:52:42PM +0100, Jeremie Le Hen wrote: > You can do this, it will work for most of the ports but some ports do > not honor CFLAGS. Ports that don't honor CFLAGS are broken ports. Having said that, the last time I ran a script that looked for them (and other things like CX

Re: CLANG and -fstack-protector

2013-02-08 Thread Jakub Lach
Closest would be http://www.freebsd.org/news/status/report-2008-01-2008-03.html#ProPolice-support-for-FreeBSD but port part it was not committed. -- View this message in context: http://freebsd.1045724.n5.nabble.com/CLANG-and-fstack-protector-tp5784739p5784992.html Sent from the freebsd

Re: CLANG and -fstack-protector

2013-02-07 Thread Eitan Adler
On 7 February 2013 18:40, Kimmo Paasiala wrote: >> Ports are largely independent of the base system, and their compilation >> flags are different from port to port. You could set -fstack-protector >> for your ports in either make.conf or ports.conf, if you wanted. > > Is there any work being done

Re: CLANG and -fstack-protector

2013-02-07 Thread Kimmo Paasiala
On Thu, Feb 7, 2013 at 11:06 PM, Dimitry Andric wrote: > On 2013-02-07 20:42, Kimmo Paasiala wrote: >> >> Does the -fstack-protector option work on CLANG 3.1 and 3.2? > > > Yes, it works with both clang and gcc. > Good to know thank you! > >> There is thread on FreeBSD forums about the stack pro

Re: CLANG and -fstack-protector

2013-02-07 Thread Jeremie Le Hen
Hi Kimmo, On Thu, Feb 07, 2013 at 10:06:49PM +0100, Dimitry Andric wrote: > On 2013-02-07 20:42, Kimmo Paasiala wrote: > > Does the -fstack-protector option work on CLANG 3.1 and 3.2? > > Yes, it works with both clang and gcc. > > > > There is thread on FreeBSD forums about the stack protector

Re: CLANG and -fstack-protector

2013-02-07 Thread Dimitry Andric
On 2013-02-07 20:42, Kimmo Paasiala wrote: Does the -fstack-protector option work on CLANG 3.1 and 3.2? Yes, it works with both clang and gcc. There is thread on FreeBSD forums about the stack protector and ports and I'm wondering if it's possible to use the -fstack-protector option with CLA

CLANG and -fstack-protector

2013-02-07 Thread Kimmo Paasiala
Hello, Does the -fstack-protector option work on CLANG 3.1 and 3.2? There is thread on FreeBSD forums about the stack protector and ports and I'm wondering if it's possible to use the -fstack-protector option with CLANG. http://forums.freebsd.org/showthread.php?t=36927 -Kimmo __