Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Jun 2013 10:06:28 -0400
From:      Paul Mather <paul@gromit.dlib.vt.edu>
To:        rskanth <rskanth@yahoo.com>
Cc:        freebsd-arm@freebsd.org
Subject:   Re: arm/179561: Compilation issue for lighttpd on raspberry pi
Message-ID:  <20ECDE3B-8D7A-4DF4-A22C-5CC2552C7A66@gromit.dlib.vt.edu>
In-Reply-To: <1371675392953-5821526.post@n5.nabble.com>
References:  <201306142359.r5ENxAes024505@oldred.freebsd.org> <201306162210.r5GMA05N031413@freefall.freebsd.org> <CA%2BK5SrMP7WmAXdRtvGddoLbtb=bKvSYhsmjeJFhT_PaqjZjENw@mail.gmail.com> <51BF76F3.8020806@yahoo.com> <CA%2BK5SrOFLgVbFhdNAhjurKZQ6M6MumArCNuMs%2BOvnQLEbSMXyA@mail.gmail.com> <51C0B3AA.3060304@yahoo.com> <CA%2BK5SrOdeJ0eVO=H5BzL5YTXxBDLGxdpUFE3gDXhosQtN4TXwQ@mail.gmail.com> <1371675392953-5821526.post@n5.nabble.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Jun 19, 2013, at 4:56 PM, rskanth <rskanth@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=3D15696.
>=20
> 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:

=3D=3D=3D=3D=3D
CC=3Dgcc
CXX=3Dg++
CPP=3Dgcpp
=3D=3D=3D=3D=3D

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.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20ECDE3B-8D7A-4DF4-A22C-5CC2552C7A66>