| www.delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| X-Received: | by 10.129.46.145 with SMTP id u139mr3412151ywu.11.1469196707424; |
| Fri, 22 Jul 2016 07:11:47 -0700 (PDT) | |
| X-Received: | by 10.157.58.116 with SMTP id j107mr238638otc.13.1469196707377; |
| Fri, 22 Jul 2016 07:11:47 -0700 (PDT) | |
| Newsgroups: | comp.os.msdos.djgpp |
| Date: | Fri, 22 Jul 2016 07:11:47 -0700 (PDT) |
| In-Reply-To: | <cc7177a5-b28f-4bf6-b29b-02f27bce66c1@googlegroups.com> |
| Complaints-To: | groups-abuse AT google DOT com |
| Injection-Info: | glegroupsg2000goo.googlegroups.com; posting-host=2602:306:8371:4220:a4a2:8963:72da:562a; |
| posting-account=p5rsXQoAAAB8KPnVlgg9E_vlm2dvVhfO | |
| NNTP-Posting-Host: | 2602:306:8371:4220:a4a2:8963:72da:562a |
| References: | <e5d46af2-36fb-46af-af04-805ce2f8b6c3 AT googlegroups DOT com> |
| <579167F3 DOT 4060700 AT gmx DOT de> <cc7177a5-b28f-4bf6-b29b-02f27bce66c1 AT googlegroups DOT com> | |
| User-Agent: | G2/1.0 |
| MIME-Version: | 1.0 |
| Message-ID: | <a405faf7-8799-49e6-98a8-bf206d0fc14d@googlegroups.com> |
| Subject: | Re: LD from binutils 2.26 crashes when -ffunction-sections + |
| -Wl,--gc-sections is used but only under DOS | |
| From: | "rugxulo AT gmail DOT com [via djgpp AT delorie DOT com]" <djgpp AT delorie DOT com> |
| Injection-Date: | Fri, 22 Jul 2016 14:11:47 +0000 |
| Bytes: | 2654 |
| Lines: | 32 |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
| Errors-To: | nobody AT delorie DOT com |
| X-Mailing-List: | djgpp AT delorie DOT com |
| X-Unsubscribes-To: | listserv AT delorie DOT com |
Hi, On Thursday, July 21, 2016 at 8:34:38 PM UTC-5, rug DOT DOT DOT AT gmail DOT com wrote: > > In this newsgroup, on Feb. 2 (under Subject: "Re: ANNOUNCE: Update of > DJGPP port of gcc-5.3.0"), I had also said this: > > " > Well, just for comparison, I tried older GCC 4.9.3 and BinUtils 2.26: > It builds and works okay, but only if you remove the unsupported > "-Wl,--gc-sections" in e3d.gpr (which otherwise crashes the linker). > " > > But in private email (June 22) to Gautier: > > " > I have no idea when or why this was broken, but I can't reproduce > this with latest BNU226BR3.ZIP (r3, March 5, 2016) from > /current/v2gnu/ , so my warning is probably (now) irrelevant. Just > FYI. > " > > So, indeed, I can rebuild "Engine 3D" with no crashes (in raw FreeDOS) > with latest DJGPP (either 4.9.3 or 6.1.0). Indeed, it has been correctly noted that the linker is crashing if trying to use "--gc-sections". I was mistaken in implying otherwise. So yes, even latest r3 has this issue. The problem was that e3d.gpr didn't use "--gc-sections" in (default) "Debug" setup. So it wasn't manifested unless using "-XBuild_Mode=Fast" (or Small). So I wasn't doing that, wasn't even using his MAKE_XX.BAT (etc.) files, just manually running gnatmake myself (without -Xblah=blah).
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |