Ticket #680 (closed defect: fixed)

Opened 3 years ago

Last modified 3 years ago

[with patch] Solaris 9: fix partition import problem

Reported by: mabshoff Owned by: mabshoff
Priority: major Milestone: sage-2.8.5
Component: packages Keywords:
Cc: Author(s):
Report Upstream: Reviewer(s):
Merged in: Work issues:

Description

As a workaround on Solaris 9 we define:

#if defined(__sun)
extern long double fabsl (long double);
extern long double sinl (long double);
extern long double cosl (long double);
extern long double sqrtl (long double);
extern long double coshl (long double);
extern long double sinhl (long double);
#endif

Problem is that this file is C++, so those externs need to be defined as extern "C". Otherwise the linker mangles the function names and consequently Sage doesn't start complaining about missing symbols.

Cheers,

Michael

Change History

Changed 3 years ago by mabshoff

  • status changed from new to assigned

Changed 3 years ago by mabshoff

  • summary changed from Solaris 9: fix partition import problem to [with patch] Solaris 9: fix partition import problem

Changed 3 years ago by was

  • status changed from assigned to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.