arm/179561: Compilation issue for lighttpd on raspberry pi

hiren panchasara hiren at FreeBSD.org
Sat Jun 15 00:30:01 UTC 2013


The following reply was made to PR arm/179561; it has been noted by GNATS.

From: hiren panchasara <hiren at FreeBSD.org>
To: Sreekanth <rskanth at yahoo.com>
Cc: freebsd-gnats-submit at freebsd.org
Subject: Re: arm/179561: Compilation issue for lighttpd on raspberry pi
Date: Fri, 14 Jun 2013 17:25:46 -0700

 On Fri, Jun 14, 2013 at 4:59 PM, Sreekanth <rskanth at yahoo.com> wrote:
 >
 >>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 Ju=
 n  9 16:38:46 PDT 2013     root at voila1.voilavip.com:/b/raspberry/crochet-fr=
 eebsd/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 erro=
 r while doing so.
 >
 > =3D=3D=3D>  Building for pcre-8.20
 > make  all-am
 > /bin/sh ./libtool --tag=3DCXX    --mode=3Dcompile c++ -DHAVE_CONFIG_H -I.=
       -O -pipe -MT pcrecpp.lo -MD -MP -MF .deps/pcrecpp.Tpo -c -o pcrecpp.l=
 o pcrecpp.cc
 > libtool: compile:  c++ -DHAVE_CONFIG_H -I. -O -pipe -MT pcrecpp.lo -MD -M=
 P -MF .deps/pcrecpp.Tpo -c pcrecpp.cc  -fPIC -DPIC -o .libs/pcrecpp.o
 > Assertion failed: ((PtrVal & ((1 << PtrTraits::NumLowBitsAvailable)-1)) =
 =3D=3D 0 && "Pointer is not sufficiently aligned"), function initWithPointe=
 r, file /b/raspberry/head/lib/clang/libclangsema/../../../contrib/llvm/incl=
 ude/llvm/ADT/PointerIntPair.h, line 100.
 > Stack dump:
 > 0.      Program arguments: /usr/bin/c++ -cc1 -triple armv6-unknown-freebs=
 d10.0 -S -disable-free -main-file-name pcrecpp.cc -mrelocation-model pic -p=
 ic-level 2 -mdisable-fp-elim -mconstructor-aliases -target-abi apcs-gnu -ta=
 rget-cpu arm1136jf-s -msoft-float -mfloat-abi soft -target-feature +soft-fl=
 oat -target-feature +soft-float-abi -target-feature -neon -coverage-file /t=
 mp/pcrecpp-kHaeg4.s -resource-dir /usr/bin/../lib/clang/3.3 -dependency-fil=
 e .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-compilati=
 on-dir /usr/ports/devel/pcre/work/pcre-8.20 -ferror-limit 19 -fmessage-leng=
 th 181 -mstackrealign -fno-signed-char -fobjc-runtime=3Dgnustep -fobjc-defa=
 ult-synthesize-properties -fcxx-exceptions -fexceptions -fsjlj-exceptions -=
 fdiagnostics-show-option -fcolor-diagnostics -backend-option -vectorize-loo=
 ps -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=3D/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 in=
 vocation)
 > 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
 
 Does this look similar?: http://www.freebsd.org/cgi/query-pr.cgi?pr=3D17849=
 5
 
 FWIW, Clang got updated to release 3.3 a couple days back on HEAD. Not
 sure if this is fixed in that version.
 
 cheers,
 Hiren
 
 >
 > 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:
 > _______________________________________________
 > freebsd-arm at freebsd.org mailing list
 > http://lists.freebsd.org/mailman/listinfo/freebsd-arm
 > To unsubscribe, send any mail to "freebsd-arm-unsubscribe at freebsd.org"


More information about the freebsd-arm mailing list