All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] rpm5
@ 2012-10-08 11:28 Alexander Khryukin
  2012-10-09 20:46 ` Arnout Vandecappelle
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-10-08 11:28 UTC (permalink / raw)
  To: buildroot

Hi all!
I faced with strange error with rpm5 package manager:


=== THIRD-PARTY LIBRARIES (2/2) ===
checking popt.h usability... yes
checking popt.h presence... yes
checking for popt.h... yes
checking for poptGetContext in -lpopt... yes
checking whether to build with POPT library... yes (external: via
pkg-config popt)
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking for gzread in -lrpmz... no
checking for gzread in -lz... yes
checking for gzread in -lgz... no
checking whether to build with ZLib library... yes (external: via
pkg-config zlib)
checking for gzseek... yes
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for BZ2_bzread in -lbz2... yes
checking whether to build with GNU BZip2 library... yes (external:
implicitly)
checking whether to build with XZ libLZMA library... yes (internal:
sub-directory xz)
checking beecrypt/api.h usability... yes
checking beecrypt/api.h presence... yes
checking for beecrypt/api.h... yes
checking for mpfprintln in -lbeecrypt... no
checking whether to build with BeeCrypt library... no
configure: error: mandatory BeeCrypt library not found
make: ***
[/home/fdkit/buildroot/output/build/rpm-5.2.0/.stamp_configured] Error 1


Full log
http://pastie.org/4932495

Locally i have installed rpm5 distro Mandriva 2012 and 
i can rebuild rpm5 package manager without any errors.
Any solution?

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-08 11:28 [Buildroot] rpm5 Alexander Khryukin
@ 2012-10-09 20:46 ` Arnout Vandecappelle
  2012-10-10 14:40   ` Alexander Khryukin
  0 siblings, 1 reply; 13+ messages in thread
From: Arnout Vandecappelle @ 2012-10-09 20:46 UTC (permalink / raw)
  To: buildroot

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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-09 20:46 ` Arnout Vandecappelle
@ 2012-10-10 14:40   ` Alexander Khryukin
  2012-10-10 17:21     ` Alexander Khryukin
  2012-10-11 22:14     ` Arnout Vandecappelle
  0 siblings, 2 replies; 13+ messages in thread
From: Alexander Khryukin @ 2012-10-10 14:40 UTC (permalink / raw)
  To: buildroot

2012/10/10 Arnout Vandecappelle <arnout@mind.be>

> 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<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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121010/03a454d2/attachment.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-10 14:40   ` Alexander Khryukin
@ 2012-10-10 17:21     ` Alexander Khryukin
  2012-10-11 10:04       ` Alexander Khryukin
  2012-10-11 22:14     ` Arnout Vandecappelle
  1 sibling, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-10-10 17:21 UTC (permalink / raw)
  To: buildroot

2012/10/10 Alexander Khryukin <alexander@mezon.ru>

>
>
> 2012/10/10 Arnout Vandecappelle <arnout@mind.be>
>
>> 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<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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121010/5ce387d5/attachment.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-10 17:21     ` Alexander Khryukin
@ 2012-10-11 10:04       ` Alexander Khryukin
  2012-10-11 14:14         ` Stefan Fröberg
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-10-11 10:04 UTC (permalink / raw)
  To: buildroot

2012/10/10 Alexander Khryukin <alexander@mezon.ru>

>
>
> 2012/10/10 Alexander Khryukin <alexander@mezon.ru>
>
>>
>>
>> 2012/10/10 Arnout Vandecappelle <arnout@mind.be>
>>
>>> 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<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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121011/2ce2accb/attachment-0001.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-11 10:04       ` Alexander Khryukin
@ 2012-10-11 14:14         ` Stefan Fröberg
  2012-10-11 14:30           ` Stefan Fröberg
  0 siblings, 1 reply; 13+ messages in thread
From: Stefan Fröberg @ 2012-10-11 14:14 UTC (permalink / raw)
  To: buildroot

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 <alexander@mezon.ru
> <mailto:alexander@mezon.ru>>
>
>
>
>     2012/10/10 Alexander Khryukin <alexander@mezon.ru
>     <mailto:alexander@mezon.ru>>
>
>
>
>         2012/10/10 Arnout Vandecappelle <arnout@mind.be
>         <mailto:arnout@mind.be>>
>
>             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 list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121011/617a3600/attachment.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-11 14:14         ` Stefan Fröberg
@ 2012-10-11 14:30           ` Stefan Fröberg
  2012-10-11 15:38             ` Alexander Khryukin
  0 siblings, 1 reply; 13+ messages in thread
