On Friday, March 1, 2013 12:31:43 AM UTC+1, Jean-Pierre Flori wrote:
>
> But only on one of the two machines.
> On the other one it segfaulted later during gc build:
> /sage-5.7-lame5/local/sparc-unknown-linux-gnu/sys-include    -g -O2 -O2  
> -g -O2 -DIN_GCC   -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes 
> -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -fPIC -g 
> -DHAVE_GTHR_DEFAULT -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED 
> -fno-stack-protector   -I. -I. -I../.././gcc -I../../../src/libgcc 
> -I../../../src/libgcc/. -I../../../src/libgcc/../gcc 
> -I../../../src/libgcc/../include  -DHAVE_CC_TLS  -o _mulsc3_s.o -MT 
> _mulsc3_s.o -MD -MP -MF _mulsc3_s.dep -DSHARED -DL_mulsc3 -c 
> ../../../src/libgcc/../gcc/libgcc2.c
> ../../../src/libgcc/../gcc/unwind-dw2-fde-glibc.c: In function 
> ‘_Unwind_IteratePhdrCallback’:
> ../../../src/libgcc/../gcc/unwind-dw2-fde-glibc.c:431:1: internal compiler 
> error: Segmentation fault
>
This kind of looks like 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=334112
although the libc6 on the system (Debian Wheezy) is quite recent (2.13-38) 

>
>
> On Friday, March 1, 2013 12:08:05 AM UTC+1, Jean-Pierre Flori wrote:
>>
>> I got a working gcc by exporting ABI=32 so that MPIR is 32 bits and 
>> issueing "sparc32 make" rather than "make" so that GCC does not try to 
>> build 64 bits apps by default, the build is now going one with other spkg.
>>
>> On Thursday, February 28, 2013 9:55:54 PM UTC+1, Jeroen Demeyer wrote:
>>>
>>> On 2013-02-28 17:12, Jean-Pierre Flori wrote: 
>>> > For info, I'm trying to build Sage on a Debian sparc64, and it failed 
>>> > because by default gcc produces 32 bits objects but then MPIR (and 
>>> MPFR 
>>> > and MPC) decided to be smart enough to build as 64 bits, and then when 
>>> > Sage tried to build its own GCC, which is 32 bits, it failed... 
>>>
>>> If this is a Linux system, you can try building (from scratch!) using 
>>> $ linux64 make 
>>>
>>> Alternatively, set 
>>> CONFIGURE_FLAGS="--build=whatever-it-needs-to-be-for-sparc64" and try 
>>> building GCC. 
>>>
>>> Let me know if any of these approaches works. 
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to