List Info

Thread: OpenSSL: OpenSSL_0_9_8-stable: openssl/ Configure




OpenSSL: OpenSSL_0_9_8-stable: openssl/ Configure
country flaguser name
Germany
2007-09-16 07:24:20
  OpenSSL CVS Repository
  http://cvs.openssl.org/
 
____________________________________________________________
________________

  Server: cvs.openssl.org                  Name:   Andy
Polyakov
  Root:   /v/openssl/cvs                   Email:  approopenssl.org
  Module: openssl                          Date:  
16-Sep-2007 14:24:19
  Branch: OpenSSL_0_9_8-stable             Handle:
2007091613241700

  Modified files:           (Branch: OpenSSL_0_9_8-stable)
    openssl                 Configure

  Log:
    BSD run-time linkers apparently demand RPATH on .so
objects [from HEAD].
    PR: 1381

  Summary:
    Revision    Changes     Path
    1.488.2.47  +17 -2      openssl/Configure
 
____________________________________________________________
________________

  patch -p0 <<' .'
  Index: openssl/Configure
 
============================================================
================
  $ cvs diff -u -r1.488.2.46 -r1.488.2.47 Configure
  --- openssl/Configure	14 Sep 2007 19:32:54
-0000	1.488.2.46
  +++ openssl/Configure	16 Sep 2007 12:24:17
-0000	1.488.2.47
   -1163,8 +1163,10 
   
   $cpuid_obj.=" uplink.o uplink-cof.o" if
($cflags =~ /-DOPENSSL_USE_APPLINK/);
   
  -# Compiler fix-ups
  -if ($target =~ /icc$/)
  +#
  +# Platform fix-ups
  +#
  +if ($target =~ /-icc$/)	# Intel C compiler
   	{
   	my $iccver=0;
   	if (open(FD,"$cc -V 2>&1 |"))
   -1190,6 +1192,19 
   		}
   	}
   
  +# Unlike other OSes (like Solaris, Linux, Tru64, IRIX)
BSD run-time
  +# linkers (tested OpenBSD, NetBSD and FreeBSD)
"demand" RPATH set on
  +# .so objects. Apparently application RPATH is not global
and does
  +# not apply to .so linked with other .so. Problem
manifests itself
  +# when libssl.so fails to load libcrypto.so. One can
argue that we
  +# should engrave this into Makefile.shared rules or into
BSD-* config
  +# lines above. Meanwhile let's try to be cautious and
pass -rpath to
  +# linker only when --prefix is not /usr.
  +if ($target =~ /^BSD-/)
  +	{
  +	$shared_ldflag.=" -Wl,-rpath,$(LIBRPATH)" if
($prefix !~ m|^/usr[/]*$|);
  +	}
  +
   if ($sys_id ne "")
   	{
   	#$cflags="-DOPENSSL_SYSNAME_$sys_id $cflags";
   .
____________________________________________________________
__________
OpenSSL Project                                 http://www.openssl.org
CVS Repository Commit List                    
openssl-cvsopenssl.org
Automated List Manager                          
majordomoopenssl.org

[1]

about | contact  Other archives ( Real Estate discussion Medical topics )