help-gsl
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-gsl] gsl-1.14 build Mac OS X Leopard universal binaries


From: eric voirin
Subject: [Help-gsl] gsl-1.14 build Mac OS X Leopard universal binaries
Date: Tue, 6 Apr 2010 06:57:52 +0000 (GMT)

Hello,


It seems that gsl1.14 ./configure has broken Mac OS X universal binaries build.
I'm not a configure guru... I don't know what I have to do to fix it if possible
It does not like M options...

gsl 1.11, 1.12, 1.13 works fine...

  Have a nice day, Eric

gsl-1.14 and gsl 1.13 logs :

#######################################################################################################
eric$ export CC=gcc
eric$ export CFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk 
-mmacosx-version-min=10.5 -arch i386 -arch ppc'
eric$ export LDFLAGS='-arch i386 -arch ppc'
eric$ cd gsl-1.14
gsl-1.14 eric$ ./configure --prefix=/opt/gsl/gsl-1.14-Leopard --disable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for a sed that does not truncate output... /usr/bin/sed
checking whether make sets $(MAKE)... (cached) yes
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/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 the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld option to reload 
object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
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... -fno-common -DPIC
checking if gcc PIC flag -fno-common -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/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... darwin9.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for size_t... yes
checking for working volatile... yes
checking for inline... inline
checking whether char is unsigned... no
checking for GNU-style extern inline... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for vprintf... yes
checking for _doprnt... no
checking for memcpy... yes
checking for memmove... yes
checking for strdup... yes
checking for strtol... yes
checking for strtoul... yes
checking for EXIT_SUCCESS and EXIT_FAILURE... yes
checking for cos in -lm... yes
checking whether feenableexcept is declared... no
checking whether fesettrapenable is declared... no
checking whether hypot is declared... yes
checking whether expm1 is declared... yes
checking whether acosh is declared... yes
checking whether asinh is declared... yes
checking whether atanh is declared... yes
checking whether ldexp is declared... yes
checking whether frexp is declared... yes
checking whether isinf is declared... yes
checking whether isfinite is declared... yes
checking whether finite is declared... yes
checking whether isnan is declared... yes
checking whether log1p is declared... yes
checking for long double stdio... yes
checking for extended floating point registers... no
checking for IEEE arithmetic interface type... darwin
checking for IEEE compiler flags... none
checking for IEEE comparisons... yes
checking for IEEE denormalized values... yes
configure: creating ./config.status
config.status: creating gsl_version.h
config.status: creating gsl.spec
config.status: creating gsl/Makefile
config.status: creating test/Makefile
config.status: creating err/Makefile
config.status: creating sys/Makefile
config.status: creating utils/Makefile
config.status: creating const/Makefile
config.status: creating min/Makefile
config.status: creating multimin/Makefile
config.status: creating ieee-utils/Makefile
config.status: creating fft/Makefile
config.status: creating specfunc/Makefile
config.status: creating dht/Makefile
config.status: creating fit/Makefile
config.status: creating multifit/Makefile
config.status: creating bspline/Makefile
config.status: creating statistics/Makefile
config.status: creating sum/Makefile
config.status: creating roots/Makefile
config.status: creating multiroots/Makefile
config.status: creating ntuple/Makefile
config.status: creating poly/Makefile
config.status: creating qrng/Makefile
config.status: creating rng/Makefile
config.status: creating randist/Makefile
config.status: creating siman/Makefile
config.status: creating integration/Makefile
config.status: creating interpolation/Makefile
config.status: creating doc/Makefile
config.status: creating block/Makefile
config.status: creating vector/Makefile
config.status: creating matrix/Makefile
config.status: creating histogram/Makefile
config.status: creating monte/Makefile
config.status: creating ode-initval/Makefile
config.status: creating cblas/Makefile
config.status: creating blas/Makefile
config.status: creating linalg/Makefile
config.status: creating eigen/Makefile
config.status: creating permutation/Makefile
config.status: creating combination/Makefile
config.status: creating multiset/Makefile
config.status: creating sort/Makefile
config.status: creating complex/Makefile
config.status: creating diff/Makefile
config.status: creating deriv/Makefile
config.status: creating cheb/Makefile
config.status: creating cdf/Makefile
config.status: creating wavelet/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
gsl-1.14 eric$ make
make  all-recursive
Making all in gsl
rm -f gsl*.h
HEADERLIST="../gsl*.h ../*/gsl*.h"; \
for h in $HEADERLIST; do \
  BASENAME=`basename $h`; \
  test -r $BASENAME || ln -s $h $BASENAME; \
done
Making all in utils
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     
-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 
-arch ppc -MT placeholder.lo -MD -MP -MF .deps/placeholder.Tpo -c -o 
placeholder.lo placeholder.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -arch ppc 
-MT placeholder.lo -MD -MP -MF .deps/placeholder.Tpo -c placeholder.c -o 
placeholder.o
gcc-4.0: -E, -S, -save-temps and -M options are not allowed with multiple -arch 
flags
make[2]: *** [placeholder.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

##########################################################################################
gsl-1.11, 1.12, 1.13 works fine :

eric$ export CC=gcc
eric$ export CFLAGS='-isysroot /Developer/SDKs/MacOSX10.5.sdk 
-mmacosx-version-min=10.5 -arch i386 -arch ppc'
eric$ export LDFLAGS='-arch i386 -arch ppc'
eric$ cd gsl-1.13
gsl-1.13 eric$ ./configure --prefix=/opt/gsl/gsl-1.13-Leopard --disable-shared
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether make sets $(MAKE)... (cached) yes
checking build system type... powerpc-apple-darwin9.8.0
checking host system type... powerpc-apple-darwin9.8.0
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
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 how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld
checking if the linker (/usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/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 the maximum length of command line arguments... 196608
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld option to reload 
object files... -r
checking for objdump... no
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -p output from gcc object... ok
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
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... -fno-common -DPIC
checking if gcc PIC flag -fno-common -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/libexec/gcc/powerpc-apple-darwin9/4.0.1/ld) supports shared libraries... 
yes
checking dynamic linker characteristics... darwin9.8.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
checking for size_t... yes
checking for working volatile... yes
checking for inline... inline
checking whether char is unsigned... no
checking for GNU-style extern inline... yes
checking ieeefp.h usability... no
checking ieeefp.h presence... no
checking for ieeefp.h... no
checking for vprintf... yes
checking for _doprnt... no
checking for memcpy... yes
checking for memmove... yes
checking for strdup... yes
checking for strtol... yes
checking for strtoul... yes
checking for EXIT_SUCCESS and EXIT_FAILURE... yes
checking for cos in -lm... yes
checking whether feenableexcept is declared... no
checking whether fesettrapenable is declared... no
checking whether hypot is declared... yes
checking whether expm1 is declared... yes
checking whether acosh is declared... yes
checking whether asinh is declared... yes
checking whether atanh is declared... yes
checking whether ldexp is declared... yes
checking whether frexp is declared... yes
checking whether isinf is declared... yes
checking whether isfinite is declared... yes
checking whether finite is declared... yes
checking whether isnan is declared... yes
checking whether log1p is declared... yes
checking for long double stdio... yes
checking for extended floating point registers... no
checking for IEEE arithmetic interface type... darwin
checking for IEEE compiler flags... none
checking for IEEE comparisons... yes
checking for IEEE denormalized values... yes
configure: creating ./config.status
config.status: creating gsl_version.h
config.status: creating gsl.spec
config.status: creating gsl/Makefile
config.status: creating test/Makefile
config.status: creating err/Makefile
config.status: creating sys/Makefile
config.status: creating utils/Makefile
config.status: creating const/Makefile
config.status: creating min/Makefile
config.status: creating multimin/Makefile
config.status: creating ieee-utils/Makefile
config.status: creating fft/Makefile
config.status: creating specfunc/Makefile
config.status: creating dht/Makefile
config.status: creating fit/Makefile
config.status: creating multifit/Makefile
config.status: creating bspline/Makefile
config.status: creating statistics/Makefile
config.status: creating sum/Makefile
config.status: creating roots/Makefile
config.status: creating multiroots/Makefile
config.status: creating ntuple/Makefile
config.status: creating poly/Makefile
config.status: creating qrng/Makefile
config.status: creating rng/Makefile
config.status: creating randist/Makefile
config.status: creating siman/Makefile
config.status: creating integration/Makefile
config.status: creating interpolation/Makefile
config.status: creating doc/Makefile
config.status: creating block/Makefile
config.status: creating vector/Makefile
config.status: creating matrix/Makefile
config.status: creating histogram/Makefile
config.status: creating monte/Makefile
config.status: creating ode-initval/Makefile
config.status: creating cblas/Makefile
config.status: creating blas/Makefile
config.status: creating linalg/Makefile
config.status: creating eigen/Makefile
config.status: creating permutation/Makefile
config.status: creating combination/Makefile
config.status: creating sort/Makefile
config.status: creating complex/Makefile
config.status: creating diff/Makefile
config.status: creating deriv/Makefile
config.status: creating cheb/Makefile
config.status: creating cdf/Makefile
config.status: creating wavelet/Makefile
config.status: creating Makefile
config.status: creating config.h
config.status: executing libtool commands
gsl-1.13 eric$ make
make  all-recursive
Making all in gsl
rm -f gsl*.h
HEADERLIST="../gsl*.h ../*/gsl*.h"; \
for h in $HEADERLIST; do \
  BASENAME=`basename $h`; \
  test -r $BASENAME || ln -s $h $BASENAME; \
done
Making all in utils
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I..     
-isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 
-arch ppc -c -o placeholder.lo placeholder.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -arch ppc 
-c placeholder.c -o placeholder.o
/bin/sh ../libtool --tag=CC   --mode=link gcc  -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -arch ppc  
-arch i386 -arch ppc -o libutils.la  placeholder.lo  -lm 
libtool: link: ar cru .libs/libutils.a  placeholder.o
libtool: link: ranlib .libs/libutils.a
libtool: link: ( cd ".libs" && rm -f "libutils.la" && ln -s "../libutils.la" 
"libutils.la" )
Making all in sys
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..  
  -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 
-arch ppc -c -o minmax.lo minmax.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -arch ppc 
-c minmax.c -o minmax.o
/bin/sh ../libtool --tag=CC   --mode=compile gcc -DHAVE_CONFIG_H -I. -I.. -I..  
  -isysroot /Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 
-arch ppc -c -o prec.lo prec.c
libtool: compile:  gcc -DHAVE_CONFIG_H -I. -I.. -I.. -isysroot 
/Developer/SDKs/MacOSX10.5.sdk -mmacosx-version-min=10.5 -arch i386 -arch ppc 
-c prec.c -o prec.o
#############################################################################################################








reply via email to

[Prev in Thread] Current Thread [Next in Thread]