Solaris 10 (x86) 64-bit patch
-----------------------------
Key: TS-388
URL: https://issues.apache.org/jira/browse/TS-388
Project: Traffic Server
Issue Type: Improvement
Components: Portability
Affects Versions: 2.1.2
Environment: Solaris 10 x86 U7
gcc 4.4.2
64-bit
CPPFLAGS="-D_REENTRANT" ./configure --with-architecture=-m64
Reporter: Igor Brezac
Fix For: 2.1.2
I get the following compile errors:
++ -DHAVE_CONFIG_H -I. -I../libinktomi++ -I../librecords -I../libinktomi++
-I../iocore/eventsystem -I../iocore/net -I../iocore/aio -I../iocore/hostdb
-I../iocore/cache -I../iocore/cluster -I../iocore/utils -I../iocore/dns
-I../libev -I../proxy/dns_cache -I./http2 -I./logging -I./http2/remap -I./hdrs
-I./mgmt2 -I./mgmt2/preparse -I./mgmt2/utils -I./mgmt2/web2 -I./api/ts
-DPKGSYSUSER=\"nobody\" -D_REENTRANT -D_LARGEFILE64_SOURCE=1
-D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE -Dsolaris -I/usr/local/include -m64 -g
-pipe -Wall -Werror -O3 -feliminate-unused-debug-symbols -fno-strict-aliasing
-Wno-invalid-offsetof -MT Main.o -MD -MP -MF .deps/Main.Tpo -c -o Main.o Main.cc
cc1plus: warnings being treated as errors
Main.cc: In function 'rlim_t max_out_limit(const char*, int, bool, bool)':
Main.cc:346: error: comparison between signed and unsigned integer expressions
ake[3]: Entering directory `/src/traffic_HEAD/proxy/mgmt2/cluster'
g++ -DHAVE_CONFIG_H -DMGMT_USE_SYSLOG -I. -I../../../libinktomi++
-I../../../libinktomi++ -I../../../librecords -I../../../proxy/mgmt2
-I../../../proxy/mgmt2/api2 -I../../../proxy/mgmt2/api2/include
-I../../../proxy/mgmt2/cli -I../../../proxy/mgmt2/preparse
-I../../../proxy/mgmt2/utils -I../../../proxy/mgmt2/web2 -I../../../proxy
-D_REENTRANT -D_LARGEFILE64_SOURCE=1 -D_FILE_OFFSET_BITS=64 -D_GNU_SOURCE
-Dsolaris -I/usr/local/include -m64 -g -pipe -Wall -Werror -O3
-feliminate-unused-debug-symbols -fno-strict-aliasing -Wno-invalid-offsetof -MT
ClusterCom.o -MD -MP -MF .deps/ClusterCom.Tpo -c -o ClusterCom.o ClusterCom.cc
cc1plus: warnings being treated as errors
ClusterCom.cc: In function 'bool checkBackDoor(int, char*)':
ClusterCom.cc:2557: error: format '%ld' expects type 'long int', but argument 5
has type 'int'
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.