[Varnish] #732: Varnish apparently does not allow for cross compiling
Varnish
varnish-bugs at varnish-cache.org
Wed Aug 4 12:29:21 CEST 2010
#732: Varnish apparently does not allow for cross compiling
-------------------------+--------------------------------------------------
Reporter: ccrumb | Type: defect
Status: closed | Priority: normal
Milestone: | Component: build
Version: trunk | Severity: normal
Resolution: worksforme | Keywords:
-------------------------+--------------------------------------------------
Changes (by phk):
* status: new => closed
* resolution: => worksforme
Old description:
> Was going to try cross compiling Varnish for ARM and did the following:
>
> ./configure --target=arm-none-linux-gnueabi --host=arm-none-linux-gnueabi
>
> Ended up with a message:
> checking whether SO_RCVTIMEO works... configure: error: cannot run test
> program while cross compiling
>
> Is there any particular reason not to allow/support cross compilation?
New description:
Was going to try cross compiling Varnish for ARM and did the following:
./configure --target=arm-none-linux-gnueabi --host=arm-none-linux-gnueabi
Ended up with a message:
checking whether SO_RCVTIMEO works... configure: error: cannot run test
program while cross compiling
Is there any particular reason not to allow/support cross compilation?
--
Comment:
Varnish needs a C compiler at runtime, so the usual benefit of cross-
compiling (Saving a tool-chain) does not apply.
We perform a number of auto* tests to figure out stuff about the platfrom,
like the RCVTIMEO test, you would have to provide correct specification
of those details if you want to cross-compile.
Otherwise there shouldn't really be anything impossible about it, but
since Varnish needs a C compiler at runtime, the usual benefit of cross-
compiling (Saving a tool-chain) does not apply.
--
Ticket URL: <http://www.varnish-cache.org/ticket/732#comment:1>
Varnish <http://varnish-cache.org/>
The Varnish HTTP Accelerator
More information about the varnish-bugs
mailing list