#11278: singular 3-1-1-4.p8 fails on Mac OS X
------------------------+---------------------------------------------------
   Reporter:  jdemeyer  |          Owner:  tbd     
       Type:  defect    |         Status:  new     
   Priority:  blocker   |      Milestone:  sage-4.7
  Component:  packages  |       Keywords:          
Work_issues:            |       Upstream:  N/A     
   Reviewer:            |         Author:          
     Merged:            |   Dependencies:          
------------------------+---------------------------------------------------
Description changed by jdemeyer:

Old description:

> On my Mac OS X 10.4 PPC 32-bit system, singular (#11084) fails to compile
> with -O2 while it ''does'' work with -O3.  I have narrowed it down to the
> option `-finline-functions` which must be enabled for the build to work
> on this system.

New description:

 On my Mac OS X 10.4 PPC 32-bit system, singular (#11084) fails to compile
 with -O2 while it ''does'' work with -O3.  This is the relevant part from
 the log file:
 {{{
 g++ -O3 -g -fPIC -pipe -fno-implicit-templates -I. -I../kernel
 -I/Users/jdemeyer/sage-4.7.rc0/local/include
 -I/Users/jdemeyer/sage-4.7.rc0/local/include
 -I/Users/jdemeyer/sage-4.7.rc0/local/include  -DNDEBUG -DOM_NDEBUG
 -DppcMac_darwin -DHAVE_CONFIG_H -c mpsr_Tok.cc
 libtool -dynamic -twolevel_namespace -weak_reference_mismatches weak
 -undefined dynamic_lookup -single_module -o libsingular.dylib \
 libsingular-tesths.o iparith.o mpsr_Tok.o claptmpl.o \
 grammar.o scanner.o attrib.o eigenval_ip.o extra.o fehelp.o feOpt.o
 ipassign.o ipconv.o ipid.o iplib.o ipprint.o ipshell.o lists.o sdb.o
 fglm.o interpolation.o silink.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 Minor.o MinorProcessor.o MinorInterface.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/jdemeyer/sage-4.7.rc0/local/lib
 -lsingfac -lsingcf -lntl -lreadline -lgmp -lomalloc
 ld: for architecture ppc
 ld: ../kernel/libkernel.a(matpol.o) has external relocation entries in
 non-writable section (__TEXT,__text) for symbols:
 restFP
 saveFP
 libtool: internal link edit command failed
 make[3]: *** [libsingular] Error 1
 make[2]: *** [libsingular] Error 2
 Unable to build Singular.
 }}}

--

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11278#comment:1>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/sage-trac?hl=en.

Reply via email to