[Bug c/37612] New: libgcc/configure (as script)fail with "line 77 exec : : not found."
nospamname at web dot de
gcc-bugzilla@gcc.gnu.org
Mon Sep 22 11:03:00 GMT 2008
I get configure error in libgcc/configure.
the new gcc compiler seem build and here, but the script as(attached) does exec
a empty name in line 77 and report exec : : not found.
this happen too when i want compile a program by hand and type
xgcc test.c
where test.c contain this
main()
{
}
so something seem wrong with the files that start as or the linker
here is my config.log and as file
Please help whats going wrong with the build of gcc
------------------------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ /w/gcc-4.3.2/libgcc/configure --cache-file=./config.cache --enable-multilib
--with-cross-host=i686-pc-cygwin --with-cpu=68040 --enable-languages=c,c++
--program-transform-name=s,^,amigaos-, --with-target-subdir=amigaos
--build=i686-pc-cygwin --host=amigaos --target=amigaos
--srcdir=/w/gcc-4.3.2/libgcc
## --------- ##
## Platform. ##
## --------- ##
hostname = bernd
uname -m = i686
uname -r = 1.5.25(0.156/4/2)
uname -s = CYGWIN_NT-5.1
uname -v = 2008-06-12 19:34
/usr/bin/uname -p = unknown
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /w/obj_68k_4/gcc
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /cygdrive/f/Programme/Microsoft DirectX SDK (March
2008)/Utilities/Bin/x86
PATH: /cygdrive/c/Programme/PC Connectivity Solution/
PATH: /cygdrive/c/WINDOWS/system32
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/System32/Wbem
PATH: /cygdrive/e/Programme/QuickTime/QTSystem/
PATH: /cygdrive/c/WINDOWS/system32/kktools
PATH: /cygdrive/e/Programme/TortoiseSVN/bin
PATH: /cygdrive/c/PROGRA~1/CVSFOR~1
PATH: /cygdrive/c/WINDOWS
PATH: /cygdrive/c/WINDOWS/COMMAND
PATH: /cygdrive/c/PROGRAMME/GEMEINSAME
PATH: DATEIEN/GIS/TOOLS
PATH: "C
PATH: /PROGRAMME/GEMEINSAME DATEIEN/GIS/TOOLS"
PATH: /usr/lib/lapack
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1190: loading cache ./config.cache
configure:1373: checking for --enable-version-specific-runtime-libs
configure:1388: result: no
configure:1420: checking for a BSD-compatible install
configure:1475: result: /usr/bin/install -c
configure:1491: checking for gawk
configure:1507: found /usr/bin/gawk
configure:1517: result: gawk
configure:1540: checking build system type
configure:1558: result: i686-pc-cygwin
configure:1566: checking host system type
configure:1580: result: m68k-unknown-amigaos
configure:1639: checking for amigaos-ar
configure:1665: result: amigaos-ar
configure:1718: checking for amigaos-lipo
configure:1744: result: amigaos-lipo
configure:1798: checking for amigaos-nm
configure:1824: result: /w/obj_68k_4/./gcc/nm
configure:1877: checking for amigaos-ranlib
configure:1903: result: amigaos-ranlib
configure:1957: checking for amigaos-strip
configure:1983: result: amigaos-strip
configure:2034: checking whether ln -s works
configure:2038: result: yes
configure:2055: checking for amigaos-gcc
configure:2081: result: /w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/
-B/usr/local/amigaos/bin/ -B/usr/local/amigaos/lib/ -isystem
/usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include
configure:2363: checking for C compiler version
configure:2366: /w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/
-B/usr/local/amigaos/bin/ -B/usr/local/amigaos/lib/ -isystem
/usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include --version </dev/null >&5
xgcc (GCC) 4.3.2
Copyright (C) 2008 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:2369: $? = 0
configure:2371: /w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/
-B/usr/local/amigaos/bin/ -B/usr/local/amigaos/lib/ -isystem
/usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include -v </dev/null >&5
Reading specs from /w/obj_68k_4/./gcc/specs
Target: amigaos
Configured with: /w/gcc-4.3.2/configure --target=amigaos --with-cpu=68040
Thread model: single
gcc version 4.3.2 (GCC)
configure:2374: $? = 0
configure:2376: /w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/
-B/usr/local/amigaos/bin/ -B/usr/local/amigaos/lib/ -isystem
/usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2379: $? = 1
configure:2398: /w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/
-B/usr/local/amigaos/bin/ -B/usr/local/amigaos/lib/ -isystem
/usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include -o conftest -O2 -g -g -O2 conftest.c >&5
/w/obj_68k_4/./gcc/as: line 77: exec: : not found
configure:2401: $? = 1
configure:2567: checking for suffix of object files
configure:2588: /w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/
-B/usr/local/amigaos/bin/ -B/usr/local/amigaos/lib/ -isystem
/usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include -c -O2 -g -g -O2 conftest.c >&5
/w/obj_68k_4/./gcc/as: line 77: exec: : not found
configure:2591: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2605: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_build=i686-pc-cygwin
ac_cv_build_alias=i686-pc-cygwin
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/
-B/usr/local/amigaos/bin/ -B/usr/local/amigaos/lib/ -isystem
/usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-O2 -g -g -O2 '
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-cygwin
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=amigaos
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=amigaos
ac_cv_host=m68k-unknown-amigaos
ac_cv_host_alias=amigaos
ac_cv_prog_AR=amigaos-ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/
-B/usr/local/amigaos/bin/ -B/usr/local/amigaos/lib/ -isystem
/usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include'
ac_cv_prog_LIPO=amigaos-lipo
ac_cv_prog_NM=/w/obj_68k_4/./gcc/nm
ac_cv_prog_RANLIB=amigaos-ranlib
ac_cv_prog_STRIP=amigaos-strip
## ----------------- ##
## Output variables. ##
## ----------------- ##
AR='amigaos-ar'
AWK='gawk'
CC='/w/obj_68k_4/./gcc/xgcc -B/w/obj_68k_4/./gcc/ -B/usr/local/amigaos/bin/
-B/usr/local/amigaos/lib/ -isystem /usr/local/amigaos/include -isystem
/usr/local/amigaos/sys-include'
CFLAGS='-O2 -g -g -O2 '
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIPO='amigaos-lipo'
LN_S='ln -s'
LTLIBOBJS=''
NM='/w/obj_68k_4/./gcc/nm'
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU C Runtime Library'
PACKAGE_STRING='GNU C Runtime Library 1.0'
PACKAGE_TARNAME='libgcc'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
RANLIB='amigaos-ranlib'
SHELL='/bin/sh'
STRIP='amigaos-strip'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_LIPO=''
ac_ct_NM=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
asm_hidden_op=''
bindir='${exec_prefix}/bin'
build='i686-pc-cygwin'
build_alias='i686-pc-cygwin'
build_cpu='i686'
build_libsubdir='build-i686-pc-cygwin'
build_os='cygwin'
build_subdir='build-i686-pc-cygwin'
build_vendor='pc'
datadir='${prefix}/share'
decimal_float=''
enable_decimal_float=''
enable_shared='yes'
exec_prefix='NONE'
extra_parts=''
fixed_point=''
host='m68k-unknown-amigaos'
host_alias='amigaos'
host_cpu='m68k'
host_noncanonical='amigaos'
host_os='amigaos'
host_subdir='.'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_topdir='/w/gcc-4.3.2/libgcc/..'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,^,amigaos-,'
sbindir='${exec_prefix}/sbin'
set_have_cc_tls=''
sharedstatedir='${prefix}/com'
slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
sysconfdir='${prefix}/etc'
target_alias='amigaos'
target_subdir='amigaos'
tmake_file=''
vis_hide=''
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"
configure: exit 1
-------------------------------------------------------
here is my as file (from $OBJDIR/gcc/as)
this line fail
exec "$original" ${1+"$@"}
--------------------------------------------------------------
#! /bin/sh
# Copyright (C) 2007 Free Software Foundation, Inc.
# This file is part of GCC.
# GCC is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 3, or (at your option)
# any later version.
# GCC is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
# You should have received a copy of the GNU General Public License
# along with GCC; see the file COPYING3. If not see
# <http://www.gnu.org/licenses/>.
# Invoke as, ld or nm from the build tree.
ORIGINAL_AS_FOR_TARGET=""
ORIGINAL_LD_FOR_TARGET=""
ORIGINAL_NM_FOR_TARGET=""
exeext=.exe
fast_install=needless
objdir=.libs
invoked=`basename "$0"`
case "$invoked" in
as)
original=$ORIGINAL_AS_FOR_TARGET
prog=as-new$exeext
dir=gas
;;
collect-ld)
original=$ORIGINAL_LD_FOR_TARGET
prog=ld-new$exeext
dir=ld
;;
nm)
original=$ORIGINAL_NM_FOR_TARGET
prog=nm-new$exeext
dir=binutils
;;
esac
case "$original" in
../*)
# compute absolute path of the location of this script
tdir=`dirname "$0"`
scriptdir=`cd "$tdir" && pwd`
if test -x $scriptdir/../$dir/$prog; then
test "$fast_install" = yes || exec $scriptdir/../$dir/$prog ${1+"$@"}
# if libtool did everything it needs to do, there's a fast path
lt_prog=$scriptdir/../$dir/$objdir/lt-$prog
test -x $lt_prog && exec $lt_prog ${1+"$@"}
# libtool has not relinked ld-new yet, but we cannot just use the
# previous stage (because then the relinking would just never happen!).
# So we take extra care to use prev-ld/ld-new *on recursive calls*.
test -f $lt_prog-recursive && exec $scriptdir/../prev-$dir/$prog
${1+"$@"}
touch $lt_prog-recursive
$scriptdir/../$dir/$prog ${1+"$@"}
result=$?
rm -f $lt_prog-recursive
exit $result
else
exec $scriptdir/../prev-$dir/$prog ${1+"$@"}
fi
;;
*)
exec "$original" ${1+"$@"}
;;
esac
--
Summary: libgcc/configure (as script)fail with "line 77 exec :
: not found."
Product: gcc
Version: 4.3.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: nospamname at web dot de
GCC build triplet: cygwin 686
GCC host triplet: Cygwin 686 (amigaos 68k)
GCC target triplet: amigaos 68k
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37612
More information about the Gcc-bugs
mailing list