I'll check them in, but I may wait on some of them until I've transitioned analyzeFuncs_vfp.S and analyzeFuncs_neon.S into proper C++ code. Those files (written for the soft ABI only) are the cause of many of the problems.
On Tue, Mar 25, 2014 at 1:53 AM, Gianfranco Costamagna < [email protected]> wrote: > ok here you have the patch. > fix-ftbfs.patch is the patch that makes it build on arm and amd64 archs. > should be good, but it requires at least some autoconf tweaks for > detecting the bsd lib (for strlcpy), rather than manually linking it. > > another issue I'm spotting is on armel, as you can see in the changelog > the mfloat-abi is not correctly detected anymore (at least on my virtual > environment, but I remember it was correctly detected before) > [FP_ABI_FLAGS="-mfloat-abi=$withval"],[ > if test "x$FP_ABI_FLAGS" = "x" && test "x`echo ${CFLAGS} ${CPPFLAGS} > ${CXXFLAGS} | grep mfloat-ab`" = "x" ; then > > the armhf workaround is still needed for making it build correctly. > > thanks, > > Gianfranco > > > Il Martedì 25 Marzo 2014 8:34, Gianfranco Costamagna < > [email protected]> ha scritto: > > Hi Eric, > yes the commit is good! thanks. > Unfortunately yesterday after fixing this I found many other problems, and > I'm preparing a patch. > issues left (IIRC): > -use of strlcpy without including string.h and linking against bsd lib > -use of that stack_push and stack pop without the surrounding ifdef (not > everywhere, just 4 or 5 places in vector directory) > -jackyman fixes > something that I don't remember but I'll give you a patch in the next few > hours fixing all of them (will likely need some more tuning) > Thanks! > Gianfranco > Sent from Yahoo Mail on > Android<https://uk.overview.mail.yahoo.com/mobile/?.src=Android> > > ------------------------------ > * From: * Eric J Korpela <[email protected]>; > * To: * Gianfranco Costamagna <[email protected]>; > * Cc: * [email protected] <[email protected]>; > * Subject: * Re: seti@home doesn't build anymore on debian > * Sent: * Mon, Mar 24, 2014 9:41:17 PM > > Commit 2182 should fix it. > > Next come the fixes you suggested. > > > On Mon, Mar 24, 2014 at 2:24 PM, Eric J Korpela > <[email protected]>wrote: > > To me is as good a place as any. I see my most recent checkin undid a > prior checkin. > > > On Mon, Mar 24, 2014 at 2:22 AM, Gianfranco Costamagna < > [email protected]> wrote: > > Hi, where should I report seti@home build failures? > > I tried to build the latest svn head on debian, and I got this build > failure > > thanks, > > G. > > In file included from <command-line>:0:0: > ./../sah_config.h:602:0: note: this is the location of the previous > definition > #define VERSION "7.28" > ^ > In file included from ../../db/sqlrow.h:28:0, > from ../../db/db_table.h:27, > from ../../client/seti_header.h:43, > from ../../client/seti.h:43, > from ../../client/analyzeFuncs.h:31, > from ../../client/main.cpp:75: > ./../db/xml_util.h: In function 'std::string base64_encode(const T*, > size_t)': > ../../db/xml_util.h:278:65: warning: array subscript has type 'char' > [-Wchar-subscripts] > for (i=0;i<((nleft>3)?4:(nleft+1));i++) c[i]=encode_arr[c[i]]; > ^ > ../../db/xml_util.h: In function 'std::string base85_encode(const T*, > size_t)': > ../../db/xml_util.h:373:47: warning: array subscript has type 'char' > [-Wchar-subscripts] > for (i=0;i<5;i++) c[i]=encode_arr85[c[i]]; > ^ > ../../client/main.cpp: In function 'int main(int, char**)': > ../../client/main.cpp:202:8: warning: variable 'standalone' set but not > used [-Wunused-but-set-variable] > bool standalone = false; > ^ > if g++ -DHAVE_CONFIG_H -I. -I../../client -I.. -msse3 -mfpmath=sse -g > -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat > -Werror=format-security -I/usr/include/boinc -I/usr/include/boinc/lib > -I/usr/include/boinc/api -O3 -I/usr/include -I/usr/include/openssl -fPIC > -DPIC -DHAVE_CONFIG_H \ > -D_FORTIFY_SOURCE=2 -g -O2 -fPIE -fstack-protector > --param=ssp-buffer-size=4 -Wformat -Werror=format-security > -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api -O3 > -msse3 -mfpmath=sse -g -O2 -fPIE -fstack-protector > --param=ssp-buffer-size=4 -Wformat -Werror=format-security > -I/usr/include/boinc -I/usr/include/boinc/lib -I/usr/include/boinc/api -O3 > -I/usr/include -I/usr/include/openssl -DHAVE_CONFIG_H -DTEXT_UI -DNDEBUG > -DCLIENT -I../../db -I/usr/include/boinc -I/usr/include/boinc/api > -I/usr/include/boinc/lib -I/usr/include/boinc/sched -I/usr/include/boinc/db > -pthread -msse2 -mfpmath=sse -DUSE_SSE -DUSE_SSE2 -g -O2 -fPIE > -fstack-protector --param=ssp-buffer-size=4 -Wformat > -Werror=format-security -I/usr/include/boinc -I/usr/include/boinc/lib > -I/usr/include/boinc/api -O3 -I/usr/include -I/usr/include/openssl > -DUSE_SSE3 -DUSE_3DNOW \ > -MT seti_boinc-analyzeFuncs_vector.o -MD -MP -MF > ".deps/seti_boinc-analyzeFuncs_vector.Tpo" \ > -c -o seti_boinc-analyzeFuncs_vector.o > ../../client/vector/analyzeFuncs_vector.cpp; then mv -f > ".deps/seti_boinc-analyzeFuncs_vector.Tpo" > ".deps/seti_boinc-analyzeFuncs_vector.Po"; \ > else rm -f ".deps/seti_boinc-analyzeFuncs_vector.Tpo"; exit 1; fi > In file included from ../../client/seti.h:43:0, > from ../../client/analyzeFuncs.h:31, > from ../../client/vector/analyzeFuncs_vector.cpp:73: > ../../client/seti_header.h:43:25: fatal error: db/db_table.h: No such file > or directory > #include "db/db_table.h" > ^ > compilation terminated. > > Gianfranco > > > > > > _______________________________________________ boinc_dev mailing list [email protected] http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev To unsubscribe, visit the above URL and (near bottom of page) enter your email address.
