On Fri, Jan 21, 2011 at 12:17 PM, <brian.she...@pmaclabs.com> wrote:

> I would have thought that building python-2.7.1 would be pretty
> straightforward - even on an SGI Altix. There were no issues when I ran
> configure. However, running make results in the following compile error:
>
>    Objects/floatobject.c(2603): remark #810: conversion from "int" to
> "unsigned char" may lose significant bits
>           sign = (*p >> 7) & 1;
>                ^
>    (0): internal error: backend signals
>    compilation aborted for Objects/floatobject.c (code 4)
>    make: *** [Objects/floatobject.o] Error 4
>
> The compiler instructions were:
>
>    icc -pthread -c -fno-strict-aliasing -Olimit 1500 -g -O2 -DNDEBUG -g
> -O3 -Wall -Wstrict-prototypes  -I. -IInclude    -I./Include
> -DPy_BUILD_CORE -o Objects/floatobject.o Objects/floatobject.c
>
> Does anyone have any ideas what the problem might be? Thanks in advance.
>

This mailing list is really targeted at the python programming language, not
so much building python. You may get better results somewhere like
stackoverflow. However, if I had to guess, the problem is likely in the code
that is converting an int to an unsigned char - icc is probably set to die
on the warning. However, I'm not familiar enough with C code or the compiler
flags to tell you how to fix/ignore it.

Good luck,
Wayne
_______________________________________________
Tutor maillist  -  Tutor@python.org
To unsubscribe or change subscription options:
http://mail.python.org/mailman/listinfo/tutor

Reply via email to