From owner-freebsd-toolchain@FreeBSD.ORG Thu Feb 16 21:28:04 2012 Return-Path: Delivered-To: freebsd-toolchain@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 5FD25106564A; Thu, 16 Feb 2012 21:28:04 +0000 (UTC) (envelope-from draco@marino.st) Received: from shepard.synsport.net (mail.synsport.com [208.69.230.148]) by mx1.freebsd.org (Postfix) with ESMTP id 3AC148FC13; Thu, 16 Feb 2012 21:28:03 +0000 (UTC) Received: from [10.31.9.93] (unknown [213.225.137.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id EC24A43B4E; Thu, 16 Feb 2012 15:28:02 -0600 (CST) Message-ID: <4F3D74E0.4030408@marino.st> Date: Thu, 16 Feb 2012 22:28:00 +0100 From: John Marino User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:10.0) Gecko/20120129 Thunderbird/10.0 MIME-Version: 1.0 To: Konstantin Belousov References: <4F3C5A3A.6050107@FreeBSD.org> <20120216154730.GL3283@deviant.kiev.zoral.com.ua> <4F3D3409.3040006@marino.st> <20120216202709.GQ3283@deviant.kiev.zoral.com.ua> In-Reply-To: <20120216202709.GQ3283@deviant.kiev.zoral.com.ua> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Pedro Giffuni , freebsd-toolchain@freebsd.org Subject: Re: DragonFly added support for ELF preinit, init, and fini arrays X-BeenThere: freebsd-toolchain@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Maintenance of FreeBSD's integrated toolchain List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 16 Feb 2012 21:28:04 -0000 On 2/16/2012 21:27, Konstantin Belousov wrote: > On Thu, Feb 16, 2012 at 05:51:21PM +0100, John Marino wrote: >> One obvious case for the immediate use is the building of gold linker in >> binutils 2.22. By default, it moves constructors into the init array, >> so gold will segfault if it was linked with itself. (The workaround is >> to patch option.h file to change the ctors-in-init-array to false before >> building gold so it has the same behavior as gnu ld). > Linking gold with gold is quite a work to setup a test case. > Could you provide me with isolated test cases like you did for the > exception handling ? Yes, I have several isolated tests that I pulled out of the glibc test framework. I can also pull small tests out of the ld testsuite as well as the gold testsuite. I'm on a business trip at the moment with a big deliverable tomorrow, so I wouldn't be able to really get to it until Saturday at the earliest. Regards, John