Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 08 Apr 2007 11:39:11 +0200
From:      Rene Ladan <r.c.ladan@gmail.com>
To:        ports@freebsd.org
Subject:   configure differences for boinc-setiathome-enhanced/i386
Message-ID:  <4618B83F.40700@gmail.com>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------080509020808020105050301
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi,

according to
http://pointyhat.freebsd.org/errorlogs/i386-7-latest/boinc-setiathome-enhanced-5.13.log

the astro/boinc-setiathome-enhanced port fails to configure, but when I
test it locally on my i386 machine, the port builds fine.

I've attached the `diff -u' output of the output of `make configure' (
--- pointyhat, +++ local build). The lines about the Fortran compiler
are irrelevant to the port, as it doesn't use Fortran.

Environment:
gcc-4.1.3_20070402
FreeBSD 7.0 20070331
CC=/usr/local/bin/gcc41
CXX=/usr/local/bin/g++41
NOCCACHE= (defined, but not set, to avoid using ccache)
CFLAGS=-O2 -pipe -fno-strict-aliasing
CXXFLAGS+=-fconserve-space
CPUTYPE=prescott

The only thing I changed were the compiler commands in the generated
Makefiles to use /usr/local/lib/gcc-4.1.3/libstdc++  instead of the one
in /usr/lib because of the new __cxa_get_exception_ptr symbol which gets
configured in.

Does anyone has an idea why it differs?

Thanks,
Rene
-- 
GPG fingerprint = E738 5471 D185 7013 0EE0  4FC8 3C1D 6F83 12E1 84F6
(subkeys.pgp.net)

"It won't fit on the line."
		-- me, 2001


--------------080509020808020105050301
Content-Type: text/x-patch;
 name="setiathome-enhanced-gcc41.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="setiathome-enhanced-gcc41.diff"

--- boinc-setiathome-enhanced-5.13-i386.log	Sun Apr  8 11:08:01 2007
+++ gcc41	Sun Apr  8 11:07:18 2007
@@ -1,3 +1,9 @@
+195-241-221-201# make
+===>  Extracting for boinc-setiathome-enhanced-5.13
+=> MD5 Checksum OK for boinc-setiathome-enhanced-5.13.tar.gz.
+=> SHA256 Checksum OK for boinc-setiathome-enhanced-5.13.tar.gz.
+===>  Patching for boinc-setiathome-enhanced-5.13
+===>  Applying FreeBSD patches for boinc-setiathome-enhanced-5.13
 ===>   boinc-setiathome-enhanced-5.13 depends on file: /usr/local/include/fftw3.h - found
 ===>   boinc-setiathome-enhanced-5.13 depends on file: /usr/local/include/BOINC/std_fixes.h - found
 ===>   boinc-setiathome-enhanced-5.13 depends on shared library: fftw3f - found
@@ -18,7 +24,7 @@
 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 executables...
 checking for suffix of object files... o
 checking whether we are using the GNU C++ compiler... yes
 checking whether c++ accepts -g... yes
@@ -89,27 +95,9 @@
 checking for i386-portbld-freebsd7.0-lf95... no
 checking for i386-portbld-freebsd7.0-gfortran... no
 checking for g77... no
-checking for f77... no
-checking for xlf... no
-checking for frt... no
-checking for pgf77... no
-checking for fort77... no
-checking for fl32... no
-checking for af77... no
-checking for f90... no
-checking for xlf90... no
-checking for pgf90... no
-checking for epcf90... no
-checking for f95... no
-checking for fort... no
-checking for xlf95... no
-checking for ifc... no
-checking for efc... no
-checking for pgf95... no
-checking for lf95... no
-checking for gfortran... no
-checking whether we are using the GNU Fortran 77 compiler... no
-checking whether  accepts -g... no
+checking for f77... f77
+checking whether we are using the GNU Fortran 77 compiler... yes
+checking whether f77 accepts -g... yes
 checking the maximum length of command line arguments... (cached) 262144
 checking command to parse nm output from cc object... ok
 checking for objdir... .libs
@@ -124,7 +112,7 @@
 checking if cc PIC flag -fPIC works... yes
 checking if cc supports -c -o file.o... yes
 checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes
-checking whether -lc should be explicitly linked in... no
+checking whether -lc should be explicitly linked in... yes
 checking dynamic linker characteristics... freebsd7.0 ld.so
 checking how to hardcode library paths into programs... immediate
 checking whether stripping libraries is possible... yes
@@ -154,6 +142,16 @@
 checking whether a program can dlopen itself... (cached) yes
 checking whether a statically linked program can dlopen itself... (cached) yes
 appending configuration tag "F77" to libtool
+checking if libtool supports shared libraries... yes
+checking whether to build shared libraries... yes
+checking whether to build static libraries... yes
+checking for f77 option to produce PIC... -fPIC
+checking if f77 PIC flag -fPIC works... yes
+checking if f77 supports -c -o file.o... yes
+checking whether the f77 linker (/usr/bin/ld) supports shared libraries... yes
+checking dynamic linker characteristics... freebsd7.0 ld.so
+checking how to hardcode library paths into programs... immediate
+checking whether stripping libraries is possible... yes
 checking default bitness of compiler... 32
 checking boinc platform... i386-portbld-freebsd
 checking whether make sets $(MAKE)... (cached) yes
@@ -190,11 +188,11 @@
 checking cc flags for exporting dynamic symbols from an executable ...... checking for uncompress in static library z... /usr/lib/libz.a
 checking cc flags for exporting dynamic symbols from an executable ...... checking for jpeg_start_decompress in static library jpeg... /usr/local/lib/libjpeg.a
 checking cc flags for exporting dynamic symbols from an executable ...... checking for sscanf in static library stdc++... /usr/lib/libstdc++.a
-checking cc flags for exporting dynamic symbols from an executable ...... checking for _Unwind_Resume in static library gcc_eh... /usr/lib/libgcc_eh.a
+checking cc flags for exporting dynamic symbols from an executable ...... checking for _Unwind_Resume in static library gcc_eh... -lgcc_eh
 checking cc flags for exporting dynamic symbols from an executable ...... checking for sscanf in static library gcc... /usr/lib/libgcc.a
 checking cc flags for exporting dynamic symbols from an executable ...... checking for pthread_join in dynamic library pthread... -lpthread
 checking cc flags for exporting dynamic symbols from an executable ...... checking for atexit in dynamic library c... -lc
-checking if compiler works with -nodefaultlibs flag... yes
+checking if compiler works with -nodefaultlibs flag... no
 checking for head... /usr/bin/head
 checking for find... /usr/bin/find
 checking for SETILIB... not found
@@ -203,7 +201,7 @@
 checking for BOINC... /usr/local
 checking for RSAPublicEncrypt in -lrsaeuro... no
 checking for ANSI C header files... (cached) yes
-checking whether largefile support breaks C++... yes
+checking whether largefile support breaks C++... no
 checking standard C++ headers... yes
 checking for C++ header <algorithm>... (cached) yes
 checking for C++ header <bitset>... (cached) yes
@@ -290,11 +288,9 @@
 checking complex.h presence... yes
 checking for complex.h... yes
 checking fftw3.h usability... yes
-checking fftw3.h presence... no
-configure: WARNING: fftw3.h: accepted by the compiler, rejected by the preprocessor!
-configure: WARNING: fftw3.h: proceeding with the compiler's result
+checking fftw3.h presence... yes
 checking for fftw3.h... yes
-checking for stdbool.h that conforms to C99... no
+checking for stdbool.h that conforms to C99... yes
 checking for _Bool... no
 checking for an ANSI C-conforming const... yes
 checking for inline... inline
@@ -304,4 +300,66 @@
 checking for struct stat.st_blocks... yes
 checking whether struct tm is in sys/time.h or time.h... time.h
 checking for long int... yes
-checking size of long int... configure: error: cannot compute sizeof (long int), 77
+checking size of long int... 4
+checking for long double... yes
+checking size of long double... 12
+checking for long long... yes
+checking for _int64... no
+checking for int64_t... yes
+checking for bool... yes
+checking for _int32... no
+checking for int32_t... yes
+checking for pid_t... yes
+checking for unistd.h... (cached) yes
+checking vfork.h usability... no
+checking vfork.h presence... no
+checking for vfork.h... no
+checking for fork... yes
+checking for vfork... yes
+checking for working fork... yes
+checking for working vfork... (cached) yes
+checking whether sys/types.h defines makedev... yes
+checking for stdlib.h... (cached) yes
+checking for GNU libc compatible malloc... yes
+checking for stdlib.h... (cached) yes
+checking for GNU libc compatible realloc... yes
+checking whether lstat dereferences a symlink specified with a trailing slash... no
+checking whether stat accepts an empty string... no
+checking for strftime... yes
+checking for _aligned_malloc... no
+checking for memalign... no
+checking for atexit... yes
+checking for exit... yes
+checking for _exit... yes
+checking for floor... yes
+checking for getcwd... yes
+checking for memset... yes
+checking for munmap... yes
+checking for putenv... yes
+checking for sqrt... yes
+checking for strchr... yes
+checking for strstr... yes
+checking for atoll... yes
+checking for dlopen... (cached) yes
+checking for sincosf... no
+checking for sincos... no
+checking for sinf... yes
+checking for cosf... yes
+checking for atanf... yes
+checking for C++ namespaces... yes
+checking for min(0,0) in namespace std... yes
+checking for max(0,0) in namespace std... yes
+checking for transform((char *)0,(char *)0,(char *)0,(int(*)(int))malloc) in namespace std... yes
+configure: creating ./config.status
+config.status: creating Makefile
+config.status: creating client/Makefile
+config.status: creating tools/Makefile
+config.status: creating db/Makefile
+config.status: creating db/tools/Makefile
+config.status: creating db/schema_to_class
+config.status: creating config.h
+config.status: executing depfiles commands
+===>  Building for boinc-setiathome-enhanced-5.13
+`./config.h.in' is up to date.
+`./config.status' is up to date.
+195-241-221-201#

--------------080509020808020105050301--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4618B83F.40700>