Click here to Skip to main content
12,759,698 members (34,090 online)

C / C++ / MFC

 
GeneralRe: problem deploying application Pin
sujandasmahapatra25-Sep-12 22:28
membersujandasmahapatra25-Sep-12 22:28 
GeneralRe: problem deploying application Pin
Richard MacCutchan25-Sep-12 23:00
mvpRichard MacCutchan25-Sep-12 23:00 
GeneralRe: problem deploying application Pin
sujandasmahapatra26-Sep-12 22:02
membersujandasmahapatra26-Sep-12 22:02 
GeneralRe: problem deploying application Pin
Richard MacCutchan26-Sep-12 22:29
mvpRichard MacCutchan26-Sep-12 22:29 
Questionexceptions always SIGABRT in linux shared object Pin
MichaelRoop25-Sep-12 2:28
memberMichaelRoop25-Sep-12 2:28 
AnswerRe: exceptions always SIGABRT in linux shared object Pin
Richard MacCutchan25-Sep-12 7:04
mvpRichard MacCutchan25-Sep-12 7:04 
GeneralRe: exceptions always SIGABRT in linux shared object Pin
MichaelRoop25-Sep-12 12:02
memberMichaelRoop25-Sep-12 12:02 
GeneralRe: exceptions always SIGABRT in linux shared object Pin
MichaelRoop25-Sep-12 14:45
memberMichaelRoop25-Sep-12 14: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 5:44
memberRahul from Poona24-Sep-12 5:44 
AnswerRe: Cppunit in Visual studio 2010 Pin
Chris Meech24-Sep-12 6:56
memberChris Meech24-Sep-12 6:56 
AnswerRe: Cppunit in Visual studio 2010 Pin
Albert Holguin24-Sep-12 7:43
memberAlbert Holguin24-Sep-12 7:43 
AnswerRe: Cppunit in Visual studio 2010 Pin
jschell24-Sep-12 13:39
memberjschell24-Sep-12 13:39 
QuestionLate Binding Concept Pin
AmbiguousName23-Sep-12 21:30
memberAmbiguousName23-Sep-12 21:30 
AnswerRe: Late Binding Concept Pin
CPallini23-Sep-12 23:27
mvpCPallini23-Sep-12 23:27 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan24-Sep-12 0:05
mvpRichard MacCutchan24-Sep-12 0:05 
QuestionRe: Late Binding Concept Pin
CPallini24-Sep-12 0:58
mvpCPallini24-Sep-12 0:58 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan24-Sep-12 1:11
mvpRichard MacCutchan24-Sep-12 1:11 
AnswerRe: Late Binding Concept Pin
Richard MacCutchan24-Sep-12 0:09
mvpRichard MacCutchan24-Sep-12 0:09 
AnswerRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 2:09
memberpasztorpisti24-Sep-12 2:09 
GeneralRe: Late Binding Concept Pin
CPallini24-Sep-12 2:41
mvpCPallini24-Sep-12 2:41 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 2:46
memberpasztorpisti24-Sep-12 2:46 
GeneralRe: Late Binding Concept Pin
Chris Meech24-Sep-12 3:19
memberChris Meech24-Sep-12 3:19 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 3:37
memberpasztorpisti24-Sep-12 3:37 
AnswerRe: Late Binding Concept Pin
Chuck O'Toole24-Sep-12 6:16
memberChuck O'Toole24-Sep-12 6:16 
GeneralRe: Late Binding Concept Pin
pasztorpisti24-Sep-12 7:00
memberpasztorpisti24-Sep-12 7: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.


Advertise | Privacy | Mobile
Web02 | 2.8.170217.1 | Last Updated 21 Feb 2017
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid