Bug 2695 - Openssl pthread build fails on Tru64
: Openssl pthread build fails on Tru64
Status: RESOLVED FIXED
: GSI C
Credentials and Proxies
: unspecified
: DEC OSF/1
: P3 blocker
: 4.0
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2005-02-04 10:18 by
Modified: 2008-08-11 13:55 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2005-02-04 10:18:15
/usr/local/bin/ld -r -o .libs/libcrypto_vendorcc64dbgpthr.la-3.o
.libs/libcrypto_vendorcc64dbgpthr.lax/libui_vendorcc64dbgpthr.a/ui_util.o
.libs/libcrypto_vendorcc64dbgpthr.lax/libui_vendorcc64dbgpthr.a/ui_compat.o
.libs/libcrypto_vendorcc64dbgpthr.la-2.o
/usr/local/bin/ld -shared -expect_unresolved \*
.libs/libcrypto_vendorcc64dbgpthr.la-3.o  -pthread
-L/var/tmp/rynge/200502032159/install/lib -lc  -msym
-sonamelibcrypto_vendorcc64dbgpthr.so.0 `test -n "0.0.0:0.0" && echo
-set_version 0.0.0:0.0` -update_registry .libs/so_locations -o
.libs/libcrypto_vendorcc64dbgpthr.so.0.0.0
/usr/local/bin/ld:
-pthread: Unknown flag
/usr/local/bin/ld: Usage: /usr/local/bin/ld [options] file [...]
make[4]: *** [libcrypto_vendorcc64dbgpthr.la] Error 1
make[4]: Leaving directory
`/var/cluster/members/member0/tmp/rynge/200502032159/gt4-testgrid-source-installer/source-trees/gsi/openssl_gpt/crypto'
make[3]: *** [all-recursive] Error 1
------- Comment #1 From 2005-02-08 11:40:34 -------
bash-2.04$ cat globus-build-env-vendorcc64dbgpthr.sh

MP=""
MP_INCLUDES=""
MP_LIBS=""

CC="/usr/bin/cc"
CPP="/usr/bin/cc -E"
CPPFLAGS="-pthread  -I/var/tmp/rynge/200502081125/install/include -I/var/tmp/ryn
ge/200502081125/install/include/vendorcc64dbgpthr"
CFLAGS="-g -D_OSF_SOURCE -pthread    -D_REENTRANT"


LD="/usr/bin/ld"
LDFLAGS=" -L/var/tmp/rynge/200502081125/install/lib "
LIBS="  "
STATIC_LDFLAGS="@STATIC_LDFLAGS@"

CXX="g++"
CXXCPP=" -E"
CXXFLAGS="-g -D_OSF_SOURCE -pthread   "

INSURE=""

F77=""
F77FLAGS=" "

F90=""
F90FLAGS=" "

AR="/usr/bin/ar"
ARFLAGS="ruv"
RANLIB="/usr/bin/ranlib"

NM="/usr/bin/nm -B"

PERL="/usr/users/rynge/bin/perl"

OBJEXT="o"
EXEEXT=""

OBJECT_MODE=""

CROSS="no"
cross_compiling=${CROSS}

GLOBUS_THREADS="pthreads"
GLOBUS_HOST="alphaev67-dec-osf5.1a"
GLOBUS_DEBUG="yes"



CXX looks a little bit weird, but I don't think that is affecting the openssl
build. /usr/bin/cxx was moved out the way to test the fix for bug 2682.


It is also weird that LD is set. It was removed in bug 2514, but maybe an old
globus_core still exist in the GPT distro.

------- Comment #2 From 2005-02-11 23:58:00 -------
This ended up being a libtool bug:

   http://lists.gnu.org/archive/html/bug-libtool/2004-12/threads.html#00000

I have patched the globus libtools and commited to trunk.

Unfortunately, another build failure was found (bug 2725).