[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#510283: gcc-4.1: internal compiler error: Segmentation fault



Package: gcc-4.1
Version: 4.1.1-21
Severity: serious
Justification: no longer builds from source


Trying to build asterisk-addons-1.4.7 from http://downloads.digium.com/pub/asterisk/, during the execution of the command ./configure the systems returns: 

asterisk:/usr/src/asterisk-addons-1.4.7# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking for uname... /bin/uname
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.
asterisk:/usr/src/asterisk-addons-1.4.7# 

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 configure, which was
generated by GNU Autoconf 2.61.  Invocation command line was

  $ ./configure

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

hostname = asterisk
uname -m = i686
uname -r = 2.6.18-6-686
uname -s = Linux
uname -v = #1 SMP Fri Dec 12 16:48:28 UTC 2008

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

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

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


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

configure:1785: checking build system type
configure:1803: result: i686-pc-linux-gnu
configure:1825: checking host system type
configure:1840: result: i686-pc-linux-gnu
configure:1862: checking target system type
configure:1877: result: i686-pc-linux-gnu
configure:2010: checking for uname
configure:2028: found /bin/uname
configure:2040: result: /bin/uname
configure:2890: checking for gcc
configure:2906: found /usr/bin/gcc
configure:2917: result: gcc
configure:3155: checking for C compiler version
configure:3162: gcc --version >&5
gcc (GCC) 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
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:3165: $? = 0
configure:3172: gcc -v >&5
Using built-in specs.
Target: i486-linux-gnu
Configured with: ../src/configure -v --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr --enable-shared --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --enable-nls --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu --enable-libstdcxx-debug --enable-mpfr --with-tune=i686 --enable-checking=release i486-linux-gnu
Thread model: posix
gcc version 4.1.2 20061115 (prerelease) (Debian 4.1.1-21)
configure:3175: $? = 0
configure:3182: gcc -V >&5
gcc: '-V' option must have argument
configure:3185: $? = 1
configure:3208: checking for C compiler default output file name
configure:3235: gcc    conftest.c  >&5
cc1: 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.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.1/README.Bugs>.
configure:3238: $? = 1
configure:3276: result:
configure: failed program was:
| /* confdefs.h.  */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define PBX_PLATFORM "i686-pc-linux-gnu"
| #define PBX_CPU "i686"
| #define PBX_VENDOR "pc"
| #define PBX_OS "linux-gnu"
| #define Linux 1
| #define _GNU_SOURCE 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:3283: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
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_CXXFLAGS_set=
ac_cv_env_CXXFLAGS_value=
ac_cv_env_CXX_set=
ac_cv_env_CXX_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_LIBS_set=
ac_cv_env_LIBS_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=i686-pc-linux-gnu
ac_cv_path_ac_pt_UNAME=/bin/uname
ac_cv_prog_ac_ct_CC=gcc
ac_cv_target=i686-pc-linux-gnu

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

AR=''
ASTERISK_INCLUDE=''
ASTERISK_LIB=''
AWK=''
BASENAME=''
CC='gcc'
CFLAGS=''
CPP=''
CPPFLAGS=''
CURSES_INCLUDE=''
CURSES_LIB=''
CXX=''
CXXFLAGS=''
DEFS=''
DIRNAME=''
DLLWRAP=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
GNU_MAKE=''
GREP=''
INSTALL_DATA=''
INSTALL_PROGRAM=''
INSTALL_SCRIPT=''
LDFLAGS=''
LIBOBJS=''
LIBS=''
LN=''
LN_S=''
LTLIBOBJS=''
MYSQLCLIENT_INCLUDE=''
MYSQLCLIENT_LIB=''
MYSQL_CONFIG=''
NCURSES_INCLUDE=''
NCURSES_LIB=''
NM=''
OBJEXT=''
OSISWIN32=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
PBX_ASTERISK=''
PBX_CPU='i686'
PBX_CURSES=''
PBX_MYSQLCLIENT=''
PBX_NCURSES=''
PBX_OS='linux-gnu'
PBX_OSREV='2.6.18-6-686'
PBX_OSTYPE='Linux'
PBX_PLATFORM='i686-pc-linux-gnu'
PBX_VENDOR='pc'
RANLIB=''
SHELL='/bin/sh'
UNAME='/bin/uname'
WINDRES=''
ac_ct_CC='gcc'
ac_ct_CXX=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='/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'
sysconfdir='/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

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

#define PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define PBX_PLATFORM "i686-pc-linux-gnu"
#define PBX_CPU "i686"
#define PBX_VENDOR "pc"
#define PBX_OS "linux-gnu"
#define Linux 1
#define _GNU_SOURCE 1

configure: exit 77


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-6-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages gcc-4.1 depends on:
ii  binutils               2.17-3            The GNU assembler, linker and bina
ii  cpp-4.1                4.1.1-21          The GNU C preprocessor
ii  gcc-4.1-base           4.1.1-21          The GNU Compiler Collection (base 
ii  libc6                  2.3.6.ds1-13etch8 GNU C Library: Shared libraries
ii  libgcc1                1:4.1.1-21        GCC support library
ii  libssp0                4.1.1-21          GCC stack smashing protection libr

Versions of packages gcc-4.1 recommends:
ii  libc6-dev              2.3.6.ds1-13etch8 GNU C Library: Development Librari
pn  libmudflap0-dev        <none>            (no description available)

-- no debconf information



Reply to: