arm/179561: Compilation issue for lighttpd on raspberry pi

Andrey Fesenko f0andrey at gmail.com
Mon Jun 17 22:04:22 UTC 2013


On Tue, Jun 18, 2013 at 12:52 AM, Sreekanth Rupavatharam
<rskanth at yahoo.com> wrote:
> On 6/16/13 4:01 PM, Andrey Fesenko wrote:
>>
>> I have successfully compiled the port to the RPi and
>> # uname -a
>> FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251584M:
>> Mon Jun 10 01:06:22 MSK 2013
>> andrey at my_book.local:/home/andrey/obj/arm.armv6/usr/src/sys/RPI-B-IPv6
>>   arm
>
>
> I checked out the exact rev and built the image with that(with
> crochet-freebsd) and I still get the same issue with the C++ crashing
>
>
>
> 1.    /usr/include/c++/4.2/bits/basic_string.tcc:978:43: current parser
> token ';'
> 2.    /usr/include/c++/4.2/bits/basic_string.tcc:48:1
> <Spelling=/usr/include/c++/4.2/bits/c++config.h:76:38>: parsing namespace
> 'std'
> c++: error: unable to execute command: Abort trap (core dumped)
> c++: error: clang frontend command failed due to signal (use -v to see
> invocation)
> FreeBSD clang version 3.3 (trunk 178860) 20130405
> Target: armv6-unknown-freebsd10.0
>
> Wonder what am I missing here
>
> My uname -a is
>
> #uname -a
> FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r251584: Mon Jun
> 17 12:22:39 PDT 2013
> root at voila1.voilavip.com:/b/raspberry/crochet-freebsd/work/obj/arm.armv6/b/raspberry/head/sys/RPI-B-WIFI
> arm

i'm rebuild devel/pcre
http://armv6.bsdnir.info.ipv4.sixxs.org/files/pcre_build.log

are you build image on the system with blank /etc/make.conf? may be
you build clang version
# gcc -v
Using built-in specs.
Target: armv6-undermydesk-freebsd
Configured with: FreeBSD/armv6 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]
# g++ -v
Using built-in specs.
Target: armv6-undermydesk-freebsd
Configured with: FreeBSD/armv6 system compiler
Thread model: posix
gcc version 4.2.1 20070831 patched [FreeBSD]

or you RPi have /etc/make.conf with clang


More information about the freebsd-arm mailing list