arm/179561: Compilation issue for lighttpd on raspberry pi

Paul Mather paul at gromit.dlib.vt.edu
Thu Jun 20 14:06:59 UTC 2013


On Jun 19, 2013, at 4:56 PM, rskanth <rskanth at yahoo.com> wrote:

> All the roads are right now pointing to a clang issue on FreeBSD arm. The
> alignment issue originally noted by hiren is tracked in this PR.
> http://llvm.org/bugs/show_bug.cgi?id=15696.
> 
> At this point I am keen on figuring out
> a) the Official way to cross-build ports on x86. I tried a few unofficial
> ones without success. I prefer this as it can significantly reduce build
> time

I'd be very interested in hearing about successful port cross-building strategies, too.  I've used poudriere successfully to build x86 ports, but it failed when trying to build for arm.  It would be a big win for me if I could add an arm pkgng repo to my poudriere build machine.


> b) completely disable clang in the native build on raspberry pi. I tried
> over-riding the /etc/make.conf with g++ for CXX and CPP, I get issues with
> the config.


I believe I've previously had success with this in /etc/src.conf:

=====
CC=gcc
CXX=g++
CPP=gcpp
=====

However, I haven't done a lot of native builds (maybe just one successfully)---I have built using crochet on another machine most of the time.

Cheers,

Paul.


More information about the freebsd-arm mailing list