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

Bug#180383: gcc-3.2: [m68k] fails to build static executables



Package: gcc-3.2
Version: 1:3.2.2ds3-0pre3
Severity: important

bash-2.05b# gcc -v
Reading specs from /usr/lib/gcc-lib/m68k-linux/3.2.2/specs
Configured with: ../src/configure -v
--enable-languages=c,c++,java,f77,proto,pascal,objc --prefix=/usr
--mandir=/usr/share/man --infodir=/usr/share/info
--with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared
--with-system-zlib --enable-nls --without-included-gettext
--enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm
--enable-objc-gc m68k-linux
Thread model: posix
gcc version 3.2.2 20021231 (Debian prerelease)


While trying to build zsh, configure fails:

mkdir obj-static                                                                                    
cd obj-static && CFLAGS='-Wall -g -O2' ../configure --prefix=/usr --bindir=/bin --mandir=/usr/share/man --infodir=/usr/share/info --enable-maildir-support --enable-max-jobtable-size=256 --enable-function-subdirs --enable-site-fndir=/usr/local/share/zsh/site-functions --with-curses-terminfo --enable-etcdir=/etc/zsh --disable-dynamic --enable-ldflags=-static                                
configuring for zsh 4.0.6                                                                           
checking build system type... m68k-unknown-linux-gnu                                                
checking host system type... m68k-unknown-linux-gnu                                                 
checking for gcc... gcc                                                                             
checking for C compiler default output... configure: error: C compiler
cannot create executables    
See `config.log' for more details.                                                               

extract from config.log:

configure:2077: gcc -v </dev/null >&5
Reading specs from /usr/lib/gcc-lib/m68k-linux/3.2.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,proto,pascal,objc --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.2 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-java-gc=boehm --enable-objc-gc m68k-linux
Thread model: posix
gcc version 3.2.2 20021231 (Debian prerelease)
configure:2080: $? = 0
configure:2082: gcc -V </dev/null >&5
gcc: argument to `-V' is missing
configure:2085: $? = 1
configure:2109: checking for C compiler default output
configure:2112: gcc -Wall -g -O2  -static conftest.c  >&5
/usr/bin/ld: cannot open crtbeginT.o: No such file or directory
collect2: ld returned 1 exit status
configure:2115: $? = 1
configure: failed program was:
| #line 2088 "configure"
| /* confdefs.h.  */
|
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| #define MACHTYPE "m68k"
| #define VENDOR "unknown"
| #define OSTYPE "linux-gnu"
| #define GLOBAL_ZSHENV "/etc/zsh/zshenv"
| #define GLOBAL_ZSHRC "/etc/zsh/zshrc"
| #define GLOBAL_ZPROFILE "/etc/zsh/zprofile"
| #define GLOBAL_ZLOGIN "/etc/zsh/zlogin"
| #define GLOBAL_ZLOGOUT "/etc/zsh/zlogout"
| #define RESTRICTED_R 1
| #define CONFIG_LOCALE 1
| #define MAILDIR_SUPPORT 1
| /* end confdefs.h.  */
|
| int
| main ()
| {
|
|   ;
|   return 0;
| }
configure:2154: error: C compiler cannot create executables
See `config.log' for more details.


Christian
-- System Information
Debian Release: testing/unstable
Architecture: m68k
Kernel: Linux aahz 2.2.20 #1 Thu Jul 4 16:58:06 EDT 2002 m68k
Locale: LANG=C, LC_CTYPE=C




Reply to: