On Tuesday, March 18, 2014 2:19:05 PM UTC-4, kcrisman wrote:
>
>
>>> it might be trickier: basically the system does have sys_errlist, 
>>> but HAVE_SYS_ERRLIST gets set to undefined by ./configure. 
>>> Try adding -DHAVE_SYS_ERRLIST to CFLAGS in spkg-install, and 
>>> see if this fixes the problem. 
>>>
>>>
>>>
>> Man, where do you come up with this stuff?  Amazing - yes, that indeed 
>> allows GAP to make it past that file.  
>>
>> So...  I just hacked it in the configure part of the spkg-install for 
>> GAP.  But maybe there's a better place?
>>
>>
> http://trac.sagemath.org/ticket/15973
>
>  
>
>> Also, it still fails, with
>>
>> gcc -g -Wl,-no_pie  -o gap ariths.o ...... weakptr.o -lm 
>> /Users/.../sage-6.2.beta4/local/lib/libgmp.a
>> /usr/bin/ld: unknown flag: -no_pie
>> collect2: error: ld returned 1 exist status
>>
>> I'm searching for stuff about this, maybe this pos. ind. exec. was added 
>> more recently?  But you'd think gcc  4.7.3 would support new things.
>>
>
>  https://trac.macports.org/ticket/34222 is the most relevant thing I've 
> found so far, not .  How do I remove that flag from the linker options in 
> spkg-install (since there is no LDFLAGS)?  Or I guess I can just add 
> LDFLAGS, hmm...
>

Never mind, that is what -Wl,-no_pie means is that somehow GAP is already 
doing that.  See http://trac.macports.org/ticket/34064 for an example - 
it's only supported on Snow Leopard or Lion and higher. Dima, if you have 
any ideas on where to get rid of that please add them to the ticket, thanks!

-- 
You received this message because you are subscribed to the Google Groups 
"sage-release" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-release.
For more options, visit https://groups.google.com/d/optout.

Reply via email to