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/
Does this look similar?: http://www.freebsd.org/cgi/query-pr.cgi?pr=178495 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
On 6/14/13 5:25 PM, hiren panchasara wrote: > Does this look similar?:http://www.freebsd.org/cgi/query-pr.cgi?pr=178495 > > 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 No, looks like the issue remains on today's revision of HEAD. On top of that looks like the kernel for raspberry pi is broken. It now hangs at Kernel args: (null). I used an older version of kernel and I get the same error when compiling pcre port. -S
Responsible Changed From-To: freebsd-arm->mm make this a ports PR and assign.
Hello Sreekanth, This seems to no longer be an issue on -HEAD. Could you please confirm = if this issue was fixed for you ? If this is the case can we close this = PR ? Regards, Luiz=
This appears to now be working on my cluster buildsystem via qemu.