Ticket #1252 (closed defect: fixed)

Opened 2 years ago

Last modified 2 years ago

2.8.13: cddlib fails to build with gmp in /usr/local/ [OSX 10.4]

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

Description (last modified by mabshoff) (diff)

A remark: this ticket is now about cddlib miscompiling if there is a "rogue" gmp in /usr/local. The 10.5.1 issue is larger than gmp and now #1253.

Michael

Justin Walker reported:

I did a full build of 2.8.13 on two systems:

Mac OS X/10.4.11: Dual Quad-Core Xeon
Mac OS X/10.5.1:  Core Duo

Problems on both:
10.5.1: blow-up in Flint
   ld: duplicate symbol ___gmpz_abs in test-support.o and fmpz_poly-
test.o

10.4.11: blow-up in cddlib ("/usr/local" contamination)
   /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
   ___gmpq_init
   ...

FWIW, I used "-j6" on the 10.4 system and "-j2" on the 10.5 system.  
Rerunning the builds without the "j factor" gave me the (more or  
less) the same result on 10.4 and 10.5.

The full logs (of the "-j" builds) are in ~justin/logs on  
sage.math.washington.edu (tagged with 10.x).

Justin 

See  http://groups.google.com/group/sage-devel/t/8e446357a1d15a8a

Cheers,

Michael

Change History

Changed 2 years ago by mabshoff

A potential solution for the 10.4.11 issue can be found at

 http://sage.math.washington.edu/home/mabshoff/cddlib-094b.p0.spkg

Feedback welcome.

Cheers,

Michael

Changed 2 years ago by mabshoff

  • status changed from new to assigned
  • summary changed from 2.8.13: gmp related build problems on OSX 10.4.11, 10.5.1 to 2.8.13: cddlib fails to build with gmp in /usr/local/ [OSX 10.4]
  • description modified (diff)
  • milestone changed from sage-2.8.15 to sage-2.8.14

Changed 2 years ago by mabshoff

  • status changed from assigned to closed
  • resolution set to fixed

Merged in 2.8.14.rc2. Justin Walker did report that it fixed the issue for him.

Note: See TracTickets for help on using tickets.