* Re: GCC V10.3 compiler issue. [not found] <MW5PR10MB585199A1111EC88D94EA1D3C82519@MW5PR10MB5851.namprd10.prod.outlook.com> @ 2022-09-23 7:39 ` Iain Sandoe 2022-09-23 8:02 ` David Edelsohn 0 siblings, 1 reply; 2+ messages in thread From: Iain Sandoe @ 2022-09-23 7:39 UTC (permalink / raw) To: Gade, Naresh (Coral Springs); +Cc: gcc-help Hello Naresh, > On 23 Sep 2022, at 01:40, Gade, Naresh (Coral Springs) <naresh.gade@Fiserv.com> wrote: > > We have downloaded GCC V10.3 compiler on our AIX server but we noticed a weird thing about the size of object files for certain source files. > > When tried to dump the object file, we noticed the DATA segment in the file is a large chunk of NULLS and it is eating lot of memory space. GCC is a large project, with different folks handling different parts of the compiler; I am not the right person to answer an AIX question (although I can say that what you report might not necessarily be unexpected depending on the code you were compiling). ==== 1. If you are looking for help in using GCC the right place to post a question is here: gcc-help@gcc.gnu.org (I’ve already CC’d in this reply). 2. If you think that there is a bug in GCC then please follow the guidelines here: https://gcc.gnu.org/bugs/ Your message above does not have enough information for a developer to figure out if it represents a genuine issue. HTH, Iain > > Regards, > Naresh Gade > NFE Debit gateway development ^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: GCC V10.3 compiler issue. 2022-09-23 7:39 ` GCC V10.3 compiler issue Iain Sandoe @ 2022-09-23 8:02 ` David Edelsohn 0 siblings, 0 replies; 2+ messages in thread From: David Edelsohn @ 2022-09-23 8:02 UTC (permalink / raw) To: Iain Sandoe, Gade, Naresh (Coral Springs); +Cc: gcc-help [-- Attachment #1: Type: text/plain, Size: 720 bytes --] On Fri, Sep 23, 2022 at 3:39 AM Iain Sandoe <iain@sandoe.co.uk> wrote: > Hello Naresh, > > > On 23 Sep 2022, at 01:40, Gade, Naresh (Coral Springs) > <naresh.gade@Fiserv.com> wrote: > > > We have downloaded GCC V10.3 compiler on our AIX server but we noticed a > weird thing about the size of object files for certain source files. > > > > When tried to dump the object file, we noticed the DATA segment in the > file is a large chunk of NULLS and it is eating lot of memory space. > GCC changed default behavior to use -fno-common. This probably is initialized zeroes. You can try adding -fcommon to revert to the original behavior, but please ensure that you understand the impact of that semantic. Thanks, David ^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-09-23 8:03 UTC | newest] Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- [not found] <MW5PR10MB585199A1111EC88D94EA1D3C82519@MW5PR10MB5851.namprd10.prod.outlook.com> 2022-09-23 7:39 ` GCC V10.3 compiler issue Iain Sandoe 2022-09-23 8:02 ` David Edelsohn
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).