From owner-freebsd-ports@FreeBSD.ORG Wed Jun 30 08:13:58 2010 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B59651065674; Wed, 30 Jun 2010 08:13:58 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-vw0-f54.google.com (mail-vw0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 393618FC14; Wed, 30 Jun 2010 08:13:57 +0000 (UTC) Received: by vws13 with SMTP id 13so860585vws.13 for ; Wed, 30 Jun 2010 01:13:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=aWmdiNov5ggDuIejBnt1pN/YP+f1GQPtAkFlPDeDZO0=; b=Wi8JkGdVdIGxidjAwZMAFRGOe6OUMVajSGXCflbtSBkKqWjIFMcpFSoW/0flAIjdBs OslBQYsjMAxJ4JvQtVCzE49lhD8PpIQ0CV09+sQb4ajUyFvmQvRaUqwIoT9yV5Avoxbb WN8iYnOeZbjDXbeDVcZPehQqXV67xrce8fWcQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=bed1NJEocQD3cq/H5O80n5mUfVyqR3r8iRsB5xPXmxGSziy3EOOR7CjO87/oWlc/hB +miGdLKbhiu4TnQmF3YzaLjCtITC2d0sCDwsqbhQS1m2v13NrLfDj71mfLkmG3q8AQZN TB8E9VjuWxbbFc94lz6akRp746GU03YUVlDUI= Received: by 10.220.48.89 with SMTP id q25mr4582003vcf.73.1277885630942; Wed, 30 Jun 2010 01:13:50 -0700 (PDT) Received: from localhost (anonymizer2.torservers.net [173.244.197.210]) by mx.google.com with ESMTPS id x4sm3108251vcr.24.2010.06.30.01.13.48 (version=SSLv3 cipher=RC4-MD5); Wed, 30 Jun 2010 01:13:50 -0700 (PDT) From: Anonymous To: Doug Barton References: <86zkydcl1e.fsf@gmail.com> <4C2AB9E4.4030200@FreeBSD.org> Date: Wed, 30 Jun 2010 12:13:30 +0400 In-Reply-To: (Doug Barton's message of "Tue, 29 Jun 2010 23:41:22 -0700 (PDT)") Message-ID: <86wrthym39.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: dinoex@FreeBSD.org, ports@FreeBSD.org Subject: Re: graphics/png does not compile with gcc 4.5.1 X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jun 2010 08:13:58 -0000 Doug Barton writes: > nm libssp.so.0 | grep __stack_chk_fail_local > 00000ac0 t __stack_chk_fail_local > > So I'm at a loss, and pretty close to throwing in the towel and going > back to the base gcc for everything. I'm not sure what FreeBSD version you're using but I have __stack_chk_fail_local alias in libc. $ readelf -s $LOCALBASE/lib/gcc45/libssp.so.0 | fgrep __stack_chk_fail 11: 0000000000000c80 24 FUNC GLOBAL DEFAULT 8 __stack_chk_fail@@LIBSSP_1.0 51: 0000000000000cc0 5 FUNC LOCAL HIDDEN 8 __stack_chk_fail_local 68: 0000000000000c80 24 FUNC GLOBAL DEFAULT 8 __stack_chk_fail $ readelf -s /lib/libc.so.7 | fgrep __stack_chk_fail 989: 00000000000adf90 12 FUNC GLOBAL DEFAULT 10 __stack_chk_fail@@FBSD_1.0 1514: 00000000000adf90 12 FUNC GLOBAL DEFAULT 10 __stack_chk_fail_local@FBSD_1.0 1605: 00000000000adf90 12 FUNC GLOBAL DEFAULT 10 __stack_chk_fail 2130: 00000000000adf90 12 FUNC GLOBAL DEFAULT 10 __stack_chk_fail_local@FB $ fgrep __stack_chk_fail_local -r lib/libc -C2 lib/libc/sys/stack_protector.c- lib/libc/sys/stack_protector.c-#ifdef PIC lib/libc/sys/stack_protector.c:__sym_compat(__stack_chk_fail_local, __stack_chk_fail, FBSD_1.0); lib/libc/sys/stack_protector.c-#else lib/libc/sys/stack_protector.c:__weak_reference(__stack_chk_fail, __stack_chk_fail_local); lib/libc/sys/stack_protector.c-#endif