Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0: (10 Items)
   
hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
HI Everyone,

I am trying to upgrade gcc in QNX 6.6.0 from 4.7.3 to 4.9.3. I downloaded the GCC and Binutils packages from 

http://community.qnx.com/sf/frs/do/viewSummary/projects.toolchain/frs

I deployed the packages by copying files into qnx6.6.0's 'host' and 'target' folders, and setting compiler version 4.9.3
 in C:\qnx660\host\win32\x86\etc\qcc\gcc\default.

Then when I tried to rebuild my application in Qt Creator I got an error as below -

C:\qnx660\host\win32\x86\usr\bin\i486-pc-nto-qnx6.6.0-ld: ../../bin/x86/Release/sxm17_app: hidden symbol `
_Unwind_Resume' in C:/qnx660/host/win32/x86/usr/lib/gcc/i486-pc-nto-qnx6.6.0/4.9.3/libgcc.a(unwind-dw2.o) is referenced 
by DSO
C:\qnx660\host\win32\x86\usr\bin\i486-pc-nto-qnx6.6.0-ld: final link failed: Bad value
cc: C:/qnx660/host/win32/x86/usr/bin/i486-pc-nto-qnx6.6.0-ld caught signal 1
make[1]: *** [../../bin/x86/Release/sxm17_app] Error 1

Any idea what problem it might be and how to fix?

In my experiment I did see that if I replace the new libgcc.a with the old 4.7.3 version then the error goes away. But 
is it a good workaround or unsafe?

Thanks!

Eric
Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
This was fixed recently and is available in the 4.8.3 packages. The 4.9.3 packages have not yet been updated.
Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
Thank you Michael. Yes gcc4.8.3 works for me. 

As I know gcc4.8.3 is not different to gcc4.9.3 regarding c++11 support. Is that correct?

Eric
Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
Ok I find out one difference on c++11 support between GCC 4.9 and 4.8  is <regex>.
Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
The docs outline what library support is available/missing:

https://gcc.gnu.org/onlinedocs/gcc-4.8.5/libstdc++/manual/manual/status.html#status.iso.2011

And there is also a status page for the compiler support:

https://gcc.gnu.org/projects/cxx-status.html#cxx11

I will try to get updated 4.9 packages up soon, but unfortunately I cannot make any promises.
Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
For what it's worth, the 4.8 and 4.9 packages have been updated.
Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
> For what it's worth, the 4.8 and 4.9 packages have been updated.

Updated as in available somewhere for download ?


Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
RE: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
Oh my bad I was looking at the creation date instead of last modified.

Thanks.

-----Message d'origine-----
De : Michael Daniels [mailto:community-noreply@qnx.com] 
Envoyé : 4 juillet 2016 11:39
À : general-toolchain <general-toolchain@community.qnx.com>
Objet : Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0

Yup, updated the packages in the File Releases section:

http://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.gcc.gcc_4_8
http://community.qnx.com/sf/frs/do/viewRelease/projects.toolchain/frs.gcc.gcc_4_9



_______________________________________________

General
http://community.qnx.com/sf/go/post116513
To cancel your subscription to this discussion, please e-mail general-toolchain-unsubscribe@community.qnx.com
Re: hidden symbol `_Unwind_Resume' error with GCC 4.9.3 and QNX SDP 6.6.0  
Hello,

I am working with QNX Momentics on Windows and using QNX SDP 7.0.0 and GCC 5.4.0. I am facing the same problem with the 
new GCC available here. Can you please help me in solving this error ?

Following is the error:

C:\tools\sdp\qnx700\host\win64\x86_64\usr\bin\i586-pc-nto-qnx7.0.0-ld: hcu: hidden symbol `_Unwind_Resume' in C:/tools/
sdp/qnx700/host/win64/x86_64/usr/lib/gcc/i586-pc-nto-qnx7.0.0/5.4.0/pic/libgcc.a(unwind-dw2.o) is referenced by DSO
C:\tools\sdp\qnx700\host\win64\x86_64\usr\bin\i586-pc-nto-qnx7.0.0-ld: final link failed: Bad value
cc: C:/tools/sdp/qnx700/host/win64/x86_64/usr/bin/i586-pc-nto-qnx7.0.0-ld caught signal 1

Thanks,
Raju