Click here to Skip to main content
15,914,323 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: problem deploying application Pin
appollosputnik25-Sep-12 21:28
appollosputnik25-Sep-12 21:28 
GeneralRe: problem deploying application Pin
Richard MacCutchan25-Sep-12 22:00
mveRichard MacCutchan25-Sep-12 22:00 
GeneralRe: problem deploying application Pin
appollosputnik26-Sep-12 21:02
appollosputnik26-Sep-12 21:02 
GeneralRe: problem deploying application Pin
Richard MacCutchan26-Sep-12 21:29
mveRichard MacCutchan26-Sep-12 21:29 
Questionexceptions always SIGABRT in linux shared object Pin
MichaelRoop25-Sep-12 1:28
MichaelRoop25-Sep-12 1:28 
AnswerRe: exceptions always SIGABRT in linux shared object Pin
Richard MacCutchan25-Sep-12 6:04
mveRichard MacCutchan25-Sep-12 6:04 
GeneralRe: exceptions always SIGABRT in linux shared object Pin
MichaelRoop25-Sep-12 11:02
MichaelRoop25-Sep-12 11:02 
GeneralRe: exceptions always SIGABRT in linux shared object Pin
MichaelRoop25-Sep-12 13:45
MichaelRoop25-Sep-12 13:45 
I found a solution to the SIGABRT problem. As I suspected it was a problem with the makefile. In particular, I changed

this:
ld -shared -soname $@ -o $@ $(OBJS)

to this:
$(CC) -shared -W1,-soname,$@ -o $@ $(OBJS)

It now behaves in the same way as in Windows. As long as I catch the exception properly it will never SIGABRT.

Seeing that I am not a linux guru, I would appreciate if someone out there has an explanation why a shared object linked with ld will not allow exceptions while one linked with gcc will.

It may also help anyone else having a similar problem. I looked far and wide and could find no documentation on this.
QuestionCppunit in Visual studio 2010 Pin
Rahul from Poona24-Sep-12 4:44
Rahul from Poona24-Sep-12 4:44 
AnswerRe: Cppunit in Visual studio 2010 Pin
Chris Meech24-Sep-12 5:56
Chris Meech24-Sep-12 5:56 
AnswerRe: Cppunit in Visual studio 2010 Pin
Albert Holguin24-Sep-12 6:43
professionalAlbert Holguin24-Sep-12 6:43 
AnswerRe: Cppunit in Visual studio 2010 Pin
jschell24-Sep-12 12:39
jschell24-Sep-12 12:39 
QuestionLate Binding Concept Pin
AmbiguousName23-Sep-12 20:30
AmbiguousName23-Sep-12 20:30 
AnswerRe: Late Binding Concept Pin
CPallini23-Sep-12 22:27
mveCPallini23-Sep-12 22:27 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan23-Sep-12 23:05
mveRichard MacCutchan23-Sep-12 23:05 
QuestionRe: Late Binding Concept Pin
CPallini23-Sep-12 23:58
mveCPallini23-Sep-12 23:58 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan24-Sep-12 0:11
mveRichard MacCutchan24-Sep-12 0:11 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan23-Sep-12 23:09
mveRichard MacCutchan23-Sep-12 23:09 
AnswerRe: Late Binding Concept PinPopular
pasztorpisti24-Sep-12 1:09
pasztorpisti24-Sep-12 1:09 
GeneralRe: Late Binding Concept Pin
CPallini24-Sep-12 1:41
mveCPallini24-Sep-12 1:41 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 1:46
pasztorpisti24-Sep-12 1:46 
GeneralRe: Late Binding Concept Pin
Chris Meech24-Sep-12 2:19
Chris Meech24-Sep-12 2:19 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 2:37
pasztorpisti24-Sep-12 2:37 
AnswerRe: Late Binding Concept Pin
Chuck O'Toole24-Sep-12 5:16
Chuck O'Toole24-Sep-12 5:16 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 6:00
pasztorpisti24-Sep-12 6:00 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.