Ticket #7375: config.log

File config.log, 8.4 KB (added by drkirkby, 13 years ago)

config.log showing the -Wall and -fPIC flags are causing problems.

Line 
1This file contains any messages produced by compilers while
2running configure, to aid debugging if configure makes a mistake.
3
4It was created by libm4ri configure 1.0.1, which was
5generated by GNU Autoconf 2.64.  Invocation command line was
6
7  $ ./configure --prefix=/export/home/drkirkby/sage-4.2/local --includedir=/export/home/drkirkby/sage-4.2/local/include/
8
9## --------- ##
10## Platform. ##
11## --------- ##
12
13hostname = swan
14uname -m = sun4u
15uname -r = 5.10
16uname -s = SunOS
17uname -v = Generic_139555-08
18
19/usr/bin/uname -p = sparc
20/bin/uname -X     = System = SunOS
21Node = swan
22Release = 5.10
23KernelID = Generic_139555-08
24Machine = sun4u
25BusType = <unknown>
26Serial = <unknown>
27Users = <unknown>
28OEM# = 0
29Origin# = 1
30NumCPU = 2
31
32/bin/arch              = sun4
33/usr/bin/arch -k       = sun4u
34/usr/convex/getsysinfo = unknown
35/usr/bin/hostinfo      = unknown
36/bin/machine           = unknown
37/usr/bin/oslevel       = unknown
38/bin/universe          = unknown
39
40PATH: /export/home/drkirkby/sage-4.2
41PATH: /export/home/drkirkby/sage-4.2/local/bin
42PATH: /export/home/drkirkby/sage-4.2
43PATH: /export/home/drkirkby/sage-4.2/local/bin
44PATH: /usr/local/gcc-4.4.1-sun-linker/bin
45PATH: /export/home/drkirkby/bin
46PATH: /usr/bin
47PATH: /usr/sbin
48PATH: /opt/soffice9/program
49PATH: /opt/SUNWspci3/bin
50PATH: /usr/sfw/bin
51PATH: /usr/ccs/bin
52PATH: /usr/local/bin
53PATH: /usr/local/bin
54PATH: .
55PATH: /usr/local/opt/opt/schily/bin
56
57
58## ----------- ##
59## Core tests. ##
60## ----------- ##
61
62configure:2329: checking build system type
63configure:2343: result: sparc-sun-solaris2.10
64configure:2363: checking host system type
65configure:2376: result: sparc-sun-solaris2.10
66configure:2415: checking for a BSD-compatible install
67configure:2483: result: /usr/local/bin/ginstall -c
68configure:2494: checking whether build environment is sane
69configure:2544: result: yes
70configure:2685: checking for a thread-safe mkdir -p
71configure:2724: result: ./install-sh -c -d
72configure:2737: checking for gawk
73configure:2767: result: no
74configure:2737: checking for mawk
75configure:2767: result: no
76configure:2737: checking for nawk
77configure:2753: found /usr/bin/nawk
78configure:2764: result: nawk
79configure:2775: checking whether make sets $(MAKE)
80configure:2797: result: yes
81configure:2915: checking for style of include used by make
82configure:2943: result: GNU
83configure:3013: checking for gcc
84configure:3040: result: /opt/xxxsunstudio12.1/bin/cc
85configure:3269: checking for C compiler version
86configure:3278: /opt/xxxsunstudio12.1/bin/cc --version >&5
87cc: Warning: Option --version passed to ld, if ld is invoked, ignored otherwise
88usage: cc [ options] files.  Use 'cc -flags' for details
89configure:3289: $? = 0
90configure:3278: /opt/xxxsunstudio12.1/bin/cc -v >&5
91usage: cc [ options] files.  Use 'cc -flags' for details
92configure:3289: $? = 0
93configure:3278: /opt/xxxsunstudio12.1/bin/cc -V >&5
94cc: Sun C 5.10 SunOS_sparc 2009/06/03
95usage: cc [ options] files.  Use 'cc -flags' for details
96configure:3289: $? = 0
97configure:3278: /opt/xxxsunstudio12.1/bin/cc -qversion >&5
98cc: Warning: Option -qversion passed to ld, if ld is invoked, ignored otherwise
99usage: cc [ options] files.  Use 'cc -flags' for details
100configure:3289: $? = 0
101configure:3311: checking for C compiler default output file name
102configure:3333: /opt/xxxsunstudio12.1/bin/cc  -fPIC -I/export/home/drkirkby/sage-4.2/local/include/ -L/export/home/drkirkby/sage-4.2/local/lib -Wall -pedantic -g -O2 -I/export/home/drkirkby/sage-4.2/local/include/  conftest.c  >&5
103cc: -W option with unknown program all
104configure:3337: $? = 1
105configure:3374: result:
106configure: failed program was:
107| /* confdefs.h */
108| #define PACKAGE_NAME "libm4ri"
109| #define PACKAGE_TARNAME "libm4ri"
110| #define PACKAGE_VERSION "1.0.1"
111| #define PACKAGE_STRING "libm4ri 1.0.1"
112| #define PACKAGE_BUGREPORT ""
113| #define PACKAGE_URL ""
114| #define PACKAGE "libm4ri"
115| #define VERSION "1.0.1"
116| /* end confdefs.h.  */
117| #include <stdio.h>
118| int
119| main ()
120| {
121| FILE *f = fopen ("conftest.out", "w");
122|  return ferror (f) || fclose (f) != 0;
123|
124|   ;
125|   return 0;
126| }
127configure:3380: error: in `/export/home/drkirkby/sage-4.2/spkg/build/libm4ri-20091118/src':
128configure:3384: error: C compiler cannot create executables
129See `config.log' for more details.
130
131## ---------------- ##
132## Cache variables. ##
133## ---------------- ##
134
135ac_cv_build=sparc-sun-solaris2.10
136ac_cv_env_CC_set=set
137ac_cv_env_CC_value=/opt/xxxsunstudio12.1/bin/cc
138ac_cv_env_CFLAGS_set=set
139ac_cv_env_CFLAGS_value=' -fPIC -I/export/home/drkirkby/sage-4.2/local/include/ -L/export/home/drkirkby/sage-4.2/local/lib -Wall -pedantic -g -O2'
140ac_cv_env_CPPFLAGS_set=set
141ac_cv_env_CPPFLAGS_value=-I/export/home/drkirkby/sage-4.2/local/include/
142ac_cv_env_CPP_set=
143ac_cv_env_CPP_value=
144ac_cv_env_LDFLAGS_set=set
145ac_cv_env_LDFLAGS_value=
146ac_cv_env_LIBS_set=
147ac_cv_env_LIBS_value=
148ac_cv_env_build_alias_set=
149ac_cv_env_build_alias_value=
150ac_cv_env_host_alias_set=
151ac_cv_env_host_alias_value=
152ac_cv_env_target_alias_set=
153ac_cv_env_target_alias_value=
154ac_cv_host=sparc-sun-solaris2.10
155ac_cv_path_install='/usr/local/bin/ginstall -c'
156ac_cv_prog_AWK=nawk
157ac_cv_prog_ac_ct_CC=/opt/xxxsunstudio12.1/bin/cc
158ac_cv_prog_make_make_set=yes
159
160## ----------------- ##
161## Output variables. ##
162## ----------------- ##
163
164ACLOCAL='${SHELL} /export/home/drkirkby/sage-4.2/spkg/build/libm4ri-20091118/src/missing --run aclocal-1.11'
165AMDEPBACKSLASH='\'
166AMDEP_FALSE='#'
167AMDEP_TRUE=''
168AMTAR='${SHELL} /export/home/drkirkby/sage-4.2/spkg/build/libm4ri-20091118/src/missing --run tar'
169AR='ar'
170AUTOCONF='${SHELL} /export/home/drkirkby/sage-4.2/spkg/build/libm4ri-20091118/src/missing --run autoconf'
171AUTOHEADER='${SHELL} /export/home/drkirkby/sage-4.2/spkg/build/libm4ri-20091118/src/missing --run autoheader'
172AUTOMAKE='${SHELL} /export/home/drkirkby/sage-4.2/spkg/build/libm4ri-20091118/src/missing --run automake-1.11'
173AWK='nawk'
174C99_FLAG=''
175CC='/opt/xxxsunstudio12.1/bin/cc'
176CCDEPMODE=''
177CFLAGS=' -fPIC -I/export/home/drkirkby/sage-4.2/local/include/ -L/export/home/drkirkby/sage-4.2/local/lib -Wall -pedantic -g -O2'
178CPP=''
179CPPFLAGS='-I/export/home/drkirkby/sage-4.2/local/include/'
180CYGPATH_W='echo'
181DEBUG_FLAGS=''
182DEFS=''
183DEPDIR='.deps'
184DSYMUTIL=''
185DUMPBIN=''
186ECHO_C=''
187ECHO_N='-n'
188ECHO_T=''
189EGREP=''
190EXEEXT=''
191FGREP=''
192GREP=''
193INSTALL_DATA='${INSTALL} -m 644'
194INSTALL_PROGRAM='${INSTALL}'
195INSTALL_SCRIPT='${INSTALL}'
196INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
197LD='ld'
198LDFLAGS=''
199LIBOBJS=''
200LIBS=''
201LIBTOOL=''
202LIPO=''
203LN_S=''
204LTLIBOBJS=''
205MAKEINFO='${SHELL} /export/home/drkirkby/sage-4.2/spkg/build/libm4ri-20091118/src/missing --run makeinfo'
206MKDIR_P='./install-sh -c -d'
207NM=''
208NMEDIT=''
209OBJDUMP=''
210OBJEXT=''
211OPENMP_CFLAGS=''
212OTOOL64=''
213OTOOL=''
214PACKAGE='libm4ri'
215PACKAGE_BUGREPORT=''
216PACKAGE_NAME='libm4ri'
217PACKAGE_STRING='libm4ri 1.0.1'
218PACKAGE_TARNAME='libm4ri'
219PACKAGE_URL=''
220PACKAGE_VERSION='1.0.1'
221PATH_SEPARATOR=':'
222RANLIB='ranlib'
223SED=''
224SET_MAKE=''
225SHELL='/bin/bash'
226SIMD_FLAGS=''
227STRIP=''
228VERSION='1.0.1'
229ac_ct_CC='/opt/xxxsunstudio12.1/bin/cc'
230ac_ct_DUMPBIN=''
231am__EXEEXT_FALSE=''
232am__EXEEXT_TRUE=''
233am__fastdepCC_FALSE=''
234am__fastdepCC_TRUE=''
235am__include='include'
236am__isrc=''
237am__leading_dot='.'
238am__quote=''
239am__tar='${AMTAR} chof - "$$tardir"'
240am__untar='${AMTAR} xf -'
241bindir='${exec_prefix}/bin'
242build='sparc-sun-solaris2.10'
243build_alias=''
244build_cpu='sparc'
245build_os='solaris2.10'
246build_vendor='sun'
247datadir='${datarootdir}'
248datarootdir='${prefix}/share'
249docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
250dvidir='${docdir}'
251exec_prefix='NONE'
252host='sparc-sun-solaris2.10'
253host_alias=''
254host_cpu='sparc'
255host_os='solaris2.10'
256host_vendor='sun'
257htmldir='${docdir}'
258includedir='/export/home/drkirkby/sage-4.2/local/include'
259infodir='${datarootdir}/info'
260install_sh='${SHELL} /export/home/drkirkby/sage-4.2/spkg/build/libm4ri-20091118/src/install-sh'
261libdir='${exec_prefix}/lib'
262libexecdir='${exec_prefix}/libexec'
263localedir='${datarootdir}/locale'
264localstatedir='${prefix}/var'
265lt_ECHO='echo'
266mandir='${datarootdir}/man'
267mkdir_p='$(top_builddir)/./install-sh -c -d'
268oldincludedir='/usr/include'
269pdfdir='${docdir}'
270prefix='/export/home/drkirkby/sage-4.2/local'
271program_transform_name='s,x,x,'
272psdir='${docdir}'
273sbindir='${exec_prefix}/sbin'
274sharedstatedir='${prefix}/com'
275sysconfdir='${prefix}/etc'
276target_alias=''
277
278## ----------- ##
279## confdefs.h. ##
280## ----------- ##
281
282/* confdefs.h */
283#define PACKAGE_NAME "libm4ri"
284#define PACKAGE_TARNAME "libm4ri"
285#define PACKAGE_VERSION "1.0.1"
286#define PACKAGE_STRING "libm4ri 1.0.1"
287#define PACKAGE_BUGREPORT ""
288#define PACKAGE_URL ""
289#define PACKAGE "libm4ri"
290#define VERSION "1.0.1"
291
292configure: exit 77