Skip to contentSkip to conversation

rpm5

Buildroot Alexander Khryukin 4 participants 13 messages Oct 8, 2012 – Oct 11, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw

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?

#1 lore raw
Quoted 2 lines · Alexander Khryukin

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

Signature · 6 lines
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
#2 lore raw

2012/10/10 Arnout Vandecappelle <[email protected]>

Quoted 22 lines · Alexander Khryukin
Quoted 4 lines

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
--

Quoted 8 lines
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>

#3 lore raw

2012/10/10 Alexander Khryukin <[email protected]>

Quoted 43 lines

2012/10/10 Arnout Vandecappelle <[email protected]>

Quoted 22 lines · Alexander Khryukin
Quoted 4 lines

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
--

Quoted 8 lines
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

Quoted 9 lines

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>

#4 lore raw

2012/10/10 Alexander Khryukin <[email protected]>

Quoted 58 lines

2012/10/10 Alexander Khryukin <[email protected]>

Quoted 43 lines

2012/10/10 Arnout Vandecappelle <[email protected]>

Quoted 22 lines · Alexander Khryukin
Quoted 4 lines

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
--

Quoted 8 lines
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

Quoted 9 lines

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

Quoted 5 lines

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>

#5 lore raw

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:

Quoted 78 lines

2012/10/10 Alexander Khryukin <[email protected]
<mailto:[email protected]>>

2012/10/10 Alexander Khryukin <[email protected] <mailto:[email protected]>>

2012/10/10 Arnout Vandecappelle <[email protected] <mailto:[email protected]>>

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

Quoted 8 lines

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>

#6 lore raw

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:

Quoted 119 lines

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:

Quoted 79 lines

2012/10/10 Alexander Khryukin <[email protected]
<mailto:[email protected]>>

2012/10/10 Alexander Khryukin <[email protected] <mailto:[email protected]>>

2012/10/10 Arnout Vandecappelle <[email protected] <mailto:[email protected]>>

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

Quoted 8 lines

Bump
Problem still exist

_______________________________________________
buildroot mailing list
buildroot at busybox.net
http://lists.busybox.net/mailman/listinfo/buildroot

Quoted 4 lines

_______________________________________________
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>

#7 lore raw

2012/10/11 Stefan Fr?berg <[email protected]>

Quoted 120 lines

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 <[email protected]>

Quoted 58 lines

2012/10/10 Alexander Khryukin <[email protected]>

Quoted 43 lines

2012/10/10 Arnout Vandecappelle <[email protected]>

Quoted 22 lines · Alexander Khryukin
Quoted 4 lines

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
--

Quoted 8 lines
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

Quoted 9 lines

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

Quoted 5 lines

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

Quoted 7 lines

_______________________________________________
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>

#8 lore raw

2012/10/11 Alexander Khryukin <[email protected]>

Quoted 130 lines

2012/10/11 Stefan Fr?berg <[email protected]>

Quoted 125 lines

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 <[email protected]>

Quoted 58 lines

2012/10/10 Alexander Khryukin <[email protected]>

Quoted 43 lines

2012/10/10 Arnout Vandecappelle <[email protected]>

Quoted 22 lines · Alexander Khryukin
Quoted 4 lines

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
--

Quoted 8 lines
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

Quoted 9 lines

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

Quoted 5 lines

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

Quoted 4 lines
Quoted 1 line

that you have openmp working

How i can check this?

Stegan, thanks for your answer i prepared patch

Makefile.am 2009-07-10 12:52:47.000000000 +0200 renamed from Makefile.am~ 2009-07-04 14:07:12.000000000 +0200 +0 -0
@@ -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>

#9 lore raw
In reply to Alexander Khryukin

On 10/10/12 16:40, Alexander Khryukin wrote:
[snip]

Quoted 3 lines

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

Signature · 6 lines
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
#10 lore raw

2012/10/12 Arnout Vandecappelle <[email protected]>

Quoted 25 lines · Alexander Khryukin

[snip]

Quoted 4 lines

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
--

Quoted 8 lines
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>

#11 lore raw
Quoted 1 line · Alexander Khryukin

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

Signature · 6 lines
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
#12 lore raw
Quoted 11 lines · Arnout Vandecappelle

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.

Quoted 3 lines

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.