> 1) Kill the -O3, and see if the file compiles. If so, start bumping it
> back up until you see the hang.

With -O2, it compiles fine. With -O3, it seems to hang.

> 2) Kill the -w at the end, so you can at least see some commentary
> from the compiler. (-w suppresses all warnings.)

* With -O3, without -w:

building 'sage.libs.fplll.fplll' extension
gcc -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -Wall -g -Wall -g -fPIC
-I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/local/include/fplll
-I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/local//include
-I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/local//include/csage
-I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/devel//sage/sage/ext
-I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/local/include/python2.6 -c
sage/libs/fplll/fplll.cpp -o
build/temp.linux-x86_64-2.6/sage/libs/fplll/fplll.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
sage/libs/fplll/fplll.cpp: In function ‘void initfplll()’:
sage/libs/fplll/fplll.cpp:5373: warning: dereferencing type-punned
pointer will break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5374: warning: dereferencing type-punned
pointer will break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5375: warning: dereferencing type-punned
pointer will break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5373: warning: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5373: note: initialized from here
sage/libs/fplll/fplll.cpp:5374: warning: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5374: note: initialized from here
sage/libs/fplll/fplll.cpp:5375: warning: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5375: note: initialized from here
...............(hang?)

* With -O2, without -w:

building 'sage.libs.fplll.fplll' extension
gcc -DNDEBUG -g -O2 -Wall -Wstrict-prototypes -Wall -g -Wall -g -fPIC
-I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/local/in
clude/fplll -I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/local//include
-I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/local//in
clude/csage -I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/devel//sage/sage/ext
-I/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/loc
al/include/python2.6 -c sage/libs/fplll/fplll.cpp -o
build/temp.linux-x86_64-2.6/sage/libs/fplll/fplll.o
cc1plus: warning: command line option "-Wstrict-prototypes" is valid
for Ada/C/ObjC but not for C++
sage/libs/fplll/fplll.cpp: In function ‘void initfplll()’:
sage/libs/fplll/fplll.cpp:5373: warning: dereferencing type-punned
pointer will break strict-aliasing
rulessage/libs/fplll/fplll.cpp:5374: warning: dereferencing
type-punned pointer will break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5375: warning: dereferencing type-punned
pointer will break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5373: warning: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5373: note: initialized from
heresage/libs/fplll/fplll.cpp:5374: warning: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5374: note: initialized from here
sage/libs/fplll/fplll.cpp:5375: warning: dereferencing pointer
‘<anonymous>’ does break strict-aliasing rules
sage/libs/fplll/fplll.cpp:5375: note: initialized from
heresage/libs/fplll/fplll.cpp: At global scope:
sage/libs/fplll/fplll.cpp:1986: warning:
‘__pyx_doc_4sage_4libs_5fplll_5fplll_6FP_LLL___cinit__’ defined but
not usedsage/libs/fplll/fplll.cpp:2119: warning:
‘__pyx_doc_4sage_4libs_5fplll_5fplll_6FP_LLL___dealloc__’ defined but
not used
g++ -Wall -g -pthread -shared -Wall -g -Wall -g
build/temp.linux-x86_64-2.6/sage/libs/fplll/fplll.o
-L/mnt/usb1/scratch/rlm/sage-4.3.1.alpha3/local//lib -lcsage -lgmp
-lmpfr -lstdc++ -lfplll -lstdc++ -lntl -o
build/lib.linux-x86_64-2.6/sage/libs/fplll/fplll.so


-- 
Robert L. Miller
http://www.rlmiller.org/
-- 
To post to this group, send an email to sage-devel@googlegroups.com
To unsubscribe from this group, send an email to 
sage-devel+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/sage-devel
URL: http://www.sagemath.org

Reply via email to