Hi Alyssa

make[2]: Entering directory 
`/build/buildd/boinc-7.2.0~nightly1~~git20130620+r19549/samples/sleeper'
g++
 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -Wall  -g -I../.. -I../../lib 
-I../../api -L../../api -L../../lib -L. -D_FORTIFY_SOURCE=2  -c -o 
sleeper.o sleeper.cpp
In file included from ../../lib/miofile.h:27:0,
 from ../../lib/hostinfo.h:31, from ../../lib/app_ipc.h:27, from 
../../api/boinc_api.h:26, from sleeper.cpp:23:
../../lib/mfile.h:43:9: note: the mangling of 'va_list' has changed in GCC 4.4
ln -s `g++ -print-file-name=libstdc++.a`
g++
 -g -O2 -fPIE -fstack-protector --param=ssp-buffer-size=4 -Wformat 
-Wformat-security -Werror=format-security -Wall  -g -I../.. -I../../lib 
-I../../api -L../../api -L../../lib -L. -D_FORTIFY_SOURCE=2 
-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now 
-Wl,--no-add-needed -o sleeper sleeper.o libstdc++.a -pthread 
-lboinc_api -lboinc
/usr/bin/ld: ./libstdc++.a(functexcept.o): 
relocation R_ARM_THM_MOVW_ABS_NC against `typeinfo for 
std::bad_exception' can not be used when making a shared object; 
recompile with -fPIC
./libstdc++.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[2]: *** [sleeper] Error 1
make[2]: Leaving directory 
`/build/buildd/boinc-7.2.0~nightly1~~git20130620+r19549/samples/sleeper'
make[1]: *** [override_dh_auto_build] Error 2
make[1]: Leaving directory 
`/build/buildd/boinc-7.2.0~nightly1~~git20130620+r19549'
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2


bests 


Gianfranco



----- Messaggio originale -----
> Da: Alyssa Milburn <[email protected]>
> A: Gianfranco Costamagna <[email protected]>
> Cc: Bernd Machenschalk <[email protected]>; 
> "[email protected]" <[email protected]>
> Inviato: Lunedì 8 Luglio 2013 11:23
> Oggetto: Re: [boinc_dev] boinc libstdc++ linking
> 
> On Mon, Jul 08, 2013 at 10:10:47AM +0100, Gianfranco Costamagna wrote:
>>  So are you saying that we have to keep a code that fixed a 5 years ago 
> problem?
>>  http://boinc.berkeley.edu/trac/ticket/725
> 
> That isn't the cause of your problem, right? That change just added a 
> symlink
> for libstdc++a, it didn't change the actual link step?
> 
> - Alyssa
> 
_______________________________________________
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.

Reply via email to