You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Igor Galić (JIRA)" <ji...@apache.org> on 2011/07/21 14:37:57 UTC

[jira] [Updated] (TS-856) ATS doesn't build on Solaris Studio 12.2 in 32 bit mode

     [ https://issues.apache.org/jira/browse/TS-856?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Galić updated TS-856:
--------------------------

    Comment: was deleted

(was: The reason, I suspect, this fails is TS-228: I used CSW's lzma library which was linked against libgcc)

> ATS doesn't build on Solaris Studio 12.2 in 32 bit mode
> -------------------------------------------------------
>
>                 Key: TS-856
>                 URL: https://issues.apache.org/jira/browse/TS-856
>             Project: Traffic Server
>          Issue Type: Bug
>          Components: Build, DNS
>    Affects Versions: 3.1.0, 3.0.0
>         Environment: Solaris 10, x86, Solaris Studio 12.2
>            Reporter: Igor Galić
>             Fix For: 3.1.0
>
>         Attachments: sunpro12.2-32bit.patch
>
>
> Because our build system automatically adds -m64 on Solaris/SunPro, we're unable to compile Traffic Server in 32bit mode: This is necessary because some libraries simply aren't available in 64bit.
> I've created a patch to alter this behaviour, except now it cannot link traffic_server:
> {noformat}
> gmake[2]: Entering directory `/buildr/mgar/pkg/trafficserver/trunk/work/build-isa-i386/trafficserver-3.0.0/proxy'
> /bin/bash ../libtool --tag=CXX   --mode=link /opt/solstudio12.2/bin/CC -m32  -xO3 -g -mt -library=stlport4 -erroff -R/opt/csw/lib -L/opt/csw/lib -L/lib -L/usr/local/lib -o traffic_server AbstractBuffer.o CacheControl.o ProxyConfig.o ControlBase.o ControlMatcher.o CoreUtils.o DiagsConfig.o Error.o EventName.o ICP.o ICPConfig.o ICPProcessor.o ICPStats.o InkAPI.o FetchSM.o InkIOCoreAPI.o InkXml.o IPAllow.o Main.o ParentSelection.o Plugin.o PluginDB.o PluginVC.o Prefetch.o ReverseProxy.o signals.o SocksProxy.o StatPages.o StatSystem.o Transform.o Update.o InkAPITest.o RegressionSM.o TestHook.o http/libhttp.a http/remap/libhttp_remap.a congest/libCongestionControl.a logging/liblogging.a logging/liblogcollation.a stats/libstats.a hdrs/libhdrs.a ../mgmt/preparse/libpreparse.a ../mgmt/utils/libutils_p.a ../mgmt/libmgmt_p.a ../iocore/utils/libinkutils.a ../iocore/cluster/libinkcluster.a ../iocore/dns/libinkdns.a ../iocore/hostdb/libinkhostdb.a ../iocore/dns/libinkdns.a ../iocore/cluster/libinkcluster.a ../iocore/cache/libinkcache.a ../iocore/aio/libinkaio.a ../iocore/net/libinknet.a ../iocore/eventsystem/libinkevent.a ../lib/records/librecprocess.a ../iocore/eventsystem/libinkevent.a ../lib/ts/libtsutil.la -lpthread -lsocket -lnsl -lresolv -lposix4 -lpcre -lssl -lcrypto -L/opt/csw/lib -ltcl8.4 -ldl -lexpat -ldemangle -liconv -lm    -lz
> libtool: link: /opt/solstudio12.2/bin/CC -m32 -xO3 -g -mt -erroff -o .libs/traffic_server AbstractBuffer.o CacheControl.o ProxyConfig.o ControlBase.o ControlMatcher.o CoreUtils.o DiagsConfig.o Error.o EventName.o ICP.o ICPConfig.o ICPProcessor.o ICPStats.o InkAPI.o FetchSM.o InkIOCoreAPI.o InkXml.o IPAllow.o Main.o ParentSelection.o Plugin.o PluginDB.o PluginVC.o Prefetch.o ReverseProxy.o signals.o SocksProxy.o StatPages.o StatSystem.o Transform.o Update.o InkAPITest.o RegressionSM.o TestHook.o  -L/opt/csw/lib -L/lib -L/usr/local/lib http/libhttp.a http/remap/libhttp_remap.a congest/libCongestionControl.a logging/liblogging.a logging/liblogcollation.a stats/libstats.a hdrs/libhdrs.a ../mgmt/preparse/libpreparse.a ../mgmt/utils/libutils_p.a ../mgmt/libmgmt_p.a ../iocore/utils/libinkutils.a ../iocore/hostdb/libinkhostdb.a ../iocore/dns/libinkdns.a ../iocore/cluster/libinkcluster.a ../iocore/cache/libinkcache.a ../iocore/aio/libinkaio.a ../iocore/net/libinknet.a ../lib/records/librecprocess.a ../iocore/eventsystem/libinkevent.a ../lib/ts/.libs/libtsutil.so -library=stlport4 -lc -lpthread -lsocket -lnsl -lresolv -lposix4 -lpcre -lssl -lcrypto -ltcl8.4 -ldl -lexpat -ldemangle -liconv -lm -lz -mt -R/opt/csw/lib
> Undefined                       first referenced
>  symbol                             in file
> int ink_res_mkquery(__ink_res_state*,int,const char*,int,int,const unsigned char*,int,const unsigned char*,unsigned char*,int) ../iocore/dns/libinkdns.a(DNS.o)
> ld: fatal: Symbol referencing errors. No output written to .libs/traffic_server
> gmake[2]: *** [traffic_server] Error 2
> gmake[2]: Leaving directory `/buildr/mgar/pkg/trafficserver/trunk/work/build-isa-i386/trafficserver-3.0.0/proxy'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/buildr/mgar/pkg/trafficserver/trunk/work/build-isa-i386/trafficserver-3.0.0/proxy'
> gmake: *** [all-recursive] Error 1
> igalic@asd5inbld002:/buildr/mgar/pkg/trafficserver/trunk/work/build-isa-i386/trafficserver-3.0.0>
> {noformat}

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira