https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81968

--- Comment #35 from ro at CeBiTec dot Uni-Bielefeld.DE <ro at CeBiTec dot 
Uni-Bielefeld.DE> ---
> --- Comment #33 from rguenther at suse dot de <rguenther at suse dot de> ---
[...]
>>* Invalid sh_info:
>>
>>FAIL: g++.dg/lto/pr42987 cp_lto_pr42987_0.o-cp_lto_pr42987_1.o link, 
>>-flto
>>-flto-partition=none -g 
>>FAIL: g++.dg/lto/pr42987 cp_lto_pr42987_0.o-cp_lto_pr42987_1.o link, 
>>-flto -g 
>>
>>ld: fatal: file /var/tmp//ccXwdzGddebugobjtem: section
>>[6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 9
>>ld: fatal: file /var/tmp//ccuVJOVbdebugobjtem: section
>>[6].rel.gnu.debuglto_.debug_info: has invalid sh_info: 8
>>
>>  seen during the ld -r -o ccrIZb_ddebugobj ccSerOuddebugobjtem
>>  cc5b3Arcdebugobjtem step:
>>
>>ccSerOuddebugobjtem: .rel.gnu.debuglto_.debug_info: sh_info: 9: does
>>not point
>>to a valid section
>>
>>Section Header[6]:  sh_name: .rel.gnu.debuglto_.debug_info
>>    sh_addr:      0               sh_flags:   0
>>    sh_size:      0x8             sh_type:    [ SHT_REL ]
>>    sh_offset:    0x11c8          sh_entsize: 0x8 (1 entry)
>>    sh_link:      5               sh_info:    9
>>    sh_addralign: 0x4       
>>
>>  But there's no section 9 any longer.
>
> I fixed that in the posted patch for the hpux issue(s). 

Good: I'll try to merge the two after the christmas holidays.

        Rainer

Reply via email to