About the host compiler:

MacBookPro15:~/Developer/Compiler/gcc-head drew$ gcc -v
Using built-in specs.
Target: i686-apple-darwin8
Configured with: /Users/drew/Developer/Compiler/gcc-head/configure
--target=i686-apple-darwin8 --host=i686-apple-darwin8
--build=i686-apple-darwin8 --prefix=/usr/local/ada-4.2 --disable-libssp
--with-arch=pentium-m --with-tune=prescott --enable-languages=c,ada
Thread model: posix
gcc version 4.2.0 20060409 (experimental)


Configure command:

MacBookPro15:~/Developer/Compiler/gcc-head drew$ contrib/gcc_build -c
'--enable-checking=release --prefix=/usr/local/ada-4.3 --with-arch=nocona
--with-tune=generic --host=i686-apple-darwin8 --target=i686-apple-darwin8
--build=i686-apple-darwin8 --with-gmp=/opt/local --with-mpfr=/opt/local
--enable-languages=c,ada' -d $PWD -o $PWD/build update build test

Information from 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.59.  Invocation command line was

  $ /Users/drew/Developer/Compiler/gcc-head/intl/configure
--cache-file=./config.cache --build=i686-apple-darwin8
--host=i686-apple-darwin8 --target=i686-apple-darwin8 --enable-checking=release
--prefix=/usr/local/ada-4.3 --with-arch=nocona --with-tune=generic
--with-gmp=/opt/local --with-mpfr=/opt/local --enable-languages=c,ada
--program-transform-name=s,y,y,
--srcdir=/Users/drew/Developer/Compiler/gcc-head/intl --with-build-libsubdir=.
--enable-werror-always

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

hostname = MacBookPro15.local
uname -m = i386
uname -r = 8.8.1
uname -s = Darwin
uname -v = Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006;
root:xnu-792.13.8.obj~1/RELEASE_I386

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

/bin/arch              = unknown
/usr/bin/arch -k       = unknown
/usr/convex/getsysinfo = unknown
hostinfo               = Mach kernel version:
         Darwin Kernel Version 8.8.1: Mon Sep 25 19:42:00 PDT 2006;
root:xnu-792.13.8.obj~1/RELEASE_I386
Kernel configured for up to 2 processors.
2 processors are physically available.
2 processors are logically available.
Processor type: i486 (Intel 80486)
Processors active: 0 1
Primary memory available: 1.00 gigabytes
Default processor set: 81 tasks, 255 threads, 2 processors
Load average: 3.45, Mach factor: 0.31
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

Information about the failure:

configure:2092:  /Users/drew/Developer/Compiler/gcc-head/build/./prev-gcc/xgcc
-B/Users/drew/Developer/Compiler/gcc-head/build/./prev-gcc/
-B/usr/local/ada-4.3/i686-apple-darwin8/bin/ -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2095: $? = 1
configure:2118: checking for C compiler default output file name
configure:2121:  /Users/drew/Developer/Compiler/gcc-head/build/./prev-gcc/xgcc
-B/Users/drew/Developer/Compiler/gcc-head/build/./prev-gcc/
-B/usr/local/ada-4.3/i686-apple-darwin8/bin/ -O2 -g -fomit-frame-pointer  
conftest.c  >&5
ERROR: No debug map or DWARF data was found to link.configure:2124: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
| #define PACKAGE_STRING ""
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2163: error: C compiler cannot create executables
See `config.log' for more details.


-- 
           Summary: No debug symbols when compiling stage2 compiler with -O2
                    -g
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: awreynolds at mac dot com
 GCC build triplet: i686-apple-darwin8
  GCC host triplet: i686-apple-darwin8
GCC target triplet: i686-apple-darwin8


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29747

Reply via email to