Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Jun 2013 02:04:20 +0400
From:      Andrey Fesenko <f0andrey@gmail.com>
To:        Sreekanth Rupavatharam <rskanth@yahoo.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: arm/179561: Compilation issue for lighttpd on raspberry pi
Message-ID:  <CA%2BK5SrOFLgVbFhdNAhjurKZQ6M6MumArCNuMs%2BOvnQLEbSMXyA@mail.gmail.com>
In-Reply-To: <51BF76F3.8020806@yahoo.com>
References:  <201306162210.r5GMA05N031413@freefall.freebsd.org> <CA%2BK5SrMP7WmAXdRtvGddoLbtb=bKvSYhsmjeJFhT_PaqjZjENw@mail.gmail.com> <51BF76F3.8020806@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Jun 18, 2013 at 12:52 AM, Sreekanth Rupavatharam
<rskanth@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@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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BK5SrOFLgVbFhdNAhjurKZQ6M6MumArCNuMs%2BOvnQLEbSMXyA>