Re: -Bsymbolic breaks PMF comparison under ARM

2014-03-17 Thread Giuseppe D'Angelo
bolic from anything but x86/x86-64 to work around it for the time being, as we started getting reports of the same issue for PPC as well. Thanks, -- Join us Oct 6-8 at BCC Berlin for Qt Developer Days 2014! Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Software Engineer KDAB (UK) Ltd

Re: -Bsymbolic breaks PMF comparison under ARM

2014-01-16 Thread Giuseppe D'Angelo
erything "just works" even on ARM; that's why we encountered the issue only these days...). Thanks, -- Giuseppe D'Angelo | giuseppe.dang...@kdab.com | Software Engineer KDAB (UK) Ltd., a KDAB Group company Tel. UK +44-1738-450410, Sweden (HQ) +46-563-540090 KDAB - Qt Experts -

Re: -Bsymbolic breaks PMF comparison under ARM

2014-01-16 Thread Giuseppe D'Angelo
idering turning -Bsymbolic off on all architectures but x86/x86-64 (to avoid this issue) [1], but we could keep ARM and disable -Bsymbolic only on "older" binutils (if your patch gets merged). [1] https://bugreports.qt-project.org/browse/QTBUG-36129 Thanks, -- Giuseppe D'Angelo | giusep

Re: -Bsymbolic breaks PMF comparison under ARM

2014-01-10 Thread Giuseppe D'Angelo
n the meanwhile, I've found that if I add "-pie" (together with -fPIE) when building the final executable, the testcase works. Again, I don't quite know what's changing. But that might be a workaround (instead of dropping -Bsymbolic or start using --dynamic-list).

-Bsymbolic breaks PMF comparison under ARM

2014-01-10 Thread Giuseppe D'Angelo
shared -Wall -o libshared.so -Wl,-Bsymbolic shared.cpp > g++ -fPIE -Wall -o main main.cpp -L. -lshared (The long story is that Qt 5 is taking PMFs in its public API, and the comparison failing inside of Qt shared libraries is breaking code on ARM, as -Bsymbolic is set by default there.) Thanks, --