From: Stefan Fröberg @ 2012-10-11 14:30 UTC (permalink / raw)
  To: buildroot

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 <alexander@mezon.ru
>> <mailto:alexander@mezon.ru>>
>>
>>
>>
>>     2012/10/10 Alexander Khryukin <alexander@mezon.ru
>>     <mailto:alexander@mezon.ru>>
>>
>>
>>
>>         2012/10/10 Arnout Vandecappelle <arnout@mind.be
>>         <mailto:arnout@mind.be>>
>>
>>             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 list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121011/11565fd5/attachment.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-11 14:30           ` Stefan Fröberg
@ 2012-10-11 15:38             ` Alexander Khryukin
  2012-10-11 16:39               ` Alexander Khryukin
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-10-11 15:38 UTC (permalink / raw)
  To: buildroot

2012/10/11 Stefan Fr?berg <stefan.froberg@petroprogram.com>

>  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 <alexander@mezon.ru>
>
>>
>>
>>  2012/10/10 Alexander Khryukin <alexander@mezon.ru>
>>
>>>
>>>
>>> 2012/10/10 Arnout Vandecappelle <arnout@mind.be>
>>>
>>>> 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 at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot
>
>
>
>
> _______________________________________________
> buildroot mailing listbuildroot at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot
>
>
>

> that you have openmp working

How i can check this?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121011/64ab69dc/attachment.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-11 15:38             ` Alexander Khryukin
@ 2012-10-11 16:39               ` Alexander Khryukin
  0 siblings, 0 replies; 13+ messages in thread
From: Alexander Khryukin @ 2012-10-11 16:39 UTC (permalink / raw)
  To: buildroot

2012/10/11 Alexander Khryukin <alexander@mezon.ru>

>
>
> 2012/10/11 Stefan Fr?berg <stefan.froberg@petroprogram.com>
>
>>  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 <alexander@mezon.ru>
>>
>>>
>>>
>>>  2012/10/10 Alexander Khryukin <alexander@mezon.ru>
>>>
>>>>
>>>>
>>>> 2012/10/10 Arnout Vandecappelle <arnout@mind.be>
>>>>
>>>>> 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 at busybox.nethttp://lists.busybox.net/mailman/listinfo/buildroot
>>
>>
>>
>>
>> _______________________________________________
>> buildroot mailing listbuildroot at 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


--- 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
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121011/27f58ad7/attachment-0001.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-10 14:40   ` Alexander Khryukin
  2012-10-10 17:21     ` Alexander Khryukin
@ 2012-10-11 22:14     ` Arnout Vandecappelle
  2012-10-11 22:27       ` Alexander Khryukin
  1 sibling, 1 reply; 13+ messages in thread
From: Arnout Vandecappelle @ 2012-10-11 22:14 UTC (permalink / raw)
  To: buildroot

On 10/10/12 16:40, Alexander Khryukin wrote:
[snip]
> config.log
>
> http://pastebin.com/L5CLKg06

/home/user/buildroot/output/host/usr/arm-buildroot-linux-gnueabi/sysroot/usr/lib/libbeecrypt.so: undefined reference to 
`GOMP_parallel_sections_start'


  Your cross-toolchain seems to contain OpenMP support.  Either add --disable-openmp to BEECRYPT_CONF_OPT, or if you 
