public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* C compiler cannot create executables gcc cross compiler
@ 2011-05-19 16:38 Exell Enrique. Franklin Jiménez
  2011-05-19 17:47 ` Jonathan Wakely
  0 siblings, 1 reply; 3+ messages in thread
From: Exell Enrique. Franklin Jiménez @ 2011-05-19 16:38 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 516 bytes --]

Cordial greetings. I have been trying to update the port of gcc 3.2 for the arch. dsp56800 to 4.6 without results.
So I decided to make it with an intermediate step and treat with 4.1.0, on having done it ,I obtain: 
Checking for C compiler default output file name ... form: mistake: C compiler cannot create executables Your See `config.log ' for dwell details.

 Some orientation in the matter?
 Ideas and/or help are welcome
 I've atached  config.log
 thank you in advance.


E.E.F.J.
arawaco@ieee.org

[-- Attachment #2: config.log.txt --]
[-- Type: text/plain, Size: 10124 bytes --]

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

It was created by libssp configure 1.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/libssp/configure --cache-file=./config.cache --build= --host=dsp56800-unknown-elf --target=dsp56800-unknown-elf --with-cross-host= -v --disable-threads --disable-multilib --without-headers --disable-decimal-float --enable-languages=c --prefix=/usr/local/dsp56800/ --target=dsp56800-unknown-elf --program-prefix=dsp56800-unknown-elf- --with-pkgversion=by E F J target_alias=dsp56800-unknown-elf --enable-languages=c --program-transform-name=s&^&dsp56800-unknown-elf-& --with-target-subdir=dsp56800-unknown-elf --srcdir=../.././libssp

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

hostname = debian
uname -m = i686
uname -r = 2.6.38-2-686
uname -s = Linux
uname -v = #1 SMP Sun May 8 14:49:45 UTC 2011

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/local/dsp56800/bin
PATH: /usr/local/sbin
PATH: /usr/local/bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /sbin
PATH: /bin


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

configure:1221: loading cache ./config.cache
configure:1349: checking build system type
configure:1367: result: i686-pc-linux-gnu
configure:1375: checking host system type
configure:1389: result: dsp56800-unknown-elf
configure:1397: checking target system type
configure:1411: result: dsp56800-unknown-elf
configure:1457: checking for a BSD-compatible install
configure:1512: result: /usr/bin/install -c
configure:1523: checking whether build environment is sane
configure:1566: result: yes
configure:1631: checking for gawk
configure:1647: found /usr/bin/gawk
configure:1657: result: gawk
configure:1667: checking whether make sets $(MAKE)
configure:1687: result: yes
configure:1763: checking for dsp56800-unknown-elf-strip
configure:1789: result: dsp56800-unknown-elf-strip
configure:1856: checking for --enable-version-specific-runtime-libs
configure:1871: result: no
configure:1874: checking whether to enable maintainer-specific portions of Makefiles
configure:1883: result: no
configure:1960: checking for dsp56800-unknown-elf-gcc
configure:1986: result: /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/xgcc -B/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/ -B/usr/local/dsp56800/dsp56800-unknown-elf/bin/ -B/usr/local/dsp56800/dsp56800-unknown-elf/lib/ -isystem /usr/local/dsp56800/dsp56800-unknown-elf/include -isystem /usr/local/dsp56800/dsp56800-unknown-elf/sys-include
configure:2268: checking for C compiler version
configure:2271: /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/xgcc -B/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/ -B/usr/local/dsp56800/dsp56800-unknown-elf/bin/ -B/usr/local/dsp56800/dsp56800-unknown-elf/lib/ -isystem /usr/local/dsp56800/dsp56800-unknown-elf/include -isystem /usr/local/dsp56800/dsp56800-unknown-elf/sys-include --version </dev/null >&5
xgcc (GCC) 4.1.0
Copyright (C) 2006 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:2274: $? = 0
configure:2276: /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/xgcc -B/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/ -B/usr/local/dsp56800/dsp56800-unknown-elf/bin/ -B/usr/local/dsp56800/dsp56800-unknown-elf/lib/ -isystem /usr/local/dsp56800/dsp56800-unknown-elf/include -isystem /usr/local/dsp56800/dsp56800-unknown-elf/sys-include -v </dev/null >&5
Reading specs from /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/specs
Target: dsp56800-unknown-elf
Configured with: ./configure elf
Thread model: single
gcc version 4.1.0
configure:2279: $? = 0
configure:2281: /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/xgcc -B/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/ -B/usr/local/dsp56800/dsp56800-unknown-elf/bin/ -B/usr/local/dsp56800/dsp56800-unknown-elf/lib/ -isystem /usr/local/dsp56800/dsp56800-unknown-elf/include -isystem /usr/local/dsp56800/dsp56800-unknown-elf/sys-include -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2284: $? = 1
configure:2307: checking for C compiler default output file name
configure:2310: /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/xgcc -B/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/ -B/usr/local/dsp56800/dsp56800-unknown-elf/bin/ -B/usr/local/dsp56800/dsp56800-unknown-elf/lib/ -isystem /usr/local/dsp56800/dsp56800-unknown-elf/include -isystem /usr/local/dsp56800/dsp56800-unknown-elf/sys-include -O2 -g -O2    conftest.c  >&5
conftest.c: In function 'main':
conftest.c:18: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
configure:2313: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "libssp"
| #define PACKAGE_TARNAME "libssp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "libssp 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libssp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2352: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=dsp56800-unknown-elf
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=dsp56800-unknown-elf
ac_cv_host=dsp56800-unknown-elf
ac_cv_host_alias=dsp56800-unknown-elf
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/xgcc -B/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/ -B/usr/local/dsp56800/dsp56800-unknown-elf/bin/ -B/usr/local/dsp56800/dsp56800-unknown-elf/lib/ -isystem /usr/local/dsp56800/dsp56800-unknown-elf/include -isystem /usr/local/dsp56800/dsp56800-unknown-elf/sys-include'
ac_cv_prog_STRIP=dsp56800-unknown-elf-strip
ac_cv_prog_make_make_set=yes
ac_cv_target=dsp56800-unknown-elf
ac_cv_target_alias=dsp56800-unknown-elf

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

ACLOCAL='${SHELL} /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/missing --run tar'
AUTOCONF='${SHELL} /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/missing --run autoconf'
AUTOHEADER='${SHELL} /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/missing --run autoheader'
AUTOMAKE='${SHELL} /usr/local/dsp56800/ucl/gcc/gcc-4.1.0/missing --run automake-1.9'
AWK='gawk'
CC='/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/xgcc -B/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/host-i686-pc-linux-gnu/gcc/ -B/usr/local/dsp56800/dsp56800-unknown-elf/bin/ -B/usr/local/dsp56800/dsp56800-unknown-elf/lib/ -isystem /usr/local/dsp56800/dsp56800-unknown-elf/include -isystem /usr/local/dsp56800/dsp56800-unknown-elf/sys-include'
CCDEPMODE=''
CFLAGS='-O2 -g -O2 '
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LIBOBJS=''
LIBS=''
LIBSSP_USE_SYMVER_FALSE=''
LIBSSP_USE_SYMVER_TRUE=''
LIBTOOL=''
LN_S=''
LTLIBOBJS=''
MAINT='#'
MAINTAINER_MODE_FALSE=''
MAINTAINER_MODE_TRUE='#'
MAKEINFO='/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/missing makeinfo --split-size=5000000'
OBJEXT=''
PACKAGE='libssp'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='libssp'
PACKAGE_STRING='libssp 1.0'
PACKAGE_TARNAME='libssp'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
RANLIB='dsp56800-unknown-elf-ranlib'
SET_MAKE=''
SHELL='/bin/bash'
STRIP='dsp56800-unknown-elf-strip'
VERSION='1.0'
ac_ct_CC=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
enable_shared=''
enable_static=''
exec_prefix='NONE'
host='dsp56800-unknown-elf'
host_alias='dsp56800-unknown-elf'
host_cpu='dsp56800'
host_os='elf'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/usr/local/dsp56800/ucl/gcc/gcc-4.1.0/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
multi_basedir='../.././libssp/..'
oldincludedir='/usr/include'
prefix='/usr/local/dsp56800/'
program_transform_name='s,^,dsp56800-unknown-elf-,;s&^&dsp56800-unknown-elf-&'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
ssp_have_usable_vsnprintf=''
sysconfdir='${prefix}/etc'
target='dsp56800-unknown-elf'
target_alias='dsp56800-unknown-elf'
target_cpu='dsp56800'
target_noncanonical='dsp56800-unknown-elf'
target_os='elf'
target_vendor='unknown'
toolexecdir=''
toolexeclibdir=''

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

#define PACKAGE "libssp"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "libssp"
#define PACKAGE_STRING "libssp 1.0"
#define PACKAGE_TARNAME "libssp"
#define PACKAGE_VERSION "1.0"
#define VERSION "1.0"

configure: exit 77

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: C compiler cannot create executables gcc cross compiler
  2011-05-19 16:38 C compiler cannot create executables gcc cross compiler Exell Enrique. Franklin Jiménez
@ 2011-05-19 17:47 ` Jonathan Wakely
  2011-06-07  7:47   ` C compiler cannot create executables gcc cross compiler SOLVED Exell Enrique. Franklin Jiménez
  0 siblings, 1 reply; 3+ messages in thread
From: Jonathan Wakely @ 2011-05-19 17:47 UTC (permalink / raw)
  To: arawaco; +Cc: gcc-help

On 19 May 2011 16:58, Exell Enrique. Franklin Jiménez wrote:
> Cordial greetings. I have been trying to update the port of gcc 3.2 for the arch. dsp56800 to 4.6 without results.
> So I decided to make it with an intermediate step and treat with 4.1.0, on having done it ,I obtain:
> Checking for C compiler default output file name ... form: mistake: C compiler cannot create executables Your See `config.log ' for dwell details.
>
>  Some orientation in the matter?
>  Ideas and/or help are welcome
>  I've atached  config.log
>  thank you in advance.

The error says to see config.log for more details, doing so shows:

conftest.c:18: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL:http://gcc.gnu.org/bugs.html> for instructions.
configure:2313: $? = 1
configure: failed program was:
| /* confdefs.h.  */
|
| #define PACKAGE_NAME "libssp"
| #define PACKAGE_TARNAME "libssp"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "libssp 1.0"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "libssp"
| #define VERSION "1.0"
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2352: error: C compiler cannot create executables
See `config.log' for more details.


Your compiler is broken if it gets a segfault for that trivial program.

You need a working compiler which can compile that small program.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: C compiler cannot create executables gcc cross compiler SOLVED
  2011-05-19 17:47 ` Jonathan Wakely
@ 2011-06-07  7:47   ` Exell Enrique. Franklin Jiménez
  0 siblings, 0 replies; 3+ messages in thread
From: Exell Enrique. Franklin Jiménez @ 2011-06-07  7:47 UTC (permalink / raw)
  To: gcc-help


> Fecha: jueves, 19 de mayo de 2011, 10:27 am
> On 19 May 2011 16:58, Exell Enrique.
> Franklin Jiménez wrote:
> > Cordial greetings. I have been trying to update the
> port of gcc 3.2 for the arch. dsp56800 to 4.6 without
> results.
> > So I decided to make it with an intermediate step and
> treat with 4.1.0, on having done it ,I obtain:
> > Checking for C compiler default output file name ...
> form: mistake: C compiler cannot create executables Your See
> `config.log ' for dwell details.
> >
> >  Some orientation in the matter?
> >  Ideas and/or help are welcome
> >  I've atached  config.log
> >  thank you in advance.
> 
> The error says to see config.log for more details, doing so
> shows:
> 
> conftest.c:18: internal compiler error: Segmentation fault
> Please submit a full bug report,
> with preprocessed source if appropriate.
> See <URL:http://gcc.gnu.org/bugs.html> for
> instructions.
> configure:2313: $? = 1
> configure: failed program was:
> | /* confdefs.h.  */
> |
> | #define PACKAGE_NAME "libssp"
> | #define PACKAGE_TARNAME "libssp"
> | #define PACKAGE_VERSION "1.0"
> | #define PACKAGE_STRING "libssp 1.0"
> | #define PACKAGE_BUGREPORT ""
> | #define PACKAGE "libssp"
> | #define VERSION "1.0"
> | /* end confdefs.h.  */
> |
> | int
> | main ()
> | {
> |
> |   ;
> |   return 0;
> | }
> configure:2352: error: C compiler cannot create
> executables
> See `config.log' for more details.
> 
> 
> Your compiler is broken if it gets a segfault for that
> trivial program.
> 
> You need a working compiler which can compile that small
> program.
> 
Cordial greetings after a lot of time and work 
the port update to 4.1 croos-compiler for dsp56800 works
to solve the last issue i did:
CFLAGS_FOR_TARGET without -g and o2 flags
 using --disable-libssp in the configure command
i'm going to try tu upload the port in somewhere 
and try to upgrade to 4.6.0 ver
thanks for you help
regards


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2011-06-07  1:52 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-19 16:38 C compiler cannot create executables gcc cross compiler Exell Enrique. Franklin Jiménez
2011-05-19 17:47 ` Jonathan Wakely
2011-06-07  7:47   ` C compiler cannot create executables gcc cross compiler SOLVED Exell Enrique. Franklin Jiménez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).