From patchwork Thu Oct 11 16:39:13 2012 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Alexander Khryukin X-Patchwork-Id: 190962 X-Patchwork-Delegate: patrickdepinguin+buildroot@gmail.com Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from whitealder.osuosl.org (whitealder.osuosl.org [140.211.166.138]) by ozlabs.org (Postfix) with ESMTP id B992E2C042E for ; Fri, 12 Oct 2012 03:43:14 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id 1B792881BD; Thu, 11 Oct 2012 16:43:12 +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 A9QNGCG61oQ0; Thu, 11 Oct 2012 16:43:02 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by whitealder.osuosl.org (Postfix) with ESMTP id 560968CD80; Thu, 11 Oct 2012 16:40:22 +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 8FA9E8F74A for ; Thu, 11 Oct 2012 16:40:23 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id C850D8CD7E for ; Thu, 11 Oct 2012 16:40:20 +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 bxEQ-wnRI0Go for ; Thu, 11 Oct 2012 16:40:06 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-qc0-f171.google.com (mail-qc0-f171.google.com [209.85.216.171]) by whitealder.osuosl.org (Postfix) with ESMTPS id 55CE88D3A0 for ; Thu, 11 Oct 2012 16:39:14 +0000 (UTC) Received: by mail-qc0-f171.google.com with SMTP id d1so1795277qca.16 for ; Thu, 11 Oct 2012 09:39:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; bh=6L6i16SnR9sA1DC92iestA75xGa77WNrtPAsrzE66+I=; b=c/tzSbOTcu6zW0HR1HVD9TeZzKUIYY+hfpHXFJL3DYb83mxIbtQszLW7YTFwSKYJVp hCA+93eo4ldJW1QEPTzHiNrRaf6WJMa4zMhHcmhThHoPmsWDGPUJU/5rNs6yHJoi/JR4 T300zA43oT/uCyy3+6KbCH9se/PtA07DLjZzTrwBh6I4YmQIFKf1njWM3JuMS9ynjQ// olEUeShS0vvyJLXla1YDUQElG/naYeS2iOYPWiw1PtpnftslDqtEy9OIAjWeM16Nt9rk ErVndwtok83qLXwTZ2rFJgzif0ToGU4WPO9mF2gW2EaVf2GcZLae5N6Hhb/+8TBLqTnh EVCA== MIME-Version: 1.0 Received: by 10.224.189.12 with SMTP id dc12mr2688536qab.59.1349973553217; Thu, 11 Oct 2012 09:39:13 -0700 (PDT) Received: by 10.49.131.104 with HTTP; Thu, 11 Oct 2012 09:39:13 -0700 (PDT) In-Reply-To: References: <1349695691.6518.2.camel@localhost> <50748D38.6000101@mind.be> <5076D44E.2060107@petroprogram.com> <5076D806.1040207@petroprogram.com> Date: Thu, 11 Oct 2012 20:39:13 +0400 X-Google-Sender-Auth: 37RcfyKZWcmz6VLvGJE7BNw3GyA Message-ID: From: Alexander Khryukin To: =?ISO-8859-1?Q?Stefan_Fr=F6berg?= Cc: buildroot@busybox.net Subject: Re: [Buildroot] rpm5 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/10/11 Alexander Khryukin > > > 2012/10/11 Stefan Fröberg > >> Of course, if that works, it's just a quick fix. >> >> For proper fix you should check that you have openmp working (that is, >> you have libgomp) for your compiler and >> if that's ok then it's obvious that rpm5 configure needs patching >> >> Regards >> Stefan >> >> 11.10.2012 17:14, Stefan Fröberg kirjoitti: >> >> Hello Alexander >> >> According to this >> >> http://sourceforge.net/mailarchive/forum.php?set=custom&viewmonth=&viewday=&forum_name=beecrypt-devel&style=nested&max_rows=25&submit=Change+View >> >> it is missing "-lgomp" >> >> I checked the beecrypt-4.2.1 and it reveals following: >> >> grep gomp * >> >> acinclude.m4: AC_SUBST(OPENMP_LIBS,"-lgomp") >> configure: OPENMP_LIBS="-lgomp" >> >> So openmp depends on libgomp >> >> Beecrypt has a configure switch --disable-openmp >> >> Maybe you could try adding that switch into BEECRYPT_CONF_OPT in >> Buildroot beecrypt.mk file, >> rebuild beecrypt and then try rpm again. >> >> Best regards >> Stefan >> >> >> >> >> 11.10.2012 13:04, Alexander Khryukin kirjoitti: >> >> >> >> 2012/10/10 Alexander Khryukin >> >>> >>> >>> 2012/10/10 Alexander Khryukin >>> >>>> >>>> >>>> 2012/10/10 Arnout Vandecappelle >>>> >>>>> On 08/10/12 13:28, Alexander Khryukin wrote: >>>>> >>>>>> Full log >>>>>> http://pastie.org/4932495 >>>>>> >>>>> >>>>> It would be more relevant to post >>>>> /home/fdkit/buildroot/output/build/rpm-5.2.0/config.log >>>>> >>>>> Also please post the file 'defconfig' which is generated when you do >>>>> 'make savedefconfig'. This will allow us to try to reproduce. >>>>> >>>>> Also can you mention which BR version you're using? >>>>> >>>>> However, before doing any of that, do a 'make clean' and recompile >>>>> to see if that fixes your problem. >>>>> >>>>> (It works for me, BTW). >>>>> >>>>> Regards, >>>>> Arnout >>>>> -- >>>>> Arnout Vandecappelle arnout at mind be >>>>> Senior Embedded Software Architect +32-16-286540 >>>>> Essensium/Mind http://www.mind.be >>>>> G.Geenslaan 9, 3001 Leuven, Belgium BE 872 984 063 RPR >>>>> Leuven >>>>> LinkedIn profile: http://www.linkedin.com/in/arnoutvandecappelle >>>>> GPG fingerprint: 7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F >>>>> >>>> >>>> Hi! >>>> Thanks for the response >>>> >>>> >>>> defconfig http://pastie.org/5029882 >>>> >>>> config.log >>>> >>>> http://pastebin.com/L5CLKg06 >>>> >>>> >>>> Every time it fails at >>>> >>>> checking whether to build with BeeCrypt library... no >>>> configure: error: mandatory BeeCrypt library not found >>>> when it installed >>>> >>> >>> >>> Seems problem in >>> >>> undefined reference to `GOMP_parallel_end' on 10296,1 string >>> >>> >> >> Bump >> Problem still exist >> >> >> _______________________________________________ >> buildroot mailing listbuildroot@busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot >> >> >> >> >> _______________________________________________ >> buildroot mailing listbuildroot@busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot >> >> >> > > > that you have openmp working > > How i can check this? > Stegan, thanks for your answer i prepared patch sha256.c sha384.c sha512.c sha2k32.c sha2k64.c timestamp.c cppglue.cxx libbeecrypt_la_DEPENDENCIES = $(BEECRYPT_OBJECTS) -libbeecrypt_la_LIBADD = blowfishopt.lo mpopt.lo sha1opt.lo $(OPENMP_LIBS) +libbeecrypt_la_LIBADD = blowfishopt.lo mpopt.lo sha1opt.lo -lgomp libbeecrypt_la_LDFLAGS = -no-undefined -version-info $(LIBBEECRYPT_LT_CURRENT):$(LIBBEECRYPT_LT_REVISION):$(LIBBEECRYPT_LT_AGE) EXTRA_DIST = BENCHMARKS BUGS CONTRIBUTORS README.WIN32 autogen.sh Looks like now it's ok --- beecrypt-4.2.0/Makefile.am~ 2009-07-04 14:07:12.000000000 +0200 +++ beecrypt-4.2.0/Makefile.am 2009-07-10 12:52:47.000000000 +0200 @@ -52,7 +52,7 @@ libbeecrypt_la_SOURCES = aes.c base64.c beecrypt.c blockmode.c blockpad.c blowfish.c dhies.c dldp.c dlkp.c dlpk.c dlsvdp-dh.c dsa.c elgamal.c endianness.c entropy.c fips186.c hmac.c hmacmd5.c hmacsha1.c hmacsha224.c hmacsha256.c md4.c md5.c hmacsha384.c hmacsha512.c memchunk.c mp.c mpbarrett.c mpnumber.c mpprime.c mtprng.c pkcs1.c pkcs12.c ripemd128.c ripemd160.c ripemd256.c ripemd320.c rsa.c rsakp.c rsapk.c sha1.c sha224.c