really need OpenMP support in beecrypt, add LIBS=-lgomp to RPM_CONF_ENV.


  Maybe we should just add --disable-openmp to BEECRYPT_CONF_OPT?


  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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-11 22:14     ` Arnout Vandecappelle
@ 2012-10-11 22:27       ` Alexander Khryukin
  2012-10-11 22:45         ` Arnout Vandecappelle
  0 siblings, 1 reply; 13+ messages in thread
From: Alexander Khryukin @ 2012-10-11 22:27 UTC (permalink / raw)
  To: buildroot

2012/10/12 Arnout Vandecappelle <arnout@mind.be>

> On 10/10/12 16:40, Alexander Khryukin wrote:
> [snip]
>
>> config.log
>>
>> http://pastebin.com/L5CLKg06
>>
>
> /home/user/buildroot/output/**host/usr/arm-buildroot-linux-**
> gnueabi/sysroot/usr/lib/**libbeecrypt.so: undefined reference to
> `GOMP_parallel_sections_start'
>
>
>  Your cross-toolchain seems to contain OpenMP support.  Either add
> --disable-openmp to BEECRYPT_CONF_OPT, or if you really need OpenMP support
> in beecrypt, add LIBS=-lgomp to RPM_CONF_ENV.
>
>
>  Maybe we should just add --disable-openmp to BEECRYPT_CONF_OPT?
>
>
>
>  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<http://www.linkedin.com/in/arnoutvandecappelle>
> GPG fingerprint:  7CB5 E4CC 6C2E EFD4 6E3D A754 F963 ECAB 2450 2F1F
>

I wrote a simple patch that enables support of -lgomp instead of $LIB_GOMP
macro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20121012/37c7a58a/attachment-0001.html>

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-11 22:27       ` Alexander Khryukin
@ 2012-10-11 22:45         ` Arnout Vandecappelle
  2012-10-11 23:51           ` Gustavo Zacarias
  0 siblings, 1 reply; 13+ messages in thread
From: Arnout Vandecappelle @ 2012-10-11 22:45 UTC (permalink / raw)
  To: buildroot

On 12/10/12 00:27, Alexander Khryukin wrote:
> I wrote a simple patch that enables support of -lgomp instead of $LIB_GOMP macro

  LIB_GOMP should have been set to -lgomp if openmp is enabled, so that patch
wouldn't do much AFAICS.

  Oh, but now I see the real issue: in beecrypt's acinclude.m4, they check for
$OPENMP_CFLAGS to decide if OPENMP_LIBS should be set.  But you don't need to
pass any option to enable openmp, so $OPENMP_CFLAGS is empty...  Instead it
should check for $ac_cv_prog_c_openmp.

  Since AFAIK we have no toolchain that supports OpenMP in buildroot, I'm not
sure if it makes sense to patch it in buildroot...

  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

^ permalink raw reply	[flat|nested] 13+ messages in thread

* [Buildroot] rpm5
  2012-10-11 22:45         ` Arnout Vandecappelle
@ 2012-10-11 23:51           ` Gustavo Zacarias
  0 siblings, 0 replies; 13+ messages in thread
From: Gustavo Zacarias @ 2012-10-11 23:51 UTC (permalink / raw)
  To: buildroot

On 10/11/12 19:45, Arnout Vandecappelle wrote:

>  LIB_GOMP should have been set to -lgomp if openmp is enabled, so that
> patch
> wouldn't do much AFAICS.
> 
>  Oh, but now I see the real issue: in beecrypt's acinclude.m4, they
> check for
> $OPENMP_CFLAGS to decide if OPENMP_LIBS should be set.  But you don't
> need to
> pass any option to enable openmp, so $OPENMP_CFLAGS is empty...  Instead it
> should check for $ac_cv_prog_c_openmp.
> 
>  Since AFAIK we have no toolchain that supports OpenMP in buildroot, I'm
> not
> sure if it makes sense to patch it in buildroot...

The internal toolchain has support/an option for OpenMP
(BR2_ENABLE_GCC_OPENMP).
So it should probably be handled in the beecrypt package.
Regards.

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2012-10-11 23:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-08 11:28 [Buildroot] rpm5 Alexander Khryukin
2012-10-09 20:46 ` Arnout Vandecappelle
2012-10-10 14:40   ` Alexander Khryukin
2012-10-10 17:21     ` Alexander Khryukin
2012-10-11 10:04       ` Alexander Khryukin
2012-10-11 14:14         ` Stefan Fröberg
2012-10-11 14:30           ` Stefan Fröberg
2012-10-11 15:38             ` Alexander Khryukin
2012-10-11 16:39               ` Alexander Khryukin
2012-10-11 22:14     ` Arnout Vandecappelle
2012-10-11 22:27       ` Alexander Khryukin
2012-10-11 22:45         ` Arnout Vandecappelle
2012-10-11 23:51           ` Gustavo Zacarias

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.