From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 17288 invoked by alias); 2 Jan 2012 19:48:09 -0000 Received: (qmail 17268 invoked by uid 22791); 2 Jan 2012 19:48:07 -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; Mon, 02 Jan 2012 19:47:53 +0000 Received: from [192.168.1.35] (242.red-81-33-239.dynamicip.rima-tde.net [81.33.239.242]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by shepard.synsport.net (Postfix) with ESMTP id 1A4FB435D7 for ; Mon, 2 Jan 2012 13:47:50 -0600 (CST) Message-ID: <4F0209E5.4000709@marino.st> Date: Mon, 02 Jan 2012 19:48:00 -0000 From: John Marino User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20110624 Thunderbird/5.0 MIME-Version: 1.0 To: binutils@sourceware.org Subject: Re: gold linker 2.22 regressed for DragonFly References: <4ED7FCA6.8090706@marino.st> <4ED88FA5.8050408@marino.st> <4EFF3AF3.3080404@marino.st> <4F017A8B.1000905@marino.st> <4F0204FA.2090305@marino.st> In-Reply-To: <4F0204FA.2090305@marino.st> Content-Type: multipart/mixed; boundary="------------020202000607060406040709" 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/msg00023.txt.bz2 This is a multi-part message in MIME format. --------------020202000607060406040709 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-length: 549 On 1/2/2012 8:26 PM, John Marino wrote: > > Then I tried ">gmake check" > It got pretty far in the testsuite, complete through "split_i386.sh" and > starting failing at incremental-dump.cc due to numerous missing headers. > I'm got a separate build directory, so the test might not be accounting > for that (e.g. source is in {top}/binutils-2.22 and my build directory > is {top}/build-b222). I just drilled into the testsuite directory and typed ">gmake check-TESTS" and went through 137 tests. DragonFly failed 42 of them (attached). John. --------------020202000607060406040709 Content-Type: text/plain; name="test-suite.log" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="test-suite.log" Content-length: 10159 ======================================== gold 0.1: testsuite/test-suite.log ======================================== 42 of 137 tests failed. .. contents:: :depth: 2 FAIL: incremental_test.sh (exit: 1) =================================== cat: incremental_test.stdout: No such file or directory ../../../binutils-2.22/gold/testsuite/incremental_test.sh: cannot open incremental_test.stdout: No such file or directory grep: incremental_test.dump: No such file or directory Did not find expected output in incremental_test.dump: Input sections: .* incremental_test_1.o *1 Actual output below: cat: incremental_test.dump: No such file or directory FAIL: gc_orphan_section_test.sh (exit: 1) ========================================= grep: gc_orphan_section_test.stdout: No such file or directory grep: gc_orphan_section_test.stdout: No such file or directory Garbage collection should not discard foo FAIL: icf_test.sh (exit: 1) =========================== grep: icf_test.stdout: No such file or directory grep: icf_test.stdout: No such file or directory Identical Code Folding failed to fold folded_func and kept_func FAIL: icf_keep_unique_test.sh (exit: 1) ======================================= grep: icf_keep_unique_test.stdout: No such file or directory grep: icf_keep_unique_test.stdout: No such file or directory Identical Code Folding with keep-unique failed to unfold kept_func FAIL: icf_safe_test.sh (exit: 1) ================================ grep: icf_safe_test_2.stdout: No such file or directory grep: icf_safe_test_1.stdout: No such file or directory grep: icf_safe_test_1.stdout: No such file or directory Safe Identical Code Folding folded kept_func_1 and kept_func_2 FAIL: icf_safe_so_test.sh (exit: 1) =================================== Symbol foo_prot not present, possibly folded. FAIL: final_layout.sh (exit: 2) =============================== awk: can't open file final_layout.stdout source line number 2 FAIL: icf_preemptible_functions_test.sh (exit: 1) ================================================= grep: icf_preemptible_functions_test.stdout: No such file or directory grep: icf_preemptible_functions_test.stdout: No such file or directory Identical Code Folding should not fold _Z3foov and _Z3barv FAIL: icf_string_merge_test.sh (exit: 1) ======================================== grep: icf_string_merge_test.stdout: No such file or directory grep: icf_string_merge_test.stdout: No such file or directory Identical Code Folding should not fold get1 and get2 FAIL: icf_sht_rel_addend_test.sh (exit: 1) ========================================== grep: icf_sht_rel_addend_test.stdout: No such file or directory grep: icf_sht_rel_addend_test.stdout: No such file or directory Identical Code Folding should not fold name1 and name2 FAIL: weak_plt.sh (exit: 1) =========================== /usr/libexec/ld-elf.so.2: Cannot open "./weak_plt_shared.so" FAIL: debug_msg.sh (exit: 1) ============================ grep: debug_msg.err: No such file or directory Did not find expected error in debug_msg.err: debug_msg.o:debug_msg.cc:function fn_array: error: undefined reference to 'undef_fn1()' Actual error output below: cat: debug_msg.err: No such file or directory FAIL: undef_symbol.sh (exit: 1) =============================== grep: undef_symbol.err: No such file or directory Did not find expected error: undef_symbol.so: error: undefined reference to 'a' Actual error output below: cat: undef_symbol.err: No such file or directory FAIL: ver_test_2.sh (exit: 1) ============================= grep: ver_test_2.syms: No such file or directory Did not find expected symbol in ver_test_2.syms: t1_2@VER2 Actual output below: cat: ver_test_2.syms: No such file or directory FAIL: ver_test_4.sh (exit: 1) ============================= grep: ver_test_4.syms: No such file or directory Did not find expected symbol in ver_test_4.syms: t1_2@@VER2 Actual output below: cat: ver_test_4.syms: No such file or directory FAIL: ver_test_5.sh (exit: 1) ============================= grep: ver_test_5.syms: No such file or directory Did not find expected symbol in ver_test_5.syms: t3_2@@VER5 Actual output below: cat: ver_test_5.syms: No such file or directory FAIL: ver_test_7.sh (exit: 1) ============================= grep: ver_test_7.syms: No such file or directory Did not find expected symbol in ver_test_7.syms: t2_2@@VER2 Actual output below: cat: ver_test_7.syms: No such file or directory FAIL: ver_test_10.sh (exit: 1) ============================== grep: ver_test_10.syms: No such file or directory Did not find expected symbol in ver_test_10.syms: GLOBAL.*t3_2 Actual output below: cat: ver_test_10.syms: No such file or directory FAIL: relro_test.sh (exit: 1) ============================= grep: relro_test.stdout: No such file or directory grep: relro_test.stdout: No such file or directory Did not find a PT_GNU_RELRO segment. FAIL: ver_matching_test.sh (exit: 1) ==================================== grep: ver_matching_test.stdout: No such file or directory Did not find expected symbol in ver_matching_test.stdout: V1 *sizeof_headers$ Actual output below: cat: ver_matching_test.stdout: No such file or directory FAIL: script_test_3.sh (exit: 1) ================================ grep: script_test_3.stdout: No such file or directory Did not find expected segment in script_test_3.stdout: ^ INTERP Actual output below: cat: script_test_3.stdout: No such file or directory FAIL: script_test_4.sh (exit: 1) ================================ grep: script_test_4.stdout: No such file or directory Did not find expected segment in script_test_4.stdout: \.interp[ ]*PROGBITS[ ]*0*10000400 Actual output below: cat: script_test_4.stdout: No such file or directory FAIL: script_test_5.sh (exit: 1) ================================ grep: script_test_5.stdout: No such file or directory Did not find expected number (1) of ' .text ' sections in script_test_5.stdout Actual output below: cat: script_test_5.stdout: No such file or directory FAIL: script_test_6.sh (exit: 1) ================================ grep: script_test_6.stdout: No such file or directory Did not find expected section in script_test_6.stdout: \.text[ ]*PROGBITS[ ]*0*10001000 Actual output below: cat: script_test_6.stdout: No such file or directory FAIL: script_test_7.sh (exit: 1) ================================ grep: script_test_7.stdout: No such file or directory Did not find expected section in script_test_7.stdout: \.interp[ ]*PROGBITS[ ]*0*10000100 Actual output below: cat: script_test_7.stdout: No such file or directory FAIL: script_test_8.sh (exit: 1) ================================ grep: script_test_8.stdout: No such file or directory Did not find expected section in script_test_8.stdout: \.interp[ ]*PROGBITS[ ]*0*20001000 Actual output below: cat: script_test_8.stdout: No such file or directory FAIL: script_test_9.sh (exit: 1) ================================ grep: script_test_9.stdout: No such file or directory Did not find expected section in script_test_9.stdout: LOAD .*R E Actual output below: cat: script_test_9.stdout: No such file or directory FAIL: dynamic_list.sh (exit: 1) =============================== grep: dynamic_list.stdout: No such file or directory Did not find expected text in dynamic_list.stdout: main Actual output below: cat: dynamic_list.stdout: No such file or directory FAIL: exclude_libs_test.sh (exit: 1) ==================================== grep: exclude_libs_test.syms: No such file or directory Symbol lib1_default not found. FAIL: discard_locals_test.sh (exit: 1) ====================================== egrep: discard_locals_test.syms: No such file or directory egrep: discard_locals_relocatable_test1.syms: No such file or directory This local symbol is discarded in discard_locals_relocatable_test1.syms: .LC0 FAIL: hidden_test.sh (exit: 1) ============================== grep: hidden_test.err: No such file or directory Did not find expected error in hidden_test.err: hidden symbol 'main_hidden' in hidden_test_main.o is referenced by DSO libhidden.so Actual error output below: cat: hidden_test.err: No such file or directory FAIL: retain_symbols_file_test.sh (exit: 1) =========================================== grep: retain_symbols_file_test.stdout: No such file or directory Did not find expected symbol t1 in retain_symbols_file_test.stdout FAIL: strong_ref_weak_def.sh (exit: 1) ====================================== grep: strong_ref_weak_def.stdout: No such file or directory pattern ".* FUNC.* GLOBAL.* UND.* weak_def" not found in file strong_ref_weak_def.stdout. FAIL: dyn_weak_ref.sh (exit: 1) =============================== grep: dyn_weak_ref.stdout: No such file or directory pattern ".* WEAK .* UND.* weak_ref" not found in file dyn_weak_ref.stdout. FAIL: memory_test.sh (exit: 1) ============================== grep: memory_test.stdout: No such file or directory pattern " LOAD 0x001000 0x0*02000 0x0*02000 0x0*04 0x0*04 R 0x1000" not found in file memory_test.stdout. FAIL: script_test_10.sh (exit: 1) ================================= grep: script_test_10.stdout: No such file or directory Did not find expected section in script_test_10.stdout: .*\[ 1\] .text Actual output below: cat: script_test_10.stdout: No such file or directory FAIL: split_i386.sh (exit: 1) ============================= could not find 'cmp.*+%gs:[^,]*,%esp' in split_i386_1.stdout FAIL: exception_static_test (exit: 134) ======================================= FAIL: initpri2 (exit: 134) ========================== FAIL: relro_test (exit: 134) ============================ Assertion failed: (0), function f2, file ../../../binutils-2.22/gold/testsuite/relro_test.cc, line 132. FAIL: relro_now_test (exit: 134) ================================ Assertion failed: (0), function f2, file ../../../binutils-2.22/gold/testsuite/relro_test.cc, line 132. FAIL: relro_strip_test (exit: 134) ================================== Assertion failed: (0), function f2, file ../../../binutils-2.22/gold/testsuite/relro_test.cc, line 132. --------------020202000607060406040709--