[pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studi…

Top Page
Delete this message
Author: 1278
Date:  
To: pcre-dev
Old-Topics: [pcre-dev] [Bug 1278] New: pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
Subject: [pcre-dev] [Bug 1278] pcre 8.31 fails to link with Sun Studio 12 on Solaris 10 Update 10
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1278

doubletwist@??? changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |doubletwist@???
                   |                            |et





--- Comment #6 from doubletwist@??? 2013-06-05 16:38:28 ---
I just wanted to note that I've run into this as well - compiling pcre 8.33
using SunStudio 12u1.

Oddly enough, it happened on my i386 build box but not my sparc build box.
I'm using the same environment on both systems:
###########
export CC=/opt/sunstudio12.1/bin/cc
export CXX=CC
export CFLAGS="-fast -m64 -L/opt/exim/lib -R/opt/exim/lib -I/opt/exim/include"
export LDFLAGS="-s -m64 -I/opt/exim/include -R/opt/exim/lib -L/opt/exim/lib"
export CXXFLAGS=${CFLAGS}
export CPPFLAGS=${CFLAGS}
export MAKE=gmake
export
PATH=/opt/sunstudio12.1/bin:/usr/ccs/bin:/usr/sfw/bin:/bin:/usr/bin:/opt/exim/bin:/opt/op/bin
##########

Then configured with:
./configure --prefix=/opt/exim --disable-static --enable-shared


It also appears to happen only on i386 if I just run "./configure" with no
other options:

buildsparc:/admin/src/builds/exim/pcre-8.33$ grep EXTRA_LIBPCRECPP_LDFLAGS
Makefile
EXTRA_LIBPCRECPP_LDFLAGS =                             -version-info 0:0:0      


buildi386:/admin/src/builds/exim/pcre-8.33$ grep EXTRA_LIBPCRECPP_LDFLAGS
Makefile
EXTRA_LIBPCRECPP_LDFLAGS =  -Wl,-i__ZN7pcrecpp6no_argE:__ZN7pcrecpp2RE6no_argE 
                          -version-info 0:0:0




If I manually remove the garbage and just leave the -version-info 0:0:0, it
seems to compile okay, though I haven't verified that it is fully functional.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email