From owner-freebsd-current@FreeBSD.ORG Thu Jul 8 15:32:35 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 088D61065673 for ; Thu, 8 Jul 2010 15:32:35 +0000 (UTC) (envelope-from gabor@FreeBSD.org) Received: from server.mypc.hu (server.mypc.hu [87.229.73.95]) by mx1.freebsd.org (Postfix) with ESMTP id B42088FC13 for ; Thu, 8 Jul 2010 15:32:34 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id A37F414DBFB9; Thu, 8 Jul 2010 17:32:33 +0200 (CEST) X-Virus-Scanned: amavisd-new at server.mypc.hu Received: from server.mypc.hu ([127.0.0.1]) by server.mypc.hu (server.mypc.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id QssQUSLVnL1F; Thu, 8 Jul 2010 17:32:28 +0200 (CEST) Received: from [192.168.1.105] (catv-80-99-92-167.catv.broadband.hu [80.99.92.167]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by server.mypc.hu (Postfix) with ESMTPSA id AF05914DBFA6; Thu, 8 Jul 2010 17:32:27 +0200 (CEST) Message-ID: <4C35EF85.6010905@FreeBSD.org> Date: Thu, 08 Jul 2010 17:32:21 +0200 From: Gabor Kovesdan User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-PT; rv:1.9.1.10) Gecko/20100512 Thunderbird/3.0.5 MIME-Version: 1.0 To: Anonymous References: <4C16C5B5.1070308@FreeBSD.org> <867hlzq4lb.fsf@gmail.com> <867hlzufl6.fsf@gmail.com> <4C1A7A57.3000006@FreeBSD.org> <86bpb9z77g.fsf@gmail.com> <4C2F7917.7040900@FreeBSD.org> <86pqz29sy2.fsf@gmail.com> <86mxu4sj0n.fsf@gmail.com> In-Reply-To: <86mxu4sj0n.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: FreeBSD Current Subject: Re: [CFT] BSDL iconv in base system X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 08 Jul 2010 15:32:35 -0000 Em 2010.07.06. 17:54, Anonymous escreveu: >> BTW, I think there is regression in iconv(1). It wasn't there in iconv_base_integrate2.diff. >> >> (gdb) r >> Starting program: /usr/bin/iconv >> During symbol reading, DW_AT_name missing from DW_TAG_base_type. >> During symbol reading, cannot get low and high bounds for subprogram DIE at 11006. >> During symbol reading, DW_AT_name missing from DW_TAG_base_type. >> >> Program received signal SIGSEGV, Segmentation fault. >> 0x0000000000401281 in main (argc= >> During symbol reading, incomplete CFI data; unspecified registers (e.g., rax) at 0x401180. >> 0, argv=0x7ffffffefb98) at /a/blah/usr.bin/iconv/iconv.c:198 >> 198 if ((strcmp(opt_f, "") == 0)&& (strcmp(opt_t, "") == 0)) >> (gdb) bt f >> #0 0x0000000000401281 in main (argc=0, argv=0x7ffffffefb98) at /a/blah/usr.bin/iconv/iconv.c:198 >> fp = >> opt_f = 0x0 >> opt_t = 0x0 >> ch = >> i = >> opt_c = false >> opt_s = false >> (gdb) p *argv >> $1 = 0x0 >> > It works if I specify both `-t' and `-f'. And crashes when none > specified or only one of them. > Thanks, I've fixed this and the mtree problem, as well. I hope this one now works properly on amd64: http://kovesdan.org/patches/iconv-20100708.diff Gabor