#15273: gf2x-1.1 fails to build on OpenSolaris, as the test for number of bits 
in
an unsigned long fails
-------------------------+-------------------------------------------------
   Reporter:  drkirkby   |            Owner:
       Type:  PLEASE     |           Status:  new
  CHANGE                 |        Milestone:  sage-5.13
   Priority:  major      |         Keywords:
  Component:  packages:  |          Authors:
  standard               |  Report Upstream:  Reported upstream. No
  Merged in:             |  feedback yet.
  Reviewers:             |           Branch:
Work issues:             |     Dependencies:
     Commit:             |
   Stopgaps:             |
-------------------------+-------------------------------------------------
 Hardware: Sun Ultra 27, quad core Xeon.
 Operating system: OpenSolaris

 The bug shows up in Sage, which uses the latest version of gf2x. I
 downloaded the source from the official web site, and it still fails. I
 reported this upstream.

 
https://gforge.inria.fr/tracker/index.php?func=detail&aid=16531&group_id=1874&atid=6979

 Here's failure of the upsteam source - it was at the same point when I
 tried in Sage

 {{{

 drkirkby@hawk:~/gf2x-1.1$ make
 make: *** No targets specified and no makefile found.  Stop.
 drkirkby@hawk:~/gf2x-1.1$ ./configure
 checking build system type... i386-pc-solaris2.11
 checking host system type... i386-pc-solaris2.11
 checking target system type... i386-pc-solaris2.11
 checking for a BSD-compatible install... /usr/bin/ginstall -c
 checking whether build environment is sane... yes
 checking for a thread-safe mkdir -p... config/install-sh -c -d
 checking for gawk... gawk
 checking whether make -j12 sets $(MAKE)... yes
 checking how to print strings... print -r
 checking for style of include used by make -j12... GNU
 checking for gcc... gcc
 checking whether the C compiler works... yes
 checking for C compiler default output file name... a.out
 checking for suffix of executables...
 checking whether we are cross compiling... no
 checking for suffix of object files... o
 checking whether we are using the GNU C compiler... yes
 checking whether gcc accepts -g... yes
 checking for gcc option to accept ISO C89... none needed
 checking dependency style of gcc... gcc3
 checking for a sed that does not truncate output... /usr/bin/gsed
 checking for grep that handles long lines and -e... /usr/bin/ggrep
 checking for egrep... /usr/bin/ggrep -E
 checking for fgrep... /usr/bin/ggrep -F
 checking for ld used by gcc... /usr/ccs/bin/ld
 checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
 checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -p
 checking the name lister (/usr/bin/nm -p) interface... BSD nm
 checking whether ln -s works... yes
 checking the maximum length of command line arguments... 786240
 checking whether the shell understands some XSI constructs... yes
 checking whether the shell understands "+="... yes
 checking how to convert i386-pc-solaris2.11 file names to i386-pc-
 solaris2.11 format... func_convert_file_noop
 checking how to convert i386-pc-solaris2.11 file names to toolchain
 format... func_convert_file_noop
 checking for /usr/ccs/bin/ld option to reload object files... -r
 checking for objdump... no
 checking how to recognize dependent libraries... pass_all
 checking for dlltool... no
 checking how to associate runtime and link libraries... print -r --
 checking for ar... ar
 checking for archiver @FILE support... no
 checking for strip... strip
 checking for ranlib... ranlib
 checking command to parse /usr/bin/nm -p output from gcc object... ok
 checking for sysroot... no
 checking for mt... mt
 checking if mt is a manifest tool... no
 checking how to run the C preprocessor... gcc -E
 checking for ANSI C header files... yes
 checking for sys/types.h... yes
 checking for sys/stat.h... yes
 checking for stdlib.h... yes
 checking for string.h... yes
 checking for memory.h... yes
 checking for strings.h... yes
 checking for inttypes.h... yes
 checking for stdint.h... yes
 checking for unistd.h... yes
 checking for dlfcn.h... yes
 checking for objdir... .libs
 checking if gcc supports -fno-rtti -fno-exceptions... no
 checking for gcc option to produce PIC... -fPIC -DPIC
 checking if gcc PIC flag -fPIC -DPIC works... yes
 checking if gcc static flag -static works... no
 checking if gcc supports -c -o file.o... yes
 checking if gcc supports -c -o file.o... (cached) yes
 checking whether the gcc linker (/usr/ccs/bin/ld) supports shared
 libraries... yes
 checking whether -lc should be explicitly linked in... no
 checking dynamic linker characteristics... solaris2.11 ld.so
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... no
 checking if libtool supports shared libraries... yes
 checking whether to build shared libraries... yes
 checking whether to build static libraries... yes
 checking for gcc... (cached) gcc
 checking whether we are using the GNU C compiler... (cached) yes
 checking whether gcc accepts -g... (cached) yes
 checking for gcc option to accept ISO C89... (cached) none needed
 checking dependency style of gcc... (cached) gcc3
 checking for g++... g++
 checking whether we are using the GNU C++ compiler... yes
 checking whether g++ accepts -g... yes
 checking dependency style of g++... gcc3
 checking how to run the C++ preprocessor... g++ -E
 checking for ld used by g++... /usr/ccs/bin/ld
 checking if the linker (/usr/ccs/bin/ld) is GNU ld... no
 checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
 libraries... yes
 checking for g++ option to produce PIC... -fPIC -DPIC
 checking if g++ PIC flag -fPIC -DPIC works... yes
 checking if g++ static flag -static works... no
 checking if g++ supports -c -o file.o... yes
 checking if g++ supports -c -o file.o... (cached) yes
 checking whether the g++ linker (/usr/ccs/bin/ld) supports shared
 libraries... yes
 checking dynamic linker characteristics... solaris2.11 ld.so
 checking how to hardcode library paths into programs... immediate
 checking warning verbosity option... -Wall -W for C++ -Wall -W for C
 checking for gcc option to accept ISO C99... -std=gnu99
 checking build system compiler gcc -std=gnu99... yes
 checking for build system executable suffix...
 checking whether gcc -std=gnu99 and cc understand -c and -o together...
 yes
 checking size of unsigned long... 4
 checking whether gcc -std=gnu99 can compile and run sse-2 code... yes
 checking whether gcc -std=gnu99 can compile pclmulqdq and if it is
 supported by the hardware... no
 configure: using ABI="default"
 configure:       CC="gcc -std=gnu99"
 configure:       CFLAGS="-g -O4 -Wall -W"
 configure:       CPPFLAGS=""
 configure:       hwdir="x86_sse2"
 checking the number of bits in an unsigned long... configure: error: test
 program failed
 drkirkby@hawk:~/gf2x-1.1$
 }}}



 Dave

--
Ticket URL: <http://trac.sagemath.org/ticket/15273>
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 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-trac.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to