From patchwork Mon Nov 5 14:33:56 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Francois Perrad X-Patchwork-Id: 197205 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from hemlock.osuosl.org (hemlock.osuosl.org [140.211.166.133]) by ozlabs.org (Postfix) with ESMTP id BBA532C0098 for ; Tue, 6 Nov 2012 01:34:07 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id 80247A02B6; Mon, 5 Nov 2012 14:34:05 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Ow1ImEzSX1E0; Mon, 5 Nov 2012 14:34:01 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by hemlock.osuosl.org (Postfix) with ESMTP id 9E401A01A0; Mon, 5 Nov 2012 14:34:01 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id E3B3C8F74A for ; Mon, 5 Nov 2012 14:34:03 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 0777D8A354 for ; Mon, 5 Nov 2012 14:34:00 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m6KNY-xNMK88 for ; Mon, 5 Nov 2012 14:33:58 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail-vb0-f43.google.com (mail-vb0-f43.google.com [209.85.212.43]) by whitealder.osuosl.org (Postfix) with ESMTPS id E07468A363 for ; Mon, 5 Nov 2012 14:33:57 +0000 (UTC) Received: by mail-vb0-f43.google.com with SMTP id fq11so7634585vbb.16 for ; Mon, 05 Nov 2012 06:33:56 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding:x-gm-message-state; bh=l7R0b9hZshI+SZIq1M4flXk6R8dd/xsx391DMoq4lrY=; b=Rn80wDizMxDd7BjAR6oXQw1/kWcqoyzetLEZwFK9gzZOarctblErv96x6i0BHFOZ1M 9XzZdlUHgmHo1ibsCPZA/A8rHSEzk7IAImaL5ylRBaiqdkJJDe1+qN2BtE7V7GOxtP9x WLi7Cqlc94eyoasMdaJSa7dvthRIl0sY2lt9uHmrLSU1qc5CwnRPqO0AtLRY3gbMMklE I9qXgIwZTCpvKvLNe2yrKqBD9SQ8j3niX3NkyIWUsM5zYf3ITk/WU6L4akxCeB+5OBX8 Wn8hdWeucNJCF6ZI462kZmVtN0XGVxGACDbxLqfL+8qn6i0HDVJs3Cl7czLq7sLqqVh6 +eag== MIME-Version: 1.0 Received: by 10.52.75.196 with SMTP id e4mr8287244vdw.93.1352126036707; Mon, 05 Nov 2012 06:33:56 -0800 (PST) Received: by 10.58.116.241 with HTTP; Mon, 5 Nov 2012 06:33:56 -0800 (PST) In-Reply-To: References: <20121105075317.75f9f85c@skate> Date: Mon, 5 Nov 2012 15:33:56 +0100 X-Google-Sender-Auth: yMv00ACUSWnterUDtj1eC-AaKJk Message-ID: From: =?ISO-8859-1?Q?Fran=E7ois_Perrad?= To: Alexander Khryukin X-Gm-Message-State: ALoCoQl43STPiDYh7NW+O70NRGush7/7ldQnetloVHJISrpCfoZMfbiYn6DXjpmjY2foU9TKzVWi Cc: Thomas Petazzoni , buildroot@busybox.net Subject: Re: [Buildroot] new perl build issue X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.14 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: buildroot-bounces@busybox.net Sender: buildroot-bounces@busybox.net 2012/11/5 Alexander Khryukin : > > > 2012/11/5 Alexander Khryukin >> >> >> >> 2012/11/5 Thomas Petazzoni >>> >>> >>> On Sun, 4 Nov 2012 20:41:45 +0100, François Perrad wrote: >>> >>> > this afternoon, Thomas has posted 3 patches for qemu (see >>> > http://patchwork.ozlabs.org/patch/197055/). >>> > Alexander, try to rebuild host-qemu with them. >>> >>> Unfortunately, none of those patches have a chance to fix Alexander's >>> problem. My patches only fix missing dependencies. >>> >>> Also, could you have a look at http://autobuild.buildroot.org/ for perl >>> build failures? It seems like Qemu doesn't start properly on some >>> platforms, for some reason. >>> >>> Thomas >>> -- >>> Thomas Petazzoni, Free Electrons >>> Kernel, drivers, real-time and embedded Linux >>> development, consulting, training and support. >>> http://free-electrons.com >> >> >> >> I applied your patch but looks it not helps me. >> >> http://pastie.org/5188031 > > > > Also if i compile it by my default system gcc it's ok > > > [fdkit@kvm-host UU]$ gcc try.c > [fdkit@kvm-host UU]$ ls ./a.out > ./a.out* > [fdkit@kvm-host UU]$ ./a.out > Ok > Alexander, the 'qemu-arm' built by Buildroot doesn't work properly. could you try this workaround ? 1) install a 'qemu-arm' with your distro package manager, $ apt-get install qemu-kvm-extras # or equivalent 2) apply this patch : François --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -22,7 +22,7 @@ endif PERL_CONF_OPT = -des \ -Dusecrosscompile \ - -Dtargetrun=$(QEMU_USER) \ + -Dtargetrun=qemu-arm \ -Dqemulib=$(STAGING_DIR) \ -Dar="$(TARGET_AR)" \ -Dcc="$(TARGET_CC)" \