[haiku-development] Re: 32bit-wchar_t branch has been merged into trunk - full rebuild necessary

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Tue, 07 Jul 2009 20:43:12 +0200

-------- Original-Nachricht --------
> Datum: Tue, 07 Jul 2009 20:16:23 +0200
> Von: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
>
> Furthermore the kernel doesn't link (gcc4), missing what looks like
> libsupc++ symbols. Looking into it...

Apparently libsupc++.a is utterly stripped of symbol information:

/Transfer/haiku/generated-gcc4> readelf --sections 
/boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-090629/bin/../lib/gcc/i586-pc-haiku/4.3.3/../../../libsupc++.a
       

File: 
/boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-090629/bin/../lib/gcc/i586-pc-haiku/4.3.3/../../../libsupc++.a(array_type_info.o)
There are 21 section headers, starting at offset 0x350:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        00000000 000034 000000 00  AX  0   0  4
  [ 2] .data             PROGBITS        00000000 000034 000000 00  WA  0   0  4
  [ 3] .bss              NOBITS          00000000 000034 000000 00  WA  0   0  4
  [ 4] .text._ZN10__cxxa PROGBITS        00000000 000040 00002f 00  AX  0   0 16
  [ 5] .rel.text._ZN10__ REL             00000000 000698 000000 08      0   4  4
  [ 6] .text._ZN10__cxxa PROGBITS        00000000 000070 00002f 00  AX  0   0 16
  [ 7] .rel.text._ZN10__ REL             00000000 000698 000000 08      0   6  4
  [ 8] .text._ZN10__cxxa PROGBITS        00000000 0000a0 00003a 00  AX  0   0 16
  [ 9] .rel.text._ZN10__ REL             00000000 000698 000000 08      0   8  4
  [10] .data.rel.ro._ZTV PROGBITS        00000000 0000e0 000020 00  WA  0   0 32
  [11] .rel.data.rel.ro. REL             00000000 000698 000000 08      0  10  4
  [12] .rodata._ZTSN10__ PROGBITS        00000000 000100 000022 00   A  0   0 32
  [13] .data.rel.ro._ZTI PROGBITS        00000000 000124 00000c 00  WA  0   0  4
  [14] .rel.data.rel.ro. REL             00000000 000698 000000 08      0  13  4
  [15] .eh_frame         PROGBITS        00000000 000130 000080 00   A  0   0  4
  [16] .rel.eh_frame     REL             00000000 000698 000000 08      0  15  4
  [17] .data.DW.ref.__gx PROGBITS        00000000 0001b0 000004 00  WA  0   0  4
  [18] .rel.data.DW.ref. REL             00000000 000698 000000 08      0  17  4
  [19] .comment          PROGBITS        00000000 0001b4 000012 00      0   0  1
  [20] .shstrtab         STRTAB          00000000 0001c6 000188 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)

File: 
/boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-090629/bin/../lib/gcc/i586-pc-haiku/4.3.3/../../../libsupc++.a(atexit_arm.o)
There are 6 section headers, starting at offset 0x6c:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        00000000 000034 000000 00  AX  0   0  4
  [ 2] .data             PROGBITS        00000000 000034 000000 00  WA  0   0  4
  [ 3] .bss              NOBITS          00000000 000034 000000 00  WA  0   0  4
  [ 4] .comment          PROGBITS        00000000 000034 000012 00      0   0  1
  [ 5] .shstrtab         STRTAB          00000000 000046 000025 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)


File: 
/boot/develop/abi/x86/gcc4/tools/gcc-4.3.3-haiku-090629/bin/../lib/gcc/i586-pc-haiku/4.3.3/../../../libsupc++.a(bad_cast.o)
There are 20 section headers, starting at offset 0x254:

Section Headers:
  [Nr] Name              Type            Addr     Off    Size   ES Flg Lk Inf Al
  [ 0]                   NULL            00000000 000000 000000 00      0   0  0
  [ 1] .text             PROGBITS        00000000 000034 000000 00  AX  0   0  4
  [ 2] .data             PROGBITS        00000000 000034 000000 00  WA  0   0  4
  [ 3] .bss              NOBITS          00000000 000034 000000 00  WA  0   0  4
  [ 4] .rodata.str1.1    PROGBITS        00000000 000034 00000e 01 AMS  0   0  1
  [ 5] .text._ZNKSt8bad_ PROGBITS        00000000 000050 000017 00  AX  0   0 16
  [ 6] .rel.text._ZNKSt8 REL             00000000 000574 000000 08      0   5  4
  [ 7] .text._ZNSt8bad_c PROGBITS        00000000 000070 00002f 00  AX  0   0 16
  [ 8] .rel.text._ZNSt8b REL             00000000 000574 000000 08      0   7  4
  [ 9] .text._ZNSt8bad_c PROGBITS        00000000 0000a0 00002f 00  AX  0   0 16
  [10] .rel.text._ZNSt8b REL             00000000 000574 000000 08      0   9  4
  [11] .text._ZNSt8bad_c PROGBITS        00000000 0000d0 00003a 00  AX  0   0 16
  [12] .rel.text._ZNSt8b REL             00000000 000574 000000 08      0  11  4
  [13] .data.rel.ro._ZTV PROGBITS        00000000 000110 000014 00  WA  0   0  8
  [14] .rel.data.rel.ro. REL             00000000 000574 000000 08      0  13  4
  [15] .rodata._ZTSSt8ba PROGBITS        00000000 000124 00000c 00   A  0   0  1
  [16] .data.rel.ro._ZTI PROGBITS        00000000 000130 00000c 00  WA  0   0  4
  [17] .rel.data.rel.ro. REL             00000000 000574 000000 08      0  16  4
  [18] .comment          PROGBITS        00000000 00013c 000012 00      0   0  1
  [19] .shstrtab         STRTAB          00000000 00014e 000106 00      0   0  1
Key to Flags:
  W (write), A (alloc), X (execute), M (merge), S (strings)
  I (info), L (link order), G (group), x (unknown)
  O (extra OS processing required) o (OS specific), p (processor specific)
[...]

CU, Ingo

Other related posts: