Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Singular link problems on OS X PPC with GCC 4.7.2 #14415

Closed
jdemeyer opened this issue Apr 5, 2013 · 10 comments
Closed

Singular link problems on OS X PPC with GCC 4.7.2 #14415

jdemeyer opened this issue Apr 5, 2013 · 10 comments

Comments

@jdemeyer
Copy link

jdemeyer commented Apr 5, 2013

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: attachment: osx_link.patch)

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

Upstream: Fixed upstream, but not in a stable release.

CC: @jpflori

Component: packages: standard

Author: Jeroen Demeyer

Reviewer: Hans Schoenemann

Merged: sage-5.9.beta4

Issue created by migration from https://trac.sagemath.org/ticket/14415

@jdemeyer jdemeyer added this to the sage-5.9 milestone Apr 5, 2013
@jdemeyer jdemeyer self-assigned this Apr 5, 2013
@jdemeyer

This comment has been minimized.

@jdemeyer

This comment has been minimized.

@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link
Author

jdemeyer commented Apr 5, 2013

Changed upstream from Not yet reported upstream; Will do shortly. to Reported upstream. No feedback yet.

@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link
Author

jdemeyer commented Apr 5, 2013

comment:4

Attachment: osx_link.patch.gz

@jdemeyer
Copy link
Author

jdemeyer commented Apr 5, 2013

Changed upstream from Reported upstream. No feedback yet. to Fixed upstream, but not in a stable release.

@jdemeyer
Copy link
Author

jdemeyer commented Apr 6, 2013

Merged: sage-5.9.beta4

@jdemeyer
Copy link
Author

jdemeyer commented Apr 6, 2013

comment:7

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

@jdemeyer
Copy link
Author

jdemeyer commented Apr 6, 2013

Reviewer: Hans Schoenemann

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant