[LLVMdev] Configure problem of llvm2.5 in Mac OS X 10.4.11

Murat B murat8307 at yahoo.com
Wed Jun 17 15:07:10 PDT 2009


Hi,

I am trying to install llvm 2.5 in my PowerPC machine. I have already installed XCode Tools 2.4.1.
I can compile programs using gcc run them.
I try to configure llvm 2.5, the configuration aborts with following message:

checking build system type... powerpc-apple-darwin8.11.0
checking host system type... powerpc-apple-darwin8.11.0
checking target system type... powerpc-apple-darwin8.11.0
checking type of operating system we're going to host on... Darwin
checking target architecture... PowerPC
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.

Does anyone know why it aborts at that point? I also copy the content of config.log below.

Thanks or your help in advance!

Sincelery,
Murat

File: config.log
===========

This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by llvm configure 2.5, which was
generated by GNU Autoconf 2.60.  Invocation command line was

  $ ./configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = x.local
uname -m = Power Macintosh
uname -r = 8.11.0
uname -s = Darwin
uname -v = Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC

/usr/bin/uname -p = powerpc
/bin/uname -X     = unknown

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
/usr/bin/hostinfo      = Mach kernel version:
     Darwin Kernel Version 8.11.0: Wed Oct 10 18:26:00 PDT 2007; root:xnu-792.24.17~1/RELEASE_PPC
Kernel configured for up to 2 processors.
2 processors are physically available.
Processor type: ppc970 (PowerPC 970)
Processors active: 0 1
Primary memory available: 4.50 gigabytes
Default processor set: 52 tasks, 173 threads, 2 processors
Load average: 0.81, Mach factor: 1.18
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /Users/bolat/bin
PATH: /opt/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/local/sbin/
PATH: /usr/sbin
PATH: /sbin
PATH: /sw/bin
PATH: /usr/local/teTeX/bin/powerpc-apple-darwin-current
PATH: /sw/LessTif/Motif2.0/bin
PATH: /usr/X11R6/bin
PATH: /Developer/Tools


## ----------- ##
## Core tests. ##
## ----------- ##

configure:2131: checking build system type
configure:2149: result: powerpc-apple-darwin8.11.0
configure:2171: checking host system type
configure:2186: result: powerpc-apple-darwin8.11.0
configure:2208: checking target system type
configure:2223: result: powerpc-apple-darwin8.11.0
configure:2252: checking type of operating system we're going to host on
configure:2335: result: Darwin
configure:2377: checking target architecture
configure:2396: result: PowerPC
configure:2455: checking for gcc
configure:2471: found /usr/bin/gcc
configure:2482: result: gcc
configure:2720: checking for C compiler version
configure:2727: gcc --version >&5
powerpc-apple-darwin8-gcc-4.0.1 (GCC) 4.0.1 (Apple Computer, Inc. build 5367)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2730: $? = 0
configure:2737: gcc -v >&5
Using built-in specs.
Target: powerpc-apple-darwin8
Configured with: /private/var/tmp/gcc/gcc-5367.obj~1/src/configure --disable-checking -enable-werror --prefix=/usr --mandir=/share/man --enable-languages=c,objc,c++,obj-c++ --program-transform-name=/^[cg][^.-]*$/s/$/-4.0/ --with-gxx-include-dir=/include/c++/4.0.0 --with-slibdir=/usr/lib --build=powerpc-apple-darwin8 --host=powerpc-apple-darwin8 --target=powerpc-apple-darwin8
Thread model: posix
gcc version 4.0.1 (Apple Computer, Inc. build 5367)
configure:2740: $? = 0
configure:2747: gcc -V >&5
gcc: argument to `-V' is missing
configure:2750: $? = 1
configure:2773: checking for C compiler default output file name
configure:2800: gcc   -flat-namespace conftest.c  >&5
cc1: error: unrecognized command line option "-flat-namespace"
configure:2803: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME "llvm"
| #define PACKAGE_TARNAME "-llvm-"
| #define PACKAGE_VERSION "2.5"
| #define PACKAGE_STRING "llvm 2.5"
| #define PACKAGE_BUGREPORT "llvmbugs at cs.uiuc.edu"
| #define LLVM_ON_UNIX 1
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2842: error: C compiler cannot create executables
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_build=powerpc-apple-darwin8.11.0
ac_cv_env_CCC_set=
ac_cv_env_CCC_value=
ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_CXXCPP_set=
ac_cv_env_CXXCPP_value=
ac_cv_env_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_F77_set=
ac_cv_env_F77_value=
ac_cv_env_FFLAGS_set=
ac_cv_env_FFLAGS_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=-flat-namespace
ac_cv_env_YACC_set=
ac_cv_env_YACC_value=
ac_cv_env_YFLAGS_set=
ac_cv_env_YFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_host=powerpc-apple-darwin8.11.0
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=powerpc-apple-darwin8.11.0
llvm_cv_link_all_option=-Wl,-all_load
llvm_cv_no_link_all_option=-Wl,-noall_load
llvm_cv_os_type=Darwin
llvm_cv_platform_type=Unix
llvm_cv_target_arch=PowerPC

## ----------------- ##
## Output variables. ##
## ----------------- ##

ALLOCA=''
ALL_BINDINGS=''
AR=''
ARCH='PowerPC'
BINDINGS_TO_BUILD=''
BINPWD=''
BISON=''
BUILD_CC=''
BUILD_CXX=''
BUILD_EXEEXT=''
BZIP2=''
CC='gcc'
CFLAGS=''
CMP=''
CONVENIENCE_LTDL_FALSE=''
CONVENIENCE_LTDL_TRUE=''
CP=''
CPP=''
CPPFLAGS=''
CVSBUILD=''
CXX=''
CXXCPP=''
CXXFLAGS=''
DATE=''
DEBUG_RUNTIME=''
DEFS=''
DISABLE_ASSERTIONS=''
DOT=''
DOTTY=''
DOXYGEN=''
ECHO='echo'
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
ENABLE_CBE_PRINTF_A=''
ENABLE_DOXYGEN=''
ENABLE_EXPENSIVE_CHECKS=''
ENABLE_OPTIMIZED=''
ENABLE_PIC=''
ENABLE_THREADS=''
ENABLE_VISIBILITY_INLINES_HIDDEN=''
ENDIAN=''
EXEEXT=''
EXPENSIVE_CHECKS=''
EXTRA_OPTIONS=''
F77=''
FFLAGS=''
FIND=''
FLEX=''
GAS=''
GRAPHVIZ=''
GREP=''
GROFF=''
GV=''
GZIP=''
HAVE_PERL=''
HAVE_PTHREAD=''
HUGE_VAL_SANITY=''
INSTALL_DATA=''
INSTALL_LTDL_FALSE=''
INSTALL_LTDL_TRUE=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
JIT=''
LDFLAGS='-flat-namespace'
LEX=''
LEXLIB=''
LEX_OUTPUT_ROOT=''
LIBADD_DL=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LINKALL='-Wl,-all_load'
LLVMCC1=''
LLVMCC1PLUS=''
LLVMGCC=''
LLVMGCCDIR=''
LLVMGCCLIBEXEC=''
LLVMGCC_LANGS=''
LLVMGCC_MAJVERS=''
LLVMGCC_VERSION=''
LLVMGXX=''
LLVM_BINDIR=''
LLVM_CONFIGTIME=''
LLVM_COPYRIGHT='Copyright (c) 2003-2008 University of Illinois at Urbana-Champaign.'
LLVM_CROSS_COMPILING=''
LLVM_DATADIR=''
LLVM_DOCSDIR=''
LLVM_ETCDIR=''
LLVM_INCLUDEDIR=''
LLVM_INFODIR=''
LLVM_LIBDIR=''
LLVM_MANDIR=''
LLVM_ON_UNIX='1'
LLVM_ON_WIN32='0'
LLVM_PREFIX=''
LN_S=''
LTLIBOBJS=''
MKDIR=''
MMAP_FILE=''
MV=''
NM=''
NOLINKALL='-Wl,-noall_load'
OBJEXT=''
OCAMLC=''
OCAMLDEP=''
OCAMLDOC=''
OCAMLOPT=''
OCAML_LIBDIR=''
OS='Darwin'
PACKAGE_BUGREPORT='llvmbugs at cs.uiuc.edu'
PACKAGE_NAME='llvm'
PACKAGE_STRING='llvm 2.5'
PACKAGE_TARNAME='-llvm-'
PACKAGE_VERSION='2.5'
PATH_SEPARATOR=':'
PERL=''
POD2HTML=''
POD2MAN=''
RANLIB=''
RM=''
RUNTEST=''
SED=''
SHELL='/bin/sh'
SHLIBEXT=''
STRIP=''
TAR=''
TARGETS_TO_BUILD=''
TARGET_HAS_JIT=''
TCLSH=''
USE_UDIS86=''
YACC=''
YFLAGS=''
ZIP=''
ac_ct_CC='gcc'
ac_ct_CXX=''
ac_ct_F77=''
bindir='${exec_prefix}/bin'
build='powerpc-apple-darwin8.11.0'
build_alias=''
build_cpu='powerpc'
build_os='darwin8.11.0'
build_vendor='apple'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='powerpc-apple-darwin8.11.0'
host_alias=''
host_cpu='powerpc'
host_os='darwin8.11.0'
host_vendor='apple'
htmldir='${docdir}'
ifGNUmake=''
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
mandir='${datarootdir}/man'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='NONE'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
subdirs=' projects/sample'
sysconfdir='${prefix}/etc'
target='powerpc-apple-darwin8.11.0'
target_alias=''
target_cpu='powerpc'
target_os='darwin8.11.0'
target_vendor='apple'

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE_NAME "llvm"
#define PACKAGE_TARNAME "-llvm-"
#define PACKAGE_VERSION "2.5"
#define PACKAGE_STRING "llvm 2.5"
#define PACKAGE_BUGREPORT "llvmbugs at cs.uiuc.edu"
#define LLVM_ON_UNIX 1

configure: exit 77




      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20090617/51f14d9d/attachment.html>


More information about the llvm-dev mailing list