The following comes from testing Jeff's no-embedded-libltdl work, but I
suspect the same is true on tru^H^H^Hmaster.

The output below, from "make V=1" shows a link failure from trying to use
arc4random_addrandom(), which was removed on OpenBSD in late 2013.

The part that bugs me is that I thought Ralph had fixed this in v1.8
already!
See https://svn.open-mpi.org/trac/ompi/ticket/4829

FYI: The warnings are just the standard Open BSD paranoia and don't
indicate any real problems.

-Paul

/bin/sh ../../../libtool  --tag=CC    --mode=link gcc -std=gnu99  -g
-finline-functions -fno-strict-aliasing -pthread    -o opal_wrapper
opal_wrapper.o ../../../opal/libopen-pal.la -lm -lutil   -lm -lutil
libtool: link: gcc -std=gnu99 -g -finline-functions -fno-strict-aliasing
-pthread -o .libs/opal_wrapper opal_wrapper.o  -L../../../opal/.libs
-lopen-pal -lpthread -lm -lutil -pthread
-Wl,-rpath,/home/phargrov/OMPI/openmpi-libltdl-openbsd5-amd64/INST/lib
../../../opal/.libs/libopen-pal.so.0.0: warning: vsprintf() is often
misused, please use vsnprintf()
../../../opal/.libs/libopen-pal.so.0.0: warning: strcpy() is almost always
misused, please use strlcpy()
../../../opal/.libs/libopen-pal.so.0.0: warning: random() isn't random;
consider using arc4random()
../../../opal/.libs/libopen-pal.so.0.0: warning: strcat() is almost always
misused, please use strlcat()
../../../opal/.libs/libopen-pal.so.0.0: warning: sprintf() is often
misused, please use snprintf()
../../../opal/.libs/libopen-pal.so.0.0: undefined reference to
`arc4random_addrandom'
collect2: ld returned 1 exit status




-- 
Paul H. Hargrove                          phhargr...@lbl.gov
Computer Languages & Systems Software (CLaSS) Group
Computer Science Department               Tel: +1-510-495-2352
Lawrence Berkeley National Laboratory     Fax: +1-510-486-6900

Reply via email to