From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1380 invoked by alias); 13 Sep 2006 15:03:37 -0000 Received: (qmail 1356 invoked by uid 48); 13 Sep 2006 15:03:24 -0000 Date: Wed, 13 Sep 2006 15:03:00 -0000 Message-ID: <20060913150324.1355.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug other/29049] possible problem: building gcc >= 4.2 on i686 GNU/Linux|SMP (non-64bit) platform fails In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "hjl at lucon dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2006-09/txt/msg01221.txt.bz2 List-Id: ------- Comment #28 from hjl at lucon dot org 2006-09-13 15:03 ------- Apparently, your target_flags sets MASK_64BIT. You need to run gdb on cc1 and set hardware watchpoint on target_flags to see where it sets MASK_64BIT: [hjl@gnu-3 gcc]$ touch x.i [hjl@gnu-3 gcc]$ gdb cc1 GNU gdb 6.4.50.20060406-cvs Copyright (C) 2006 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/tls/libthread_db.so.1". Breakpoint 1 at 0x8138b96: file ../../gcc/diagnostic.c, line 602. Breakpoint 2 at 0x8138b43: file ../../gcc/diagnostic.c, line 547. Function "exit" not defined. Function "abort" not defined. (gdb) watch target_flags Hardware watchpoint 3: target_flags (gdb) r -fpreprocessed x.i -quiet -dumpbase x.i -mtune=pentiumpro -auxbase x -version -o x.s Starting program: /export/gnu/import/gcc-4.1.0/build/gcc/cc1 -fpreprocessed x.i -quiet -dumpbase x.i -mtune=pentiumpro -auxbase x -version -o x.s Hardware watchpoint 3: target_flags Hardware watchpoint 3: target_flags Hardware watchpoint 3: target_flags Old value = 0 New value = 8388808 decode_options (argc=12, argv=0xbff24ef4) at ../../gcc/opts.c:634 634 flag_unwind_tables = targetm.unwind_tables_default; (gdb) c Continuing. During symbol reading, incomplete CFI data; unspecified registers (e.g., eax) at 0x828dfc3. During symbol reading, incomplete CFI data; unspecified registers (e.g., ecx) at 0x828dfc3. During symbol reading, incomplete CFI data; unspecified registers (e.g., edx) at 0x828dfc3. During symbol reading, incomplete CFI data; unspecified registers (e.g., eax) at 0x830f53c. During symbol reading, incomplete CFI data; unspecified registers (e.g., ecx) at 0x830f53c. During symbol reading, incomplete CFI data; unspecified registers (e.g., edx) at 0x830f53c. Hardware watchpoint 3: target_flags Old value = 8388808 New value = 8405192 override_options () at ../../gcc/config/i386/i386.c:1614 1614 if (TARGET_SSEREGPARM (gdb) c Continuing. During symbol reading, incomplete CFI data; unspecified registers (e.g., eax) at 0x830f53c. During symbol reading, incomplete CFI data; unspecified registers (e.g., ecx) at 0x830f53c. During symbol reading, incomplete CFI data; unspecified registers (e.g., edx) at 0x830f53c. Hardware watchpoint 3: target_flags Old value = 8405192 New value = 8405208 override_options () at ../../gcc/config/i386/i386.c:1667 1667 if ((flag_unwind_tables || flag_asynchronous_unwind_tables (gdb) c Continuing. During symbol reading, incomplete CFI data; unspecified registers (e.g., eax) at 0x830f53c. During symbol reading, incomplete CFI data; unspecified registers (e.g., ecx) at 0x830f53c. During symbol reading, incomplete CFI data; unspecified registers (e.g., edx) at 0x830f53c. GNU C version 4.1.0 (i686-pc-linux-gnu) compiled by GNU C version 3.4.6 20060404 (Red Hat 3.4.6-3). GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 2547d670e9349240a4187f725ff2e074 Program exited normally. (gdb) -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=29049