This is the mail archive of the binutils@sourceware.org mailing list for the binutils 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]

Re: Optimise away eh_frame advance_loc 0


This breaks the build of glibc for sh4-linux-gnu (confirmed this is the 
revision that introduces the breakage) and mips64-linux-gnu (not tested 
the specific revisions, but the symptoms are the same so it looks like 
the same breakage).

https://sourceware.org/ml/libc-testresults/2019-q4/msg00129.html

I've attached malloc.s (gzipped) from an sh4-linux-gnu glibc build.  The 
symptom is:

$ sh4-glibc-linux-gnu-as -little -o malloc.o malloc.s
malloc.s: Assembler messages:
malloc.s: Fatal error: can't write -1 bytes to section .debug_frame of malloc.o: 'bad value'

(and binutils commit 6f69abb0498286297936a178ba81c7e445aa4437 fails while 
the previous commit passes).

-- 
Joseph S. Myers
joseph@codesourcery.com

Attachment: malloc.s.gz
Description: application/gzip


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