Ticket #12457 (closed defect: wontfix)

Opened 16 months ago

Last modified 16 months ago

Problems with C++ exception handling on OS X with custom GCC

Reported by: jdemeyer Owned by: drkirkby
Priority: major Milestone: sage-duplicate/invalid/wontfix
Component: porting Keywords:
Cc: Work issues:
Report Upstream: N/A Reviewers: Jeroen Demeyer
Authors: Merged in:
Dependencies: Stopgaps:

Description (last modified by jdemeyer) (diff)

The problem is that a custom built GCC (#12369) links different standard libraries than Apple's GCC. In particular, it seems that "-lgcc_s" and "-lgcc_eh" are never linked in by Apple. We should change our linker flags to do the same.

This seems to affect only the Sage library. The problem is not limited to OS X 10.7, it happens also on 10.6.

Attachments

12457_darwin_link.patch Download (732 bytes) - added by jdemeyer 16 months ago.

Change History

comment:1 Changed 16 months ago by jdemeyer

  • Description modified (diff)
  • Authors set to Jeroen Demeyer

Changed 16 months ago by jdemeyer

comment:2 Changed 16 months ago by jdemeyer

  • Description modified (diff)
  • Summary changed from Problems with exception handling on OS X with custom GCC to Problems with C++ exception handling on OS X with custom GCC

comment:3 Changed 16 months ago by jdemeyer

  • Status changed from new to closed
  • Reviewers set to Jeroen Demeyer
  • Milestone changed from sage-5.0 to sage-duplicate/invalid/wontfix
  • Resolution set to wontfix
  • Authors Jeroen Demeyer deleted

Closing this as wontfix, since gcc-4.6.2 does not have this problem.

Note: See TracTickets for help on using tickets.