From owner-freebsd-arm@FreeBSD.ORG Mon Jul 7 00:23:35 2008 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 602D3106568C; Mon, 7 Jul 2008 00:23:35 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id 098318FC0C; Mon, 7 Jul 2008 00:23:34 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m670KvBD079834; Sun, 6 Jul 2008 18:20:57 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Sun, 06 Jul 2008 18:22:54 -0600 (MDT) Message-Id: <20080706.182254.-1585756927.imp@bsdimp.com> To: embedded@FreeBSD.org From: "M. Warner Losh" X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: arm@FreeBSD.org, mips@FreeBSD.org Subject: Minor reorg fyi X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: embedded@FreeBSD.org List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 00:23:35 -0000 After talking with people in the FreeBSD mips community, I've moved some files around in subversion. For all the details, and some info about my plans in the near future, please see my blog http://bsdimp.blogspot.com/ If you have questions or concerns about things, please feel free to talk about them here... Warner From owner-freebsd-arm@FreeBSD.ORG Mon Jul 7 12:25:33 2008 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id ACD011065689 for ; Mon, 7 Jul 2008 12:25:33 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from smtp.ht-systems.ru (mr0.ht-systems.ru [78.110.50.55]) by mx1.freebsd.org (Postfix) with ESMTP id 2582F8FC17 for ; Mon, 7 Jul 2008 12:25:32 +0000 (UTC) (envelope-from stas@ht-systems.ru) Received: from [83.166.229.34] (helo=sputnik.SpringDaemons.com) by smtp.ht-systems.ru with esmtpa (Exim 4.62) (envelope-from ) id 1KFpDf-0008Uc-0B; Mon, 07 Jul 2008 15:49:23 +0400 Received: by sputnik.SpringDaemons.com (Postfix, from userid 1024) id 9AADA9413AE; Mon, 7 Jul 2008 15:50:23 +0400 (MSD) Date: Mon, 7 Jul 2008 15:50:17 +0400 From: Stanislav Sedov To: Ruslan Ermilov Message-Id: <20080707155017.6850f3a5.stas@FreeBSD.org> In-Reply-To: <200806252138.m5PLcajG067917@repoman.freebsd.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> Organization: The FreeBSD Project X-XMPP: ssedov@jabber.ru X-Voice: +7 916 849 20 23 X-PGP-Fingerprin: F21E D6CC 5626 9609 6CE2 A385 2BF5 5993 EB26 9581 X-Mailer: carrier-pigeon Mime-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg="PGP-SHA1"; boundary="Signature=_Mon__7_Jul_2008_15_50_17_+0400_.6RIoY2=y8UbqJsY" Cc: arm@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 07 Jul 2008 12:25:33 -0000 --Signature=_Mon__7_Jul_2008_15_50_17_+0400_.6RIoY2=y8UbqJsY Content-Type: text/plain; charset=US-ASCII Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, 25 Jun 2008 21:33:28 +0000 (UTC) Ruslan Ermilov mentioned: > ru 2008-06-25 21:33:28 UTC >=20 > FreeBSD src repository >=20 > Modified files: > . Makefile.inc1=20 > gnu/lib Makefile=20 > gnu/lib/csu Makefile=20 > gnu/lib/libssp Makefile=20 > lib/libc Makefile=20 > lib/libstand Makefile=20 > lib/libthr Makefile=20 > libexec/rtld-elf Makefile=20 > release Makefile=20 > release/picobsd/build picobsd=20 > rescue/librescue Makefile=20 > rescue/rescue Makefile=20 > share/mk bsd.sys.mk=20 > sys/boot/arm/at91 Makefile.inc=20 > sys/boot/efi Makefile.inc=20 > sys/boot/i386 Makefile.inc=20 > sys/boot/i386/loader Makefile=20 > sys/boot/ia64 Makefile.inc=20 > sys/boot/ia64/common Makefile=20 > sys/boot/ia64/efi Makefile=20 > sys/boot/ia64/ski Makefile=20 > sys/boot/pc98 Makefile.inc=20 > sys/boot/pc98/loader Makefile=20 > sys/boot/powerpc/ofw Makefile=20 > sys/boot/sparc64 Makefile.inc=20 > sys/boot/sparc64/loader Makefile=20 > sys/conf files kern.mk kern.pre.mk=20 > tools/build/options WITHOUT_SSP=20 > Added files: > lib/csu Makefile.inc=20 > sys/boot Makefile.inc=20 > sys/boot/arm Makefile.inc=20 > sys/boot/ofw Makefile.inc=20 > sys/boot/powerpc Makefile.inc=20 > sys/boot/uboot Makefile.inc=20 > sys/kern stack_protector.c=20 > Log: > SVN rev 180012 on 2008-06-25 21:33:28Z by ru > =20 > Enable GCC stack protection (aka Propolice) for userland: > - It is opt-out for now so as to give it maximum testing, but it may be > turned opt-in for stable branches depending on the consensus. You > can turn it off with WITHOUT_SSP. > - WITHOUT_SSP was previously used to disable the build of GNU libssp. > It is harmless to steal the knob as SSP symbols have been provided > by libc for a long time, GNU libssp should not have been much used. > - SSP is disabled in a few corners such as system bootstrap programs > (sys/boot), process bootstrap code (rtld, csu) and SSP symbols themse= lves. > - It should be safe to use -fstack-protector-all to build world, however > libc will be automatically downgraded to -fstack-protector because it > breaks rtld otherwise. > - This option is unavailable on ia64. > =20 > Enable GCC stack protection (aka Propolice) for kernel: > - It is opt-out for now so as to give it maximum testing. > - Do not compile your kernel with -fstack-protector-all, it won't work. > =20 This break world on at91rm9200 and, probably, on other arm targets. I haven't digged into the problem deeply, but the kernel doesn't seem to be able to execute any ssp-enabled binaries (coredumps with bus error). --=20 Stanislav Sedov ST4096-RIPE --Signature=_Mon__7_Jul_2008_15_50_17_+0400_.6RIoY2=y8UbqJsY Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkhyAv8ACgkQK/VZk+smlYH7wgCdEDhyxBb/XIihWFzg1u6dm6EG xYgAn3pCjUvTzsfePCxwO8OTlLMYn9EB =H2uL -----END PGP SIGNATURE----- --Signature=_Mon__7_Jul_2008_15_50_17_+0400_.6RIoY2=y8UbqJsY-- From owner-freebsd-arm@FreeBSD.ORG Fri Jul 11 21:52:25 2008 Return-Path: Delivered-To: arm@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 2BD4A106566B; Fri, 11 Jul 2008 21:52:25 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from postfix2-g20.free.fr (postfix2-g20.free.fr [212.27.60.43]) by mx1.freebsd.org (Postfix) with ESMTP id DEE368FC14; Fri, 11 Jul 2008 21:52:24 +0000 (UTC) (envelope-from tataz@tataz.chchile.org) Received: from smtp5-g19.free.fr (smtp5-g19.free.fr [212.27.42.35]) by postfix2-g20.free.fr (Postfix) with ESMTP id 0029928086B4; Fri, 11 Jul 2008 21:24:00 +0200 (CEST) Received: from smtp5-g19.free.fr (localhost.localdomain [127.0.0.1]) by smtp5-g19.free.fr (Postfix) with ESMTP id 0D2B83F6263; Fri, 11 Jul 2008 23:24:18 +0200 (CEST) Received: from tatooine.tataz.chchile.org (tataz.chchile.org [82.233.239.98]) by smtp5-g19.free.fr (Postfix) with ESMTP id E7EB53F615F; Fri, 11 Jul 2008 23:24:17 +0200 (CEST) Received: from obiwan.tataz.chchile.org (unknown [192.168.1.25]) by tatooine.tataz.chchile.org (Postfix) with ESMTP id 3ECA39C654; Fri, 11 Jul 2008 21:19:09 +0000 (UTC) Received: by obiwan.tataz.chchile.org (Postfix, from userid 1000) id 31A45408A; Fri, 11 Jul 2008 23:19:09 +0200 (CEST) Date: Fri, 11 Jul 2008 23:19:09 +0200 From: Jeremie Le Hen To: Stanislav Sedov Message-ID: <20080711211909.GB33517@obiwan.tataz.chchile.org> References: <200806252138.m5PLcajG067917@repoman.freebsd.org> <20080707155017.6850f3a5.stas@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20080707155017.6850f3a5.stas@FreeBSD.org> User-Agent: Mutt/1.5.15 (2007-04-06) Cc: arm@FreeBSD.org, cvs-src@FreeBSD.org, src-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: src Makefile.inc1 src/gnu/lib Makefile src/gnu/lib/csu Makefile src/gnu/lib/libssp Makefile src/lib/csu Makefile.inc src/lib/libc Makefile src/lib/libstand Makefile src/lib/libthr Makefile src/libexec/rtld-elf Makefile src/release Makefile ... X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jul 2008 21:52:25 -0000 Hi Stanislas, Sorry for the late reply, I was abroad this week with limited Internet access. On Mon, Jul 07, 2008 at 03:50:17PM +0400, Stanislav Sedov wrote: > This break world on at91rm9200 and, probably, on other arm targets. > I haven't digged into the problem deeply, but the kernel doesn't seem to > be able to execute any ssp-enabled binaries (coredumps with bus error). Would you mind testing it with WITHOUT_SSP= at the top of lib/libc/Makefile? Thanks, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >