From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9770 invoked by alias); 6 Jan 2012 10:24:56 -0000 Received: (qmail 9756 invoked by uid 22791); 6 Jan 2012 10:24:55 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00 X-Spam-Check-By: sourceware.org Received: from mail.synsport.com (HELO shepard.synsport.net) (208.69.230.148) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 06 Jan 2012 10:24:37 +0000 Received: from [192.168.0.11] (atoulouse-256-1-169-89.w109-215.abo.wanadoo.fr [109.215.188.89]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id D154243B91 for ; Fri, 6 Jan 2012 04:24:36 -0600 (CST) Message-ID: <4F06CBE0.6080109@marino.st> Date: Fri, 06 Jan 2012 10:24:00 -0000 From: John Marino User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:8.0) Gecko/20111105 Thunderbird/8.0 MIME-Version: 1.0 To: binutils@sourceware.org Subject: Re: gold linker 2.22 regressed for DragonFly [revised testsuite results] References: <4ED7FCA6.8090706@marino.st> <4ED88FA5.8050408@marino.st> <4EFF3AF3.3080404@marino.st> <4F017A8B.1000905@marino.st> <4F0204FA.2090305@marino.st> <4F0209E5.4000709@marino.st> <4F0235FE.5050702@marino.st> <4F02C833.2060309@marino.st> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2012-01/txt/msg00098.txt.bz2 On 1/5/2012 7:31 PM, Ian Lance Taylor wrote: >> 2. ver_matching_test.sh: __bss_start not local, rtld issue? real issue? (failed on v2.21 too) > > Hard to understand why this would fail. The __bss_start symbol is > defined automatically by the linker itself. ok. I thought I remembered seeing references to __bss_start in rtld code, so I suspected rtld was the culprit. >> 3. exception_static_test: likely real problem. gdb log attached > > My first guess would be that DragonFly does not support dl_iterate_phdr, > or that it does not work correctly for statically linked executables. > That's just a guess, though. I brought in dl_iterate_phdr support to dragonfly (system compiler is 4.4.7 snapshot, 2011-10-25), and it appears to be working although maybe in the case of statically linked executables it's not. What handles the latter? Is that an rtld thing? >> 4. intpri2: likely real problem. gdb log attached > > This is almost certainly the same issue as the --no-ctors-in-init-array > issue: DragonFly does not suppor DT_INIT_ARRAY. If I wanted to add DT_INIT_ARRAY support to DragonFly, what component needs to be updated? again rtld? >> 5. relro_test: no relro support in rtld, ignore >> 6. relro_now_test: no relro support in rtld, ignore >> 7. relro_strip_test: no relro support in rtld, ignore > > Yeah, if the dynamic linker does not handle relro, then these tests are > expected to fail. > > Ian As far as I can tell, no BSD supports relro and it seems to be of limited value so I don't suspect this will change any time soon. Regards, John