------- Comment #14 from howarth at nitro dot med dot uc dot edu  2009-09-02 
23:18 -------
I get the same bootstrap failure on x86_64-apple-darwin10. If I diff the output
of dwarfdump on the stage2-zlib/libz_a-zutil.o and stage3-zlib/libz_a-zutil.o
(which showed 'zlib/libz_a-zutil.o differs', I get...

--- libz_a-zutil.o.stage2       2009-09-02 19:10:28.000000000 -0400
+++ libz_a-zutil.o.stage3       2009-09-02 19:10:12.000000000 -0400
@@ -2,5 +2,266 @@
  File: libz_a-zutil.o (x86_64)
 ----------------------------------------------------------------------
 .debug_info contents:
-< EMPTY >
+
+0x00000000: Compile Unit: length = 0x000002fe  version = 0x0002  abbr_offset =
0x00000000  addr_size = 0x08  (next CU at 0x00000302)
+
+0x0000000b: TAG_compile_unit [1] *
+             AT_producer( "GNU C 4.5.0 20090902 (experimental)" )
+             AT_language( DW_LANG_C89 )
+             AT_name( "../../gcc-4.5-20090902/zlib/zutil.c" )
+             AT_comp_dir(
"/sw/src/fink.build/gcc45-4.4.999-20090902/darwin_objdir/zlib" )
+             AT_low_pc( 0x0000000000000000 )
+             AT_high_pc( 0x000000000000005d )
+             AT_stmt_list( 0x00000000 )
+
+0x000000a6:     TAG_base_type [2]  
+                 AT_byte_size( 0x01 )
+                 AT_encoding( DW_ATE_unsigned_char )
+                 AT_name( "unsigned char" )
+
+0x000000b7:     TAG_base_type [2]  
+                 AT_byte_size( 0x04 )
+                 AT_encoding( DW_ATE_unsigned )
+                 AT_name( "unsigned int" )
+
+0x000000c7:     TAG_typedef [3]  
+                 AT_name( "uLong" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zconf.h" )
+                 AT_decl_line( 264 )
+                 AT_type( {0x000000d5} ( long unsigned int ) )
+
+0x000000d5:     TAG_base_type [2]  
+                 AT_byte_size( 0x08 )
+                 AT_encoding( DW_ATE_unsigned )
+                 AT_name( "long unsigned int" )
+
+0x000000ea:     TAG_base_type [2]  
+                 AT_byte_size( 0x01 )
+                 AT_encoding( DW_ATE_signed_char )
+                 AT_name( "char" )
+
+0x000000f2:     TAG_base_type [2]  
+                 AT_byte_size( 0x04 )
+                 AT_encoding( DW_ATE_signed )
+                 AT_name( "int" )
+
+0x000000f9:     TAG_typedef [3]  
+                 AT_name( "voidpf" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zconf.h" )
+                 AT_decl_line( 279 )
+                 AT_type( {0x00000108} ( * ) )
+
+0x00000108:     TAG_pointer_type [4]  
+                 AT_byte_size( 0x08 )
+
+0x0000010a:     TAG_base_type [2]  
+                 AT_byte_size( 0x08 )
+                 AT_encoding( DW_ATE_signed )
+                 AT_name( "long int" )
+
+0x00000116:     TAG_base_type [2]  
+                 AT_byte_size( 0x01 )
+                 AT_encoding( DW_ATE_signed_char )
+                 AT_name( "signed char" )
+
+0x00000125:     TAG_base_type [2]  
+                 AT_byte_size( 0x02 )
+                 AT_encoding( DW_ATE_signed )
+                 AT_name( "short int" )
+
+0x00000132:     TAG_base_type [2]  
+                 AT_byte_size( 0x02 )
+                 AT_encoding( DW_ATE_unsigned )
+                 AT_name( "short unsigned int" )
+
+0x00000148:     TAG_base_type [2]  
+                 AT_byte_size( 0x08 )
+                 AT_encoding( DW_ATE_signed )
+                 AT_name( "long long int" )
+
+0x00000159:     TAG_base_type [2]  
+                 AT_byte_size( 0x08 )
+                 AT_encoding( DW_ATE_unsigned )
+                 AT_name( "long long unsigned int" )
+
+0x00000173:     TAG_base_type [5]  
+                 AT_byte_size( 0x08 )
+                 AT_encoding( DW_ATE_unsigned )
+
+0x00000176:     TAG_subprogram [6]  
+                 AT_external( 0x01 )
+                 AT_name( "zlibVersion" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                 AT_decl_line( 27 )
+                 AT_prototyped( 0x01 )
+                 AT_type( {0x0000019f} ( const char* ) )
+                 AT_low_pc( 0x0000000000000000 )
+                 AT_high_pc( 0x000000000000000d )
+                 AT_frame_base( 0x00000000
+                    0x0000000000000000 - 0x0000000000000001: rsp+8
+                    0x0000000000000001 - 0x000000000000000b: rsp+16
+                    0x000000000000000b - 0x000000000000000c: rbp+16
+                    0x000000000000000c - 0x000000000000000d: rsp+8 )
+
+0x0000019f:     TAG_pointer_type [7]  
+                 AT_byte_size( 0x08 )
+                 AT_type( {0x000001a5} ( const char ) )
+
+0x000001a5:     TAG_const_type [8]  
+                 AT_type( {0x000000ea} ( char ) )
+
+0x000001aa:     TAG_subprogram [9] *
+                 AT_external( 0x01 )
+                 AT_name( "zlibCompileFlags" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                 AT_decl_line( 32 )
+                 AT_prototyped( 0x01 )
+                 AT_type( {0x000000c7} ( uLong ) )
+                 AT_low_pc( 0x0000000000000010 )
+                 AT_high_pc( 0x000000000000001b )
+                 AT_frame_base( 0x00000060
+                    0x0000000000000010 - 0x0000000000000011: rsp+8
+                    0x0000000000000011 - 0x0000000000000019: rsp+16
+                    0x0000000000000019 - 0x000000000000001a: rbp+16
+                    0x000000000000001a - 0x000000000000001b: rsp+8 )
+                 AT_sibling( {0x000001ea} )
+
+0x000001dc:         TAG_variable [10]  
+                     AT_name( "flags" )
+                     AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                     AT_decl_line( 34 )
+                     AT_type( {0x000000c7} ( uLong ) )
+
+0x000001e9:         NULL
+
+0x000001ea:     TAG_subprogram [9] *
+                 AT_external( 0x01 )
+                 AT_name( "zError" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                 AT_decl_line( 133 )
+                 AT_prototyped( 0x01 )
+                 AT_type( {0x0000019f} ( const char* ) )
+                 AT_low_pc( 0x0000000000000020 )
+                 AT_high_pc( 0x000000000000003a )
+                 AT_frame_base( 0x000000c0
+                    0x0000000000000020 - 0x0000000000000026: rsp+8
+                    0x0000000000000026 - 0x0000000000000034: rsp+16
+                    0x0000000000000034 - 0x0000000000000039: rbp+16
+                    0x0000000000000039 - 0x000000000000003a: rsp+8 )
+                 AT_sibling( {0x00000220} )
+
+0x00000212:         TAG_formal_parameter [11]  
+                     AT_name( "err" )
+                     AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                     AT_decl_line( 134 )
+                     AT_type( {0x000000f2} ( int ) )
+                     AT_location( rdi )
+
+0x0000021f:         NULL
+
+0x00000220:     TAG_subprogram [12] *
+                 AT_external( 0x01 )
+                 AT_name( "zcalloc" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                 AT_decl_line( 300 )
+                 AT_prototyped( 0x01 )
+                 AT_type( {0x000000f9} ( voidpf ) )
+                 AT_low_pc( 0x0000000000000040 )
+                 AT_high_pc( 0x000000000000004f )
+                 AT_frame_base( 0x00000120
+                    0x0000000000000040 - 0x0000000000000041: rsp+8
+                    0x0000000000000041 - 0x0000000000000049: rsp+16
+                    0x0000000000000049 - 0x000000000000004a: rbp+16
+                    0x000000000000004a - 0x000000000000004f: rsp+8 )
+                 AT_sibling( {0x0000027d} )
+
+0x0000024a:         TAG_formal_parameter [13]  
+                     AT_name( "opaque" )
+                     AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                     AT_decl_line( 301 )
+                     AT_type( {0x000000f9} ( voidpf ) )
+                     AT_location( 0x00000180
+                        0x0000000000000040 - 0x0000000000000043: rdi )
+
+0x0000025d:         TAG_formal_parameter [14]  
+                     AT_name( "items" )
+                     AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                     AT_decl_line( 302 )
+                     AT_type( {0x000000b7} ( unsigned int ) )
+                     AT_location( rsi )
+
+0x0000026d:         TAG_formal_parameter [14]  
+                     AT_name( "size" )
+                     AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                     AT_decl_line( 303 )
+                     AT_type( {0x000000b7} ( unsigned int ) )
+                     AT_location( rdx )
+
+0x0000027c:         NULL
+
+0x0000027d:     TAG_subprogram [15] *
+                 AT_external( 0x01 )
+                 AT_name( "zcfree" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                 AT_decl_line( 310 )
+                 AT_prototyped( 0x01 )
+                 AT_low_pc( 0x0000000000000050 )
+                 AT_high_pc( 0x000000000000005d )
+                 AT_frame_base( 0x000001a3
+                    0x0000000000000050 - 0x0000000000000051: rsp+8
+                    0x0000000000000051 - 0x0000000000000057: rsp+16
+                    0x0000000000000057 - 0x0000000000000058: rbp+16
+                    0x0000000000000058 - 0x000000000000005d: rsp+8 )
+                 AT_sibling( {0x000002c4} )
+
+0x000002a2:         TAG_formal_parameter [13]  
+                     AT_name( "opaque" )
+                     AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                     AT_decl_line( 311 )
+                     AT_type( {0x000000f9} ( voidpf ) )
+                     AT_location( 0x00000203
+                        0x0000000000000050 - 0x0000000000000054: rdi )
+
+0x000002b5:         TAG_formal_parameter [14]  
+                     AT_name( "ptr" )
+                     AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                     AT_decl_line( 312 )
+                     AT_type( {0x000000f9} ( voidpf ) )
+                     AT_location( rsi )
+
+0x000002c3:         NULL
+
+0x000002c4:     TAG_array_type [16] *
+                 AT_type( {0x0000019f} ( const char* ) )
+                 AT_sibling( {0x000002d4} )
+
+0x000002cd:         TAG_subrange_type [17]  
+                     AT_type( {0x00000173} ( base  ) )
+                     AT_upper_bound( 0x09 )
+
+0x000002d3:         NULL
+
+0x000002d4:     TAG_variable [18]  
+                 AT_name( "z_errmsg" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.h" )
+                 AT_decl_line( 53 )
+                 AT_type( {0x000002e1} ( const const char*[] ) )
+                 AT_external( 0x01 )
+                 AT_declaration( 0x01 )
+
+0x000002e1:     TAG_const_type [8]  
+                 AT_type( {0x000002c4} ( const char*[] ) )
+
+0x000002e6:     TAG_variable [19]  
+                 AT_name( "z_errmsg" )
+                 AT_decl_file(
"/sw/src/fink.build/gcc45-4.4.999-20090902/gcc-4.5-20090902/zlib/zutil.c" )
+                 AT_decl_line( 14 )
+                 AT_type( {0x000002fc} ( const const char*[] ) )
+                 AT_external( 0x01 )
+                 AT_location( [0x0000000000000a60] )
+
+0x000002fc:     TAG_const_type [8]  
+                 AT_type( {0x000002c4} ( const char*[] ) )
+
+0x00000301:     NULL

Also...

ls -l stage2-zlib/libz_a-zutil.o
-rw-r--r--  1 root  admin  1996 Sep  2 18:33 stage2-zlib/libz_a-zutil.o

ls -l stage3-zlib/libz_a-zutil.o
-rw-r--r--  1 root  admin  5636 Sep  2 18:42 stage3-zlib/libz_a-zutil.o

So the dwarfdump contents of stage2 binaries are empty...

dwarfdump libz_a-zutil.o
----------------------------------------------------------------------
 File: libz_a-zutil.o (x86_64)
----------------------------------------------------------------------
.debug_info contents:
< EMPTY >


-- 


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

Reply via email to