public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "danglin at gcc dot gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug regression/32398] [4.3 Regression] checking for suffix of object files... configure: error: cannot compute suffix of f object files: cannot compile
Date: Thu, 21 Jun 2007 23:49:00 -0000	[thread overview]
Message-ID: <20070621234925.19603.qmail@sourceware.org> (raw)
In-Reply-To: <bug-32398-276@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from danglin at gcc dot gnu dot org  2007-06-21 23:49 -------
The patch mentioned in PR 32296 fixes the return pointer breakage reported
in comment #2.  However, configure still fails at exactly the same point
due to a segmentation fault in def_fn_type():

(gdb) ignor 5 156
Will ignore next 156 crossings of breakpoint 5.
(gdb) r
The program being debugged has been started already.
Start it from the beginning? (y or n) y

Starting program: /test/gnu/gcc/objdir/gcc/cc1 -iprefix
/test/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.3.0/ -isystem
./include -isystem ./include-fixed xxx.c -dumpbase xxx.c -auxbase-strip xxx.s
-version -o xxx.s
Breakpoint 3 at 0xc00000000000b310
Breakpoint 4 at 0x800000010000bbf0
Breakpoint 3 at 0x800003fffef4f620
Breakpoint 4 at 0x800003fffefa7a78
GNU C version 4.3.0 20070621 (experimental) (hppa64-hp-hpux11.11)
        compiled by GNU C version 4.3.0 20070621 (experimental), GMP version
4.2.1, MPFR version 2.2.1.
GGC heuristics: --param ggc-min-expand=30 --param ggc-min-heapsize=4096
options passed:  -iprefix
 /test/gnu/gcc/objdir/gcc/../lib/gcc/hppa64-hp-hpux11.11/4.3.0/ -isystem
 ./include -isystem ./include-fixed xxx.c -auxbase-strip xxx.s
options enabled:  -fPIC -falign-loops -fargument-alias -fauto-inc-dec
 -fbranch-count-reg -fcommon -fearly-inlining
 -feliminate-unused-debug-types -femit-class-debug-always -ffunction-cse
 -fgcse-lm -fident -finline-functions-called-once -fivopts
 -fkeep-static-consts -fleading-underscore -fmath-errno
 -fmove-loop-invariants -fpeephole -freg-struct-return -fsched-interblock
 -fsched-spec -fsched-stalled-insns-dep -fshow-column -fsigned-zeros
 -fsplit-ivs-in-unroller -ftoplevel-reorder -ftrapping-math -ftree-loop-im
 -ftree-loop-ivcanon -ftree-loop-optimize -ftree-scev-cprop
 -ftree-vect-loop-version -fvar-tracking -fzero-initialized-in-bss
 -mbig-switch -mgas -mspace-regs

Breakpoint 5, 0x4000000000185a14 in def_fn_type (
    def=BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VALIST_ARG, ret=BT_INT,
    var=0 '\0', n=6) at ../../gcc/gcc/c-common.c:3384
3384          t = builtin_types[a];
(gdb) p i
$25 = 4
(gdb) p/x $ret0
$26 = 0x20
(gdb) p/x $r7
$27 = 0x8000000100058728
(gdb) c
Continuing.

Breakpoint 5, 0x4000000000185a14 in def_fn_type (
    def=BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VALIST_ARG, ret=BT_INT,
    var=0 '\0', n=6) at ../../gcc/gcc/c-common.c:3384
3384          t = builtin_types[a];
(gdb) p i
$28 = 5
(gdb) p/x $ret0
$29 = 0xfeda2c60
(gdb) p/x $r7
$30 = 0x8000000100058728
(gdb) p/x $pc
$31 = 0x4000000000185a14
(gdb) disass 0x4000000000185a04 0x4000000000185a24
Dump of assembler code from 0x4000000000185a04 to 0x4000000000185a24:
0x4000000000185a04 <def_fn_type+156>:   ldo -30(sp),r5
0x4000000000185a08 <def_fn_type+160>:   ldd -c8(sp),r31
0x4000000000185a0c <def_fn_type+164>:   ldd 0(r6),r26
0x4000000000185a10 <def_fn_type+168>:   ldw 4(r31),ret0
0x4000000000185a14 <def_fn_type+172>:   ldd,s ret0(r7),r25
0x4000000000185a18 <def_fn_type+176>:   cmpb,*= r25,r26,0x4000000000185a84
<def_fn_type+284>
0x4000000000185a1c <def_fn_type+180>:   ldo 8(r31),r19
0x4000000000185a20 <def_fn_type+184>:   std r19,-c8(sp)
End of assembler dump.
(gdb) bt
#0  0x4000000000185a14 in def_fn_type (
    def=BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VALIST_ARG, ret=BT_INT,
    var=0 '\0', n=6) at ../../gcc/gcc/c-common.c:3384
#1  0x400000000018c1a4 in c_common_nodes_and_builtins ()
    at builtin-types.def:403
#2  0x400000000014dda4 in c_init_decl_processing ()
    at ../../gcc/gcc/c-decl.c:2772
#3  0x40000000001b2034 in c_objc_common_init ()
    at ../../gcc/gcc/c-objc-common.c:128
#4  0x400000000046f264 in toplev_main (argc=<value optimized out>,
    argv=<value optimized out>) at ../../gcc/gcc/toplev.c:2037
#5  0x40000000001d7af4 in main (argc=-19249376, argv=0x0)
    at ../../gcc/gcc/main.c:35
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x4000000000185a14 in def_fn_type (
    def=BT_FN_INT_STRING_SIZE_INT_SIZE_CONST_STRING_VALIST_ARG, ret=BT_INT,
    var=0 '\0', n=6) at ../../gcc/gcc/c-common.c:3384
3384          t = builtin_types[a];
(gdb) p/x &builtin_types
$32 = 0x8000000100058728
(gdb) p n
$33 = 6


-- 


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


  parent reply	other threads:[~2007-06-21 23:49 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-19  2:00 [Bug regression/32398] New: " danglin at gcc dot gnu dot org
2007-06-19  2:39 ` [Bug regression/32398] " danglin at gcc dot gnu dot org
2007-06-21 23:09 ` [Bug regression/32398] [4.3 Regression] " pinskia at gcc dot gnu dot org
2007-06-21 23:49 ` danglin at gcc dot gnu dot org [this message]
2007-06-29 18:48 ` mmitchel at gcc dot gnu dot org
2007-07-02 18:12 ` danglin at gcc dot gnu dot org
2007-07-02 18:17 ` [Bug middle-end/32398] " pinskia at gcc dot gnu dot org
2007-07-02 20:08 ` dave at hiauly1 dot hia dot nrc dot ca
2007-07-02 20:23 ` pinskia at gcc dot gnu dot org
2007-07-07 20:30 ` danglin at gcc dot gnu dot org
2007-07-07 22:02 ` dave at hiauly1 dot hia dot nrc dot ca
2007-07-07 22:41 ` zadeck at naturalbridge dot com
2007-07-07 23:30 ` dave at hiauly1 dot hia dot nrc dot ca
2007-07-08  0:58 ` zadeck at naturalbridge dot com
2007-07-08  2:30 ` dave at hiauly1 dot hia dot nrc dot ca
2007-07-08  2:41 ` zadeck at naturalbridge dot com
2007-07-08  5:12 ` dave at hiauly1 dot hia dot nrc dot ca
2007-07-09 16:31 ` bonzini at gnu dot org
2007-07-09 21:04 ` bonzini at gnu dot org
2007-07-09 22:02 ` dave at hiauly1 dot hia dot nrc dot ca
2007-07-09 22:28 ` zadeck at naturalbridge dot com
2007-07-10  0:04 ` dave at hiauly1 dot hia dot nrc dot ca
2007-07-15 17:19 ` danglin at gcc dot gnu dot org
2007-07-15 17:23 ` danglin at gcc dot gnu dot org

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20070621234925.19603.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).