Date: Wed, 16 Jan 2013 21:24:12 -0800 From: Oleksandr Tymoshenko <gonzo@bluezbox.com> To: Jesse Griffin <jesse@tummy.com> Cc: freebsd-arm@freebsd.org Subject: Re: Nginx Build Fails on Compiling pcre Message-ID: <0C39E32B-32D2-4FE6-A8D4-168C83F18AF0@bluezbox.com> In-Reply-To: <50F74150.1080600@tummy.com> References: <50F74150.1080600@tummy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-01-16, at 4:09 PM, Jesse Griffin <jesse@tummy.com> wrote: > Hello, >=20 > I'm not sure if this is the correct list, but the only reason why I = did the > following was to test FreeBSD on the Pi. >=20 > I setup = http://www.peach.ne.jp/archives/rpi/freebsd-pi-clang-20130115.img.gz on > my Pi and I tried building several ports to see what I got. Most of = them > completed okay, but the Nginx build fails when it tries to compile > /usr/ports/devel/pcre. >=20 > Building Nginx on an i386 FreeBSD 10 CURRENT works. >=20 > Below is the output: >=20 > root@raspberry-pi:/usr/ports/www/nginx # make install clean > =3D=3D=3D> nginx-1.2.6,1 depends on shared library: pcre - not found > =3D=3D=3D> Verifying install for pcre in /usr/ports/devel/pcre > =3D=3D=3D> Building for pcre-8.32 > make all-am > CCLD pcretest > ./.libs/libpcre.so: undefined reference to `__clear_cache' > cc: error: linker command failed with exit code 1 (use -v to see = invocation) I believe it might be clang/ARM issue. gcc compiles test application = with=20 __clear_cache just fine on my ARM. Both clang and gcc compile the same application on x86_64. So some bits might be missing in clang's std = library=20 for ARM. =20
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0C39E32B-32D2-4FE6-A8D4-168C83F18AF0>