From owner-freebsd-arm@FreeBSD.ORG Mon Jun 17 22:04:22 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 1E4A3C93 for ; Mon, 17 Jun 2013 22:04:22 +0000 (UTC) (envelope-from f0andrey@gmail.com) Received: from mail-wg0-x22c.google.com (mail-wg0-x22c.google.com [IPv6:2a00:1450:400c:c00::22c]) by mx1.freebsd.org (Postfix) with ESMTP id AEBE2128A for ; Mon, 17 Jun 2013 22:04:21 +0000 (UTC) Received: by mail-wg0-f44.google.com with SMTP id m15so2822532wgh.11 for ; Mon, 17 Jun 2013 15:04:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=kWixIW5Vr36nfBYQfSo5OflTj7S0VYaIWbngWpdm1P8=; b=KDYSZbMOj3HazHpdO8OaMqW7LMNq6CXl8u6bpro53YNPjUu5tyIZKdEZmQW2V1AVXJ uHGsD0MU9T+Cwo0ZhZiaCoorgJRPTxkuqzjr62879Z+0ehZVurHRtYqjQloUSRL3zHkK 7lJMXdmhKX2JYuk36F6JXBUmtBItNZuLrdw3tP9GHatCCCXQew/i00uFXRDjJyLhwZAU jnZSxuxEOHGr/04xJOTdYlpjSkLPQAQm/J2QdEzv+SKsRNVQwsxq97K3fhkfNVx0atg9 t4UuO8kNSmP+yWycaiwi+0jQV2lRsnf6bM31ZmSYyEMLX17a2UmBznIMRKf/x/DWxilu loMw== MIME-Version: 1.0 X-Received: by 10.180.80.6 with SMTP id n6mr6062946wix.59.1371506660820; Mon, 17 Jun 2013 15:04:20 -0700 (PDT) Received: by 10.194.240.132 with HTTP; Mon, 17 Jun 2013 15:04:20 -0700 (PDT) In-Reply-To: <51BF76F3.8020806@yahoo.com> References: <201306162210.r5GMA05N031413@freefall.freebsd.org> <51BF76F3.8020806@yahoo.com> Date: Tue, 18 Jun 2013 02:04:20 +0400 Message-ID: Subject: Re: arm/179561: Compilation issue for lighttpd on raspberry pi From: Andrey Fesenko To: Sreekanth Rupavatharam Content-Type: text/plain; charset=UTF-8 Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jun 2013 22:04:22 -0000 On Tue, Jun 18, 2013 at 12:52 AM, Sreekanth Rupavatharam 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 > : 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