From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ed1-x530.google.com (mail-ed1-x530.google.com [IPv6:2a00:1450:4864:20::530]) by sourceware.org (Postfix) with ESMTPS id 2456A3858D33; Wed, 1 Mar 2023 09:01:12 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 2456A3858D33 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-ed1-x530.google.com with SMTP id cw28so1781924edb.5; Wed, 01 Mar 2023 01:01:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; t=1677661271; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=dyUTdcXJgA+l0I9C5lVZRbqW6KvXvzL0YEyOpLMnjJM=; b=QMZIZ/Ka87baJkFmVhC/rd86Cikm7o3tjeDtA0K5Lh3vpU6CL7pW3ebK2ygvzKy4g9 UXeLYTfH5mWMjbtO5ANd8VEMXh7SYXs8nz9VoMXA4PYegLXlcNdxAXN/gN8mDmS62pzf gtMZdO4FwmsJhEE8Gut8FN+ek+AwWb1YEImWNVkhjHI98fwCmSUTOmWyTZyPybtooaLH PHKxScFfyDvcegld6coXCpHs02h5HC/YfQK40+d+S5fuvEbdTD1wHP94qF5XEe2uzD6b SsculpIN98jUx/1+ZUxz14/tdxwNz/LVVAZc7YKuDWsw3q/T91VZlFSTcl6YruuikP2B uOqQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1677661271; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=dyUTdcXJgA+l0I9C5lVZRbqW6KvXvzL0YEyOpLMnjJM=; b=sqytfM7HYsp95HBF5e8xYRJS2HfyWpSJog24PCU91V2NZanxM4/8hGP/tZldcGFhAD ZHD46Rki8+y6m8uet35Opq/PDEUOG7nO5v3jHBZtGqFK5i137Aylpr8lq2SW4WGz2Uc+ 922g7Tj0D158AcLZtNoYMTUn1514kOCnGZ8Xxzkzy/iseBUgclAuVY2vpIqeS7tX2iIO 307qHFUFkybYTB3asRubmbGVFwNeTj/3eYxTuK9HgoFf1chJWwvKoZDFlhSc+dKr2LBG TMJOIlNOul5WTMd4wH5rt+NvipYtDLjj2lFRQT2Q6x4qBxxWkk00IY53iSP2oQWidwUG uzEA== X-Gm-Message-State: AO0yUKXnIEC9vUbb+qBi0H9r0NgksYcPfyPP5lOH391wevWmiDX/cqB0 /rUY37pjGr4PbDO0C3GRxSO+t4FBK1YN9agZw0Q= X-Google-Smtp-Source: AK7set9ON7o9KcMv/IjTREuJN6SPZB+y4MJLusn1tabQ4ikGUMzNkTP9S3sf85lam8yd2Dsa4qvDYKORTGMeSiDAEdE= X-Received: by 2002:a17:907:a04b:b0:8a5:c8bd:4ac4 with SMTP id gz11-20020a170907a04b00b008a5c8bd4ac4mr2711476ejc.15.1677661270847; Wed, 01 Mar 2023 01:01:10 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: Jonathan Wakely Date: Wed, 1 Mar 2023 09:00:57 +0000 Message-ID: Subject: Re: Need help with Proc compilation with GCC 4.8.3 To: "Kondreddy, Vinay Kumar" Cc: "gcc@gcc.gnu.org" , gcc-help , gcc-bugzilla-account-request , "Mahankali, Sharath Kumar" Content-Type: multipart/alternative; boundary="0000000000001a35ba05f5d2f437" X-Spam-Status: No, score=-0.3 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,KAM_NUMSUBJECT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --0000000000001a35ba05f5d2f437 Content-Type: text/plain; charset="UTF-8" Please don't cross-post to several mailing lists, this belongs on the gcc-help mailing list only. On Wed, 1 Mar 2023, 06:33 Kondreddy, Vinay Kumar, < VinayKumar.Kondreddy@staples.com> wrote: > Hi Team, > > > > We are using GCC 4.8.3 for one of our legacy applications i.e: Automatch. > after database upgrade from 11/2 to 19.0.0, while recompiling one of our > proc program we are getting below error. Could you please help us to > resolve below issue. Please find full error trace in above attachment. > > > > Also could you please provide any URL or website to download proper GCC > along with their dependencies as we are not able to find all dependencies > at one place. > > > > Error:- > > amatch@autd1db01 $ make -f PushOfPayables.mk > > /ORACLE/app/oracle/product/19.0.0/dbhome_1/bin/proc > SQLCHECK=SEMANTICS mode=oracle ireclen=120 userid=am_user/steve7 > DEFINE=__64BIT__ /usr/include/ > iname=/app/amatch/tst/code/src/proc/PushOfPayables.pc > oname=/app/amatch/tst/code/src/c/PushOfPayables.c > > > > Pro*C/C++: Release 19.0.0.0.0 - Production on Wed Feb 22 09:54:42 2023 > > Version 19.15.0.0.0 > > > > Copyright (c) 1982, 2019, Oracle and/or its affiliates. All rights > reserved. > > > > System default option values taken from: > /ORACLE/app/oracle/product/19.0.0/dbhome_1/precomp/admin/pcscfg.cfg > > > > /usr/bin/gcc -c -o /app/amatch/tst/code/obj/PushOfPayables.o > -maix64 /usr/include/ /app/amatch/tst/code/include > -I/ORACLE/app/oracle/product/19.0.0/dbhome_1/precomp/public > -I/app/amatch/tst/code/include /app/amatch/tst/code/src/c/PushOfPayables.c > > In file included from /usr/include/sys/resource.h:57:0, > > from > /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/sys/wait.h:62, > > from > /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/stdlib.h:349, > > from /app/amatch/tst/code/src/c/PushOfPayables.c:181: > > /usr/include/sys/time.h:110:16: error: redefinition of 'struct sigset_t' > > typedef struct sigset_t { > > ^ > > In file included from > /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/stdio.h:479:0, > > from /app/amatch/tst/code/src/c/PushOfPayables.c:180: > > /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/sys/types.h:345:16: > note: originally defined here > > typedef struct sigset_t { > > ^ > > In file included from /usr/include/sys/resource.h:57:0, > > from > /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/sys/wait.h:62, > > from > /opt/freeware/lib/gcc/powerpc-ibm-aix7.1.0.0/4.8.3/include-fixed/stdlib.h:349, > > from /app/amatch/tst/code/src/c/PushOfPayables.c:181: > > /usr/include/sys/time.h:126:3: error: conflicting types for 'sigset_t' > > } sigset_t; > > ^ > > > > Thanks & Regards, > > Vinay Kumar > --0000000000001a35ba05f5d2f437--