From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EJqTL-0000vk-BC for garchives@archives.gentoo.org; Mon, 26 Sep 2005 10:44:35 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8QAb1OL010755; Mon, 26 Sep 2005 10:37:01 GMT Received: from mail45.e.nsc.no (mail45.e.nsc.no [193.213.115.45]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8QAb0sZ010245 for ; Mon, 26 Sep 2005 10:37:00 GMT Received: from mail.nor.wtbts.org (dsl-static-126-131.oeke.tiscali.no [213.234.126.131] (may be forged)) by mail45.nsc.no (8.12.11/8.12.11) with ESMTP id j8QAhkq8013698 for ; Mon, 26 Sep 2005 12:43:48 +0200 (CEST) Received: from localhost (localhost [127.0.0.1]) by mail.nor.wtbts.org (Postfix) with ESMTP id 4C3AE3FD10 for ; Mon, 26 Sep 2005 12:43:44 +0200 (CEST) Received: from mail.nor.wtbts.org ([127.0.0.1]) by localhost (mail [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 22951-06 for ; Mon, 26 Sep 2005 12:43:44 +0200 (CEST) Received: from [192.168.65.211] (unknown [192.168.65.211]) by mail.nor.wtbts.org (Postfix) with ESMTP id 2D6823FD0F for ; Mon, 26 Sep 2005 12:43:44 +0200 (CEST) Message-ID: <4337D0E0.3040006@tanael.org> Date: Mon, 26 Sep 2005 12:43:44 +0200 From: Natanael Copa User-Agent: Mozilla Thunderbird 1.0.6 (X11/20050823) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-embedded@gentoo.org Reply-to: gentoo-embedded@lists.gentoo.org MIME-Version: 1.0 To: gentoo-embedded@lists.gentoo.org Subject: Re: [gentoo-embedded] upgrading to gcc-3.3.6 References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new-20030616-p10 (Debian) at example.com X-Archives-Salt: c95156ef-9d0d-4523-a191-8dab2b71b549 X-Archives-Hash: c4256b5c92924079b5ce5ea84d43c422 Peter S. Mazinger wrote: >On Thu, 22 Sep 2005, Natanael Copa wrote: > > > >>I upgraded to gcc-3.3.6 today and when recompiling the drivers (kernel >>modules in the portage tree) I got some warnings and the modules fails >>to load: >> >> >>WARNING: //lib/modules/2.6.11-hardened-r15/fs/fuse.ko needs unknown >>symbol __sta ck_smash_handler >> >> ... >>So I guess there is something wrong with my gcc upgrade. I guess I need >>to do a proper toolchain upgrade? >> >> > >no, your module build process (Makefiles) does not add -D__KERNEL__ to the >build, so ssp will be enabled on the built modules (not supported by any >gentoo kernel). >Nothing in the kernel and module build process is allowed to enable >-fstack-protector (either by CFLAGS or any other method) >Rebuild one of the above modules and paste your compiler line. > > I worked around it by selecting the nossp gcc profile, compiled all the modules and switched back to the standard hardened gcc profile. Now I cannot reproduce it. Could it have been a bug in portage that have been fixed? (I did a emerge -ssync today to get that gdbm update) Thanks! -- Natanael Copa -- gentoo-embedded@gentoo.org mailing list