This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/33100] [4.3 regression] on bootstrap getting section .eh_frame: bad cie version 0: offset 0x0



------- Comment #1 from ro at gcc dot gnu dot org  2007-09-04 18:10 -------
Confirmed on i386-pc-solaris2.10.  This is a mainline regression.  A reghunt
revealed that this patch

2007-08-06  H.J. Lu  <hongjiu.lu@intel.com>
            Daniel Jacobowitz  <dan@codesourcery.com>

        PR target/31868
        * config.gcc (x86_64-*-freebsd*): Add i386/t-crtstuff to
        tmake_file.
        (x86_64-*-netbsd*): Likewise.
        (x86_64-*-linux*): Likewise.
        (x86_64-*-kfreebsd*-gnu): Likewise.
        (x86_64-*-knetbsd*-gnu): Likewise.
        (i[34567]86-*-solaris2.1[0-9]*): Likewise.

is the culprit: running elfdump on the amd64 crtend.o before and after the
patch, I find (before):

Unwind Section: .eh_frame
CIE: [0x00000000]
 length: 0x00 cieid: 0
 version: 0  augstring: `'
 codealign: 0x0  dataalign: 0  retaddr: 0

vs. (after):

Unwind Section: .eh_frame
 FDE: [0x00000000]
    length: 0x00  cieptr: 0x18
    initloc: 0x00000000  addrrange: 0x0000
   Auxiliary vals:
CIE: [0x00000004]
 length: 0x18 cieid: 0
 version: 1  augstring: `zR'
 codealign: 0x1  dataalign: -8  retaddr: 16

So the linker seems to be right to complain about this.

  Rainer


-- 

ro at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1
   Last reconfirmed|0000-00-00 00:00:00         |2007-09-04 18:10:17
               date|                            |
            Summary|on bootstrap getting section|[4.3 regression] on
                   |.eh_frame: bad cie version  |bootstrap getting section
                   |0: offset 0x0               |.eh_frame: bad cie version
                   |                            |0: offset 0x0


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]