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

Traffic Server fails to build on kfreebsd

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.1.8, 2.1.7
    • 2.1.8
    • Build
    • None
    • Debian kFreeBSD 6.0.1, FreeBSD kernel 8.1-1-amd64, gcc 4.4.5

    Description

      Apache Traffic Server fails to build on Debian kFreeBSD. This is because of some special behavior when using the FreeBSD kernel with a GNU user land. In summary, the FreeBSD build stack works very well for kfreebsd, but due to some library incompatibilities, some slight modifications are required to get the build working.

      I propose a patch to fix this issue, I developed it for the released 2.1.7 ATS distribution, but still succeeds on the trunk as of today with some offsests for certain hunks. Therefore you may want to merge my changes, if you want at all, rather soon to allow patch to find offsets while they aren't that significant.

      The patch introduces a new host operating system "kfreebsd" which is a subset of the existing "freebsd" host definition. This is required, because the kfreebsd architecture generally seems to work with "freebsd" quirks in existing code, but still needs some special handling for some, rare, cases. Therefore, when building on kfreebsd -Dfreebsd and -Dkfreebsd is set to honor this requirements.

      I briefly tested the patch for side effects on pure FreeBSD and Linux but it seems not to affect building on those systems.

      Attachments

        1. kfreebsd-build.patch
          2 kB
          Arno Toell

        Activity

          People

            zwoop Leif Hedstrom
            at Arno Toell
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: