X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: RayeR Newsgroups: comp.os.msdos.djgpp Subject: Re: problem with AS from binutils 2.21.1 Date: Sun, 25 Dec 2011 18:10:41 -0800 (PST) Organization: http://groups.google.com Lines: 65 Message-ID: <0e06b6ec-7c42-43ce-bcbc-5870a4ab0d7c@j9g2000vby.googlegroups.com> References: <8a32880d-526c-40ac-a9bb-e88fce4ee2aa AT z25g2000vbs DOT googlegroups DOT com> <21258842-845d-4b87-9c29-52d0528e2ca0 AT dp8g2000vbb DOT googlegroups DOT com> <76df8c48-1463-43d1-98a1-4c32fb5c7643 AT t16g2000vba DOT googlegroups DOT com> NNTP-Posting-Host: 78.45.168.98 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 X-Trace: posting.google.com 1324865563 14791 127.0.0.1 (26 Dec 2011 02:12:43 GMT) X-Complaints-To: groups-abuse AT google DOT com NNTP-Posting-Date: Mon, 26 Dec 2011 02:12:43 +0000 (UTC) Complaints-To: groups-abuse AT google DOT com Injection-Info: j9g2000vby.googlegroups.com; posting-host=78.45.168.98; posting-account=Q0wMHAoAAADjYrghh94FTf6YnbpTqZgp User-Agent: G2/1.0 X-Google-Web-Client: true X-Google-Header-Order: HUALESNKRC X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14,gzip(gfe) Bytes: 4042 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com The same problem was with h264.c where I had to use even -O0 I fixed it by preproc pragma - in this two files I added: #ifdef __DJGPP__ #pragma GCC optimize ("O0") #endif So it finally compiled. I also got some strange warning during linking the exe: LD ffmpeg_g.exe e:/djgpp/lib/libc.a(d0000.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0300_z.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0008.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0400.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0006.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(stdiohk.o): warning: definition of `___stdio_cleanup_hook' o verriding common e:/djgpp/lib/libc.a(exit.o): warning: common is here e:/djgpp/lib/libc.a(dpmi_lsl.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0202.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0203.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0204.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0205.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0201.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0304.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0200.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0303.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0600.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here e:/djgpp/lib/libc.a(d0300.o): warning: multiple common of `___dpmi_error' e:/djgpp/lib/libc.a(d0e01.o): warning: previous common is here Same for older libc.a ...