Opened 8 years ago

Closed 8 years ago

#14415 closed defect (fixed)

Singular link problems on OS X PPC with GCC 4.7.2

Reported by: jdemeyer Owned by: jdemeyer
Priority: blocker Milestone: sage-5.9
Component: packages: standard Keywords:
Cc: jpflori Merged in: sage-5.9.beta4
Authors: Jeroen Demeyer Reviewers: Hans Schoenemann
Report Upstream: Fixed upstream, but not in a stable release. Work issues:
Branch: Commit:
Dependencies: Stopgaps:

Status badges

Description (last modified by jdemeyer)

When building singular on OS X 10.4 PPC using GCC 4.7.2 (#14378), there is a linker problem:

libtool -dynamic -twolevel_namespace -weak_reference_mismatches weak -undefined dynamic_lookup -single_module -o libsingular.dylib \
iparith.o mpsr_Tok.o claptmpl.o \
grammar.o scanner.o attrib.o blackbox.o eigenval_ip.o extra.o fehelp.o feOpt.o ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o newstruct.o lists.o sdb.o fglm.o interpolation.o silink.o ssiLink.o s_buff.o subexpr.o janet.o wrapper.o libparse.o sing_win.o gms.o pcv.o maps_ip.o walk.o walk_ip.o cntrlc.o misc_ip.o calcSVD.o pipeLink.o Minor.o MinorProcessor.o MinorInterface.o bigintm.o pyobject_setup.o denom_list.o minpoly.o semaphore.o slInit_Static.o mpsr_Put.o mpsr_PutPoly.o mpsr_GetPoly.o mpsr_sl.o mpsr_Get.o mpsr_GetMisc.o mpsr_Error.o  ndbm.o sing_dbm.o -lkernel -L../kernel -L../factory -L../libfac -L/Users/buildbot/build/sage/moufang-1/moufang_binary/build/sage-5.9.beta4/local/lib -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc
/usr/bin/ld: for architecture ppc
/usr/bin/ld: iparith.o has external relocation entries in non-writable section (__TEXT,__text) for symbols:
restGPRx
saveGPR
libtool: internal link edit command failed

This can be fixed by using $(CXX) to link instead of $(LD).

spkg: http://boxen.math.washington.edu/home/jdemeyer/spkg/singular-3-1-5.p6.spkg (patch added: osx_link.patch)

upstream: http://www.singular.uni-kl.de:8002/trac/ticket/481

Attachments (1)

osx_link.patch (432 bytes) - added by jdemeyer 8 years ago.

Download all attachments as: .zip

Change History (8)

comment:1 Changed 8 years ago by jdemeyer

  • Description modified (diff)

comment:2 Changed 8 years ago by jdemeyer

  • Description modified (diff)

comment:3 Changed 8 years ago by jdemeyer

  • Description modified (diff)
  • Status changed from new to needs_review

Changed 8 years ago by jdemeyer

comment:4 Changed 8 years ago by jdemeyer

  • Description modified (diff)
  • Report Upstream changed from Not yet reported upstream; Will do shortly. to Reported upstream. No feedback yet.

comment:5 Changed 8 years ago by jdemeyer

  • Cc jpflori added
  • Report Upstream changed from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release.

comment:6 Changed 8 years ago by jdemeyer

  • Priority changed from major to blocker

comment:7 Changed 8 years ago by jdemeyer

  • Merged in set to sage-5.9.beta4
  • Resolution set to fixed
  • Reviewers set to Hans Schoenemann
  • Status changed from needs_review to closed

The fact that upstream accepted my patch, I guess that counts as positive review :-)

Note: See TracTickets for help on using tickets.