From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62c.google.com (mail-ej1-x62c.google.com [IPv6:2a00:1450:4864:20::62c]) by sourceware.org (Postfix) with ESMTPS id AD6C23858C52 for ; Fri, 23 Sep 2022 08:03:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org AD6C23858C52 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-ej1-x62c.google.com with SMTP id bj12so26146541ejb.13 for ; Fri, 23 Sep 2022 01:03:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=Rs+mDR5vzVJS642XhTCbgiw8rIP2PZO189jQCPPRTfU=; b=ZA+YZ3mkvHEuxYxXnLFtlqfGdGeJmJpjzY/xUJIBcS8T4Ug6OReerLwOS+MAZDIMtr Tsf1gqCvSCjfz3sV8IFVZgK9SiULHbETKQ+u7dwANOumo3zFeZn8LDa5eZimVx3QWEet ImcZbRq6arsSTTaZ+FQ18CPAamQqfLXksBIRy/BkVTNB0pqb2fS+laNKeLpMQexOHthQ 16anJjcAwXKwC89i4Pgfoitc7Z6JsxqhV/lJ540vxJmrIN91wm0kANfxrNbPfPRjTl33 ptKibLqbyLHeZTbYqHCzuu4B9YRz83jZCc98GwLe3c2pGhZNHcc52LC3/mkzXNxO8wD/ p8/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=Rs+mDR5vzVJS642XhTCbgiw8rIP2PZO189jQCPPRTfU=; b=Wj14fW7oOuWblMW/IQYzZjfZUr72MNoH4lyhC4gTHZU2rzXcg+eijV89fcWbUQwrCP ikXWR4loJ/JJUgcM1sZYP3aB7isToEYyWqru4ilssbhrnYN/ErUvf/vNRhS3oPIEIwwG P0zP8+wkn6eoGQeQ5gTL1BPK8Xi2sPDHjcSAWv2I147g8j52SKcTgsunitkwau15tCah +DbEs6P6eKLGbEBDRmawuutZ1XROTnrN82DF7AizVD66eOnMxjexXLyFQGSX6A2pYeye hozVzGe9p/RV1O1eairAimEA9DtlifA6WKYKYQqSu+AnmktaaIGAY5LCCty5rcpw34e6 ZjGg== X-Gm-Message-State: ACrzQf2Lu6xN5bFKGTfpO9NUIdgl1E2z7uJ+ArJGFxiIS9DWYgsI/rP+ 9BDUFytT6pnfv0EaMaswvzdy5ITr0O8elG3f7EI= X-Google-Smtp-Source: AMsMyM4G6PzySgsvBKdq9UJSwxyMaQ9uqi8pe2gJ0EeNROrHGuFgfU7iutY0akjte5adKRuNQryjBHcccYjUspRbesY= X-Received: by 2002:a17:907:724b:b0:780:49ab:4b66 with SMTP id ds11-20020a170907724b00b0078049ab4b66mr6009838ejc.67.1663920181449; Fri, 23 Sep 2022 01:03:01 -0700 (PDT) MIME-Version: 1.0 References: <29A0282C-3E2A-48DC-81EE-F0B981A5DD4E@sandoe.co.uk> In-Reply-To: <29A0282C-3E2A-48DC-81EE-F0B981A5DD4E@sandoe.co.uk> From: David Edelsohn Date: Fri, 23 Sep 2022 04:02:50 -0400 Message-ID: Subject: Re: GCC V10.3 compiler issue. To: Iain Sandoe , "Gade, Naresh (Coral Springs)" Cc: gcc-help@gcc.gnu.org Content-Type: multipart/alternative; boundary="0000000000005998df05e9539b3b" X-Spam-Status: No, score=-1.5 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000005998df05e9539b3b Content-Type: text/plain; charset="UTF-8" On Fri, Sep 23, 2022 at 3:39 AM Iain Sandoe wrote: > Hello Naresh, > > > On 23 Sep 2022, at 01:40, Gade, Naresh (Coral Springs) > 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 --0000000000005998df05e9539b3b--