Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXzZh-00025n-Aw for pgsql-committers@arkaria.postgresql.org; Tue, 13 Sep 2022 06:39:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.92) (envelope-from ) id 1oXzZg-0005Zc-7k for pgsql-committers@arkaria.postgresql.org; Tue, 13 Sep 2022 06:39:12 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oXzZf-0005ZT-QC for pgsql-committers@lists.postgresql.org; Tue, 13 Sep 2022 06:39:12 +0000 Received: from mail-qk1-x736.google.com ([2607:f8b0:4864:20::736]) by makus.postgresql.org with esmtps (TLS1.3:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.92) (envelope-from ) id 1oXzZc-0000XP-Dn for pgsql-committers@lists.postgresql.org; Tue, 13 Sep 2022 06:39:10 +0000 Received: by mail-qk1-x736.google.com with SMTP id h28so7725628qka.0 for ; Mon, 12 Sep 2022 23:39:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:from:to:cc:subject:date; bh=In8Qs4eCOMkXn+J/5eVKDOe4KKw6+xdo1eg3tycXUp0=; b=IjvIacvNIvOLmsG0nnLRLiqKIKOeiyJhPD7eqXXMwtt9kBV2bv4sja+UZt/hwuBQ1x kku0ksaaNQXYVXf88vJFw8Ac0AvjuZxlHXYhMzgRylgM8Z4myFjDGS3Oc1aP4Xvo/j4z K1Auuu/Z8i0g+DCuJto197RBFwzQcBuCC0LXs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=user-agent:in-reply-to:content-disposition:mime-version:references :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date; bh=In8Qs4eCOMkXn+J/5eVKDOe4KKw6+xdo1eg3tycXUp0=; b=GKbMQBU8eVWptjupI0BKulwlVlnl/dqAgKIYofyG8BOoiFquglCh/o77TtWzCwshhJ GINvjulBk0FYs0/im/u9BkrjhBJnKY+/SNuXXfWDGTVNc51Y9d4V1p3g6bD2S+ZvcTsn tOJGDlLKbO/uDxBd0iImMmfJ3EulYVbBI21OyzHNZRvoz4PHiV5RXjqqHqQ6ji1e7h8L zhtVOdIR+nuiC/IMwg8ptDdBR5vDhH+x9ebFF7L8GxnE1mwy1GymMS8Uc4zgxVa2paG4 T6fSG7bnGG6uKKwdjI1wzLd3XkJS+nHkvSz+B+6+Su1n5DPn2oxllA8fIS7g3P2ZBgAs kOXQ== X-Gm-Message-State: ACgBeo06bxIG6v9oJwCL9vfPUI4LshaC78rd9P4OuAfRxZFz45o8YcpM DjyLvoWhXN3k+J+J6C6OAAm58Q== X-Google-Smtp-Source: AA6agR7qicEmifg4Y3figdHw/zpw9JBKymvNmz5N8VdU1c7DuypgOmakJko2lyIEcQhH+mH5sGJ/CQ== X-Received: by 2002:a05:620a:424d:b0:6c7:ab84:6b03 with SMTP id w13-20020a05620a424d00b006c7ab846b03mr21433653qko.38.1663051147408; Mon, 12 Sep 2022 23:39:07 -0700 (PDT) Received: from rfd.leadboat.com ([2600:1702:a20:5750::2e]) by smtp.gmail.com with ESMTPSA id w14-20020a05620a0e8e00b006b5c061844fsm8714600qkm.49.2022.09.12.23.39.06 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 12 Sep 2022 23:39:06 -0700 (PDT) Date: Mon, 12 Sep 2022 23:39:04 -0700 From: Noah Misch To: Andres Freund Cc: Tom Lane , pgsql-committers@lists.postgresql.org Subject: Re: pgsql: aix: No need to use mkldexport when we want to export all symbol Message-ID: <20220913063904.GB1439680@rfd.leadboat.com> References: <325593.1662783266@sss.pgh.pa.us> <89D645BA-FF97-4516-A21D-9FC4A4B31F8C@anarazel.de> <20220910043749.koidc5k4j5dxo3if@awork3.anarazel.de> <20220910052741.t7w7csyrggwus2ze@awork3.anarazel.de> <338810.1662787972@sss.pgh.pa.us> <20220910055736.htsr5juo3ldlay2l@awork3.anarazel.de> <20220910081944.oiayp5lky3kv2o43@awork3.anarazel.de> <20220911181925.ygxbync3uk5ezcic@awork3.anarazel.de> <20220913033845.GA1439680@rfd.leadboat.com> <20220913061123.mxae5udw6ix2op7v@awork3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20220913061123.mxae5udw6ix2op7v@awork3.anarazel.de> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk On Mon, Sep 12, 2022 at 11:11:23PM -0700, Andres Freund wrote: > On 2022-09-12 20:38:45 -0700, Noah Misch wrote: > > On Sun, Sep 11, 2022 at 11:19:25AM -0700, Andres Freund wrote: > > > On 2022-09-10 01:19:44 -0700, Andres Freund wrote: > > > > On 2022-09-09 22:57:36 -0700, Andres Freund wrote: > > > > > On 2022-09-10 01:32:52 -0400, Tom Lane wrote: > > > > > > Andres Freund writes: > > > > > > > It seem worth applying the -qvisibility patch and seeing whether that fixes > > > > > > > the buildfarm? > > > > > > > > > > > > Worth a try. > > > > > > > > > > Done now. > > > > > > > > Seems to have done the trick for at least hoverfly. And wrasse (sunpro) is > > > > still happy. Still need to wait for the older xlc's (mandril, hornet) > > > > though... > > > > > > At least hornet isn't happy: > > > > > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=hornet&dt=2022-09-10%2021%3A44%3A00 > > > > > > Looks like the support for -qvisibility came with xlc 13.1, released April 28, 2014: > > > https://www.ibm.com/common/ssi/cgi-bin/ssialias?subtype=ca&infotype=an&appname=iSource&supplier=897&letternum=ENUS214-162 > > > > Last two sungazer (gcc64) runs failed with a suspicious "missing magic block": > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sungazer&dt=2022-09-12%2006%3A24%3A53 > > https://buildfarm.postgresql.org/cgi-bin/show_log.pl?nm=sungazer&dt=2022-09-10%2018%3A09%3A11 > > > > Both runs had the latest commits discussed above. tern (gcc32) passed, but it > > doesn't use --with-perl. > > I'll check it out tomorrow. I configured perl on the other AIX gcc compile > farm machine building 64bit with both gcc and xlc, IIRC. I can't check rn, > they seem to be down? They're up. > What is "perl64-for-gcc"? === #! /bin/sh real_perl=perl64 case $* in '-MExtUtils::Embed -e ldopts' | \ '-MConfig -e print $Config{ccdlflags}') $real_perl "$@" | sed 's/-b/-Wl,-b/g' ;; *) exec $real_perl "$@" ;; esac === > > > > -qvisibility option specifies visibility attributes for entities. Entity > > > > visibility attributes describe whether and how entities defined in one > > > > module can be referenced or used in other modules. Visibility attributes > > > > affect entities with external linkage only, and cannot increase the > > > > visibility of other entities. > > > > > > > > > Since xlc 13.1 supports all still supported AIX versions I'm inclined to think > > > we should increase our requirement to 13.1 rather than revert back to the > > > higher complexity way of building modules. > > > > Perhaps. That would demolish two buildfarm members. > > Or you could update them to a slightly newer xlc? IIRC the machine has 13.x > available? I don't see 13.x, but I might not know where to look. > > What does PostgreSQL lose if you revert fe6a64a? > > A somewhat readable Makefile.shlib. The prior state is complicated, specific > to AIX. I've several times spent quite a bit of time understanding it - not > helped by the complete lack of comments. It's not frequent enough to stay in > my brain unfortunately, so I'll have to relearn it again next time. And we'll > need to continue supporting Makefile.shlib for quite a while, so ... I'm voting for a revert, then. Code beautification is nice when it just works, but desupporting this compiler to land this particular code beautification makes the net value go negative for me. I can understand your feeling differently based on your recent experiences.