You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Arno Toell (JIRA)" <ji...@apache.org> on 2011/04/15 17:13:05 UTC

[jira] [Updated] (TS-740) Traffic Server fails to build on kfreebsd

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

Arno Toell updated TS-740:
--------------------------

    Attachment: kfreebsd-build.patch

> Traffic Server fails to build on kfreebsd
> -----------------------------------------
>
>                 Key: TS-740
>                 URL: https://issues.apache.org/jira/browse/TS-740
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Build
>    Affects Versions: 2.1.8, 2.1.7
>         Environment: Debian kFreeBSD 6.0.1, FreeBSD kernel 8.1-1-amd64, gcc 4.4.5
>            Reporter: Arno Toell
>            Priority: Minor
>         Attachments: kfreebsd-build.patch
>
>
> 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. 

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