From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from cc-smtpout1.netcologne.de (cc-smtpout1.netcologne.de [IPv6:2001:4dd0:100:1062:25:2:0:1]) by sourceware.org (Postfix) with ESMTPS id C2D153858D28; Sat, 4 Dec 2021 13:42:22 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org C2D153858D28 Received: from cc-smtpin1.netcologne.de (cc-smtpin1.netcologne.de [89.1.8.201]) by cc-smtpout1.netcologne.de (Postfix) with ESMTP id 2CF7E1220F; Sat, 4 Dec 2021 14:42:21 +0100 (CET) Received: from [IPv6:2a0a:a540:282:0:7285:c2ff:fe6c:992d] (2a0a-a540-282-0-7285-c2ff-fe6c-992d.ipv6dyn.netcologne.de [IPv6:2a0a:a540:282:0:7285:c2ff:fe6c:992d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by cc-smtpin1.netcologne.de (Postfix) with ESMTPSA id 94ACC11D7A; Sat, 4 Dec 2021 14:42:13 +0100 (CET) Subject: Re: [power-ieee128] What should the math functions be annotated with? To: gcc mailing list Cc: Michael Meissner , Bill Schmidt , David Edelsohn , Segher Boessenkool , "fortran@gcc.gnu.org" , Peter Bergner References: <119d695e-c316-ba5f-a3ed-963f18a67e35@netcologne.de> <20211201205447.GD2646553@tucnak> <20211203092825.GN2646553@tucnak> <8ada4016-3bc2-c2fb-ed38-285f4813e75c@netcologne.de> <20211203113536.GQ2646553@tucnak> <99088f27-59cf-abec-8dc7-388ee2d2c5a8@netcologne.de> <20211204102919.GD2646553@tucnak> From: Thomas Koenig Message-ID: <021be175-077b-7121-d9a7-b06e6311ca90@netcologne.de> Date: Sat, 4 Dec 2021 14:42:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.14.0 MIME-Version: 1.0 In-Reply-To: <20211204102919.GD2646553@tucnak> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-NetCologne-Spam: L X-Rspamd-Queue-Id: 94ACC11D7A X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, NICE_REPLY_A, RCVD_IN_DNSWL_LOW, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: gcc@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 04 Dec 2021 13:42:24 -0000 On 04.12.21 11:29, Jakub Jelinek wrote: > If zlib devel isn't installed, drop --with-system-zlib option > or use --without-system-zlib. > > You've asked in another mail how to configure gcc to default to > -mabi=ieeelongdouble, that is > --with-long-double-format=ieee Thanks for those hints. I have now managed to bootstrap a compiler on that machine, but success at running programs is somewhat limited: tkoenig@gcc-fortran:~/Tst$ which gcc /home/tkoenig/bin/gcc tkoenig@gcc-fortran:~/Tst$ cat hello.c #include int main() { printf ("Hello, world!\n"); return 0; } tkoenig@gcc-fortran:~/Tst$ gcc hello.c tkoenig@gcc-fortran:~/Tst$ ldd ./a.out ./a.out: /lib/powerpc64le-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./a.out) linux-vdso64.so.1 (0x00007a16a4510000) libc.so.6 => /lib/powerpc64le-linux-gnu/libc.so.6 (0x00007a16a42c0000) /opt/at15.0/lib64/ld64.so.2 => /lib64/ld64.so.2 (0x00007a16a4530000) tkoenig@gcc-fortran:~/Tst$ export LD_LIBRARY_PATH=~/lib64:/opt/at15.0/lib64/ tkoenig@gcc-fortran:~/Tst$ ls Segmentation fault (core dumped) @IBM folks: I would appreciate if you gave me access to a system which actually worked, together with the necessary information, so I can actually do what I volunteered to do. Right now, I appear to be just wasting my time. Regards Thomas