Uploaded image for project: 'Traffic Server'
  1. Traffic Server
  2. TS-388

Solaris 10 (x86) 64-bit patch

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.1.2
    • 2.1.2
    • Portability
    • None
    • Solaris 10 x86 U7
      gcc 4.4.2
      64-bit
      CPPFLAGS="-D_REENTRANT" ./configure --with-architecture=-m64

    Description

      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'

      Attachments

        1. ts_solaris_trunk.patch
          2 kB
          Igor Brezac

        Activity

          People

            Unassigned Unassigned
            ibrezac Igor Brezac
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: