Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jun 2013 23:59:10 GMT
From:      Sreekanth <rskanth@yahoo.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   arm/179561: Compilation issue for lighttpd on raspberry pi
Message-ID:  <201306142359.r5ENxAes024505@oldred.freebsd.org>
Resent-Message-ID: <201306150000.r5F000Uj011320@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         179561
>Category:       arm
>Synopsis:       Compilation issue for lighttpd on raspberry pi
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-arm
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Jun 15 00:00:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Sreekanth
>Release:        FreeBSD 10.0-CURRENT
>Organization:
>Environment:
FreeBSD raspberry-pi 10.0-CURRENT FreeBSD 10.0-CURRENT #1 r250698: Sun Jun  9 16:38:46 PDT 2013     root@voila1.voilavip.com:/b/raspberry/crochet-freebsd/work/obj/arm.armv6/b/raspberry/head/sys/RPI-B-WIFI  arm
>Description:
I am trying to compile lighttpd on Raspberry Pi, I get the following error while doing so.

===>  Building for pcre-8.20
make  all-am
/bin/sh ./libtool --tag=CXX    --mode=compile c++ -DHAVE_CONFIG_H -I.      -O -pipe -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c -o pcrecpp.lo pcrecpp.cc
libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O -pipe -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c pcrecpp.cc  -fPIC -DPIC -o .libs/pcrecpp.o
Assertion failed: ((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) == 0 && "Pointer is not sufficiently aligned"), function initWithPointer, file /b/raspberry/head/lib/clang/libclangsema/../../../contrib/llvm/include/llvm/ADT/PointerIntPair.h, line 100.
Stack dump:
0.	Program arguments: /usr/bin/c++ -cc1 -triple armv6-unknown-freebsd10.0 -S -disable-free -main-file-name pcrecpp.cc -mrelocation-model pic -pic-level 2 -mdisable-fp-elim -mconstructor-aliases -target-abi apcs-gnu -target-cpu arm1136jf-s -msoft-float -mfloat-abi soft -target-feature +soft-float -target-feature +soft-float-abi -target-feature -neon -coverage-file /tmp/pcrecpp-kHaeg4.s -resource-dir /usr/bin/../lib/clang/3.3 -dependency-file .deps/pcrecpp.Tpo -sys-header-deps -MP -MT pcrecpp.lo -D HAVE_CONFIG_H -D PIC -I . -O2 -fdeprecated-macro -fno-dwarf-directory-asm -fdebug-compilation-dir /usr/ports/devel/pcre/work/pcre-8.20 -ferror-limit 19 -fmessage-length 181 -mstackrealign -fno-signed-char -fobjc-runtime=gnustep -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fsjlj-exceptions -fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loops -o /tmp/pcrecpp-kHaeg4.s -x c++ pcrecpp.cc 
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
Thread model: posix
c++: note: diagnostic msg: PLEASE submit a bug report to http://llvm.org/bugs/ and include the crash backtrace, preprocessed source, and associated run script.
c++: note: diagnostic msg: Error generating preprocessed source(s).
*** [pcrecpp.lo] Error code 1

Stop in /usr/ports/devel/pcre/work/pcre-8.20.
*** [all] Error code 1

Stop in /usr/ports/devel/pcre/work/pcre-8.20.
*** [do-build] Error code 1

Stop in /usr/ports/devel/pcre.
*** [install] Error code 1

Stop in /usr/ports/devel/pcre.
*** [lib-depends] Error code 1

Stop in /usr/ports/www/lighttpd.
*** [build] Error code 1

>How-To-Repeat:
run make in /usr/ports/www/lightpd/
>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201306142359.r5ENxAes024505>