From owner-freebsd-current@FreeBSD.ORG Sat Jul 3 17:53:39 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 D79D4106566C for ; Sat, 3 Jul 2010 17:53:39 +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 8F54F8FC14 for ; Sat, 3 Jul 2010 17:53:39 +0000 (UTC) Received: from server.mypc.hu (localhost [127.0.0.1]) by server.mypc.hu (Postfix) with ESMTP id 6296914DBED4; Sat, 3 Jul 2010 19:53:37 +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 PIFux7G0njLL; Sat, 3 Jul 2010 19:53:34 +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 CCF7414DBDDE; Sat, 3 Jul 2010 19:53:34 +0200 (CEST) Message-ID: <4C2F7917.7040900@FreeBSD.org> Date: Sat, 03 Jul 2010 19:53:27 +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: FreeBSD Current References: <4C16C5B5.1070308@FreeBSD.org> <867hlzq4lb.fsf@gmail.com> <867hlzufl6.fsf@gmail.com> <4C1A7A57.3000006@FreeBSD.org> <86bpb9z77g.fsf@gmail.com> In-Reply-To: <86bpb9z77g.fsf@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Anonymous 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: Sat, 03 Jul 2010 17:53:39 -0000 Em 2010.06.17. 23:21, Anonymous escreveu: >> If cross-compiling doesn't work, how did you build the former one that >> gave you that error? >> > Here is my guess > > libiconv_modules compiles fine but installs both normal and lib32 objdir > into /usr/lib when lib32 should use /usr/lib32. > > mkcsmapper/mkesdb are failing to install because they're treated as > build-tools for host system and never compiled for target > system. However, they're not included in lib32 target and so are not > built for i386 arch during normal buildworld on amd64 host where > host = target. > Here's the new patch, which is supposed to fix the following issues: - Fixed build on amd64 and fixed cross-compiling - Fixed hang when linked to libthr - Fixed iconv() prototype as per POSIX - More GNU compatibility: "" or "char" means the current local encoding in use http://kovesdan.org/patches/iconv_current.diff I hope some of you can give it a try. Gabor