FiveHGC.lib - Undefined reference ot _Unwind_Resume

FiveHGC.lib - Undefined reference ot _Unwind_Resume

Postby MarioCdeS » Tue Aug 30, 2016 7:12 am

Hi, all.

When linking my application, I get the following error:

/fwh.2012.04/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.text+0xe08): undefined reference to `_Unwind_Resume'
/fwh.2012.04/lib/fivehgc.lib(ACTX.o):ACTX.CPP:(.eh_frame+0x2b7): undefined reference to `__gxx_personality_v0'

I recently upgraded to the nightly build of Harbour (3.2.0dev r1608101712), which resulted in this error. I am linking FWH 2012-04 build. Is there a lib binary for the latest Harbour/MinGW? Should I upgrade to latest FWH?

Thanks
MarioCdeS
 
Posts: 1
Joined: Mon Aug 29, 2016 1:57 pm

Re: FiveHGC.lib - Undefined reference ot _Unwind_Resume

Postby karinha » Tue Aug 30, 2016 12:59 pm

João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
 
Posts: 7343
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

Re: FiveHGC.lib - Undefined reference ot _Unwind_Resume

Postby concentra » Fri Jun 09, 2017 5:57 pm

After updating Harbour with the nightly build and a day of walking in circles without getting anywhere seeking the solution to this problem, I finally figure out that MinGW GCC have 3 different "Exception handling" systems: SJLJ, DWARF, and SEH.
Harbour nightly build was using SJLJ version:
Code: Select all  Expand view
gcc --version
gcc (i686-posix-sjlj-rev0, Built by MinGW-W64 project) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.

and DWARF one was needed.
In my case I looked for the very same version:
https://sourceforge.net/projects/mingw-w64/files/Toolchains%20targetting%20Win32/Personal%20Builds/mingw-builds/5.3.0/threads-posix/dwarf/

Code: Select all  Expand view
gcc --version
gcc (i686-posix-dwarf-rev0, Built by MinGW-W64 project) 5.3.0
Copyright (C) 2015 Free Software Foundation, Inc.


[[]] Maurício Faria
User avatar
concentra
 
Posts: 110
Joined: Mon Nov 14, 2005 10:15 am
Location: Brazil


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 31 guests