public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/29747]  New: No debug symbols when compiling stage2 compiler with -O2 -g
@ 2006-11-07  2:36 awreynolds at mac dot com
  2006-11-07  2:38 ` [Bug bootstrap/29747] " awreynolds at mac dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: awreynolds at mac dot com @ 2006-11-07  2:36 UTC (permalink / raw)
  To: gcc-bugs

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


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

* [Bug bootstrap/29747] No debug symbols when compiling stage2 compiler with -O2 -g
  2006-11-07  2:36 [Bug bootstrap/29747] New: No debug symbols when compiling stage2 compiler with -O2 -g awreynolds at mac dot com
@ 2006-11-07  2:38 ` awreynolds at mac dot com
  2006-11-07  2:40 ` awreynolds at mac dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: awreynolds at mac dot com @ 2006-11-07  2:38 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #1 from awreynolds at mac dot com  2006-11-07 02:38 -------
Created an attachment (id=12557)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=12557&action=view)
intl/config.log

Stage 2 configure of intl


-- 


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


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

* [Bug bootstrap/29747] No debug symbols when compiling stage2 compiler with -O2 -g
  2006-11-07  2:36 [Bug bootstrap/29747] New: No debug symbols when compiling stage2 compiler with -O2 -g awreynolds at mac dot com
  2006-11-07  2:38 ` [Bug bootstrap/29747] " awreynolds at mac dot com
@ 2006-11-07  2:40 ` awreynolds at mac dot com
  2006-11-07  3:39 ` [Bug target/29747] " pinskia at gcc dot gnu dot org
  2006-11-26  0:04 ` [Bug target/29747] [4.3 Regression] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: awreynolds at mac dot com @ 2006-11-07  2:40 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #2 from awreynolds at mac dot com  2006-11-07 02:40 -------
Information from the command line:

Configuring stage 2 in ./intl
configure: creating cache ./config.cache
checking whether make sets $(MAKE)... yes
checking for a BSD-compatible install... /usr/bin/install -c
checking whether NLS is requested... yes
checking for msgfmt... /opt/local/bin/msgfmt
checking for gmsgfmt... /opt/local/bin/msgfmt
checking for xgettext... /opt/local/bin/xgettext
checking for msgmerge... /opt/local/bin/msgmerge
checking for i686-apple-darwin8-gcc... 
/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/
checking for C compiler default output file name... configure: error: C
compiler cannot create executables
See `config.log' for more details.
make[2]: *** [configure-stage2-intl] Error 77
make[1]: *** [stage2-bubble] Error 2
make: *** [bootstrap] Error 2
gcc_build: error: Could not bootstrap the compiler


-- 


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


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

* [Bug target/29747] No debug symbols when compiling stage2 compiler with -O2 -g
  2006-11-07  2:36 [Bug bootstrap/29747] New: No debug symbols when compiling stage2 compiler with -O2 -g awreynolds at mac dot com
  2006-11-07  2:38 ` [Bug bootstrap/29747] " awreynolds at mac dot com
  2006-11-07  2:40 ` awreynolds at mac dot com
@ 2006-11-07  3:39 ` pinskia at gcc dot gnu dot org
  2006-11-26  0:04 ` [Bug target/29747] [4.3 Regression] " pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-07  3:39 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #3 from pinskia at gcc dot gnu dot org  2006-11-07 03:39 -------
http://gcc.gnu.org/ml/gcc-patches/2006-11/msg00168.html


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Severity|normal                      |blocker
          Component|bootstrap                   |target
           Keywords|                            |build
   Target Milestone|---                         |4.3.0


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


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

* [Bug target/29747] [4.3 Regression] No debug symbols when compiling stage2 compiler with -O2 -g
  2006-11-07  2:36 [Bug bootstrap/29747] New: No debug symbols when compiling stage2 compiler with -O2 -g awreynolds at mac dot com
                   ` (2 preceding siblings ...)
  2006-11-07  3:39 ` [Bug target/29747] " pinskia at gcc dot gnu dot org
@ 2006-11-26  0:04 ` pinskia at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2006-11-26  0:04 UTC (permalink / raw)
  To: gcc-bugs



------- Comment #4 from pinskia at gcc dot gnu dot org  2006-11-26 00:04 -------
Fixed by:
2006-11-16  Mike Stump  <mrs@apple.com>

        * config/darwin.h (LINK_COMMAND_SPEC): Don't do dwarf stuff on
        pre-darwin9 system, unless the user asks for it directl


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |FIXED


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


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

end of thread, other threads:[~2006-11-26  0:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-11-07  2:36 [Bug bootstrap/29747] New: No debug symbols when compiling stage2 compiler with -O2 -g awreynolds at mac dot com
2006-11-07  2:38 ` [Bug bootstrap/29747] " awreynolds at mac dot com
2006-11-07  2:40 ` awreynolds at mac dot com
2006-11-07  3:39 ` [Bug target/29747] " pinskia at gcc dot gnu dot org
2006-11-26  0:04 ` [Bug target/29747] [4.3 Regression] " pinskia at gcc dot gnu dot org

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).