From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 73996 invoked by alias); 11 Nov 2019 18:12:02 -0000 Mailing-List: contact libffi-discuss-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libffi-discuss-owner@sourceware.org Received: (qmail 73988 invoked by uid 89); 11 Nov 2019 18:12:02 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-4.0 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.3.1 spammy=whatsoever, inability, riscv-linux-gnu, riscvlinuxgnu X-HELO: esa5.hgst.iphmx.com Received: from esa5.hgst.iphmx.com (HELO esa5.hgst.iphmx.com) (216.71.153.144) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 11 Nov 2019 18:12:00 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=wdc.com; i=@wdc.com; q=dns/txt; s=dkim.wdc.com; t=1573495921; x=1605031921; h=date:from:to:cc:subject:message-id:mime-version; bh=fv6nasnBP+lJ0tBb9h3isjf2P5a5qzWNyV08y9CZ7CE=; b=ApJ7CFg6+7ZYX49SxaD+Ha+pU3VAx5Dcb0qmWwb1T+lp2VlIDlZGzO3f AVX6CQ/tiu4RGBF6mVzmjbxXqRiKPIXy7WQ7AvH9fGq8Sr9zAR5xRGNyN n84hKirzKXtHWCn1h8wrnQRA+bCcs6GW8arJOhBwcOAGX00PaXhtsHOXQ 5k6AqpW+RRFQ8Rg2bN+jlFro5rIHnoCmZQqQTcS+YE+I0VvAks0+cQ+q8 a1m+asmbDDUbdVH0/ro8F0hAiIcGYf8Ng6jdLrx6zm68vVhXcIEvXPubx RQnvIGoIjuujtzWd7uHc8aRnfDxu5YUyLJNCGOoXuHbGyHJ7H4L8VWfeU g==; IronPort-SDR: mHNocCjjGQ4kDpyLccZU+HwFZWmaaE0Cj+DTLvVJEyJYqeMnHaiM6WUkK7ZSh9/zNtuPojWk3q +7gKqzGFAwMqU77XIvVAvsUM6gVN+SGSsOnPZnOzb07LarBkNYdQ70cnAGsXcj8YUz073n6JaC YJR5OopnTgEZ8p8Zx5T3j59kyY5/Q54QS4WtVuL8dOSJ57syo70kC1fpjSujkQh51r9aGPbpwe hhxtCQQE0LHB5grGyDE+DEa8BwXmhAIwnrxT16DaLmq60M6jDAI5ypyVvwViIxpEDgY61b2F6G jsA= Received: from uls-op-cesaip02.wdc.com (HELO uls-op-cesaep02.wdc.com) ([199.255.45.15]) by ob1.hgst.iphmx.com with ESMTP; 12 Nov 2019 02:11:59 +0800 IronPort-SDR: LSG+G1IQdF44sXnlEehH2IAId2JLGxUUH/c9IlCBVuFXK/Gp5zWJbYR/SHhnu+FAIESe47SqPn zySPXsQ/+dSYH50WgxUryea9HvCgjqGQ927+aYcv9sMhvc2Ea8P4HWpkwz6AkTAmgTzAjOLuav 9QQZQngbLcpIZ5PIJcGRStrsMUBJvYBJLoTsrDW3z1whAh4Wt4gPP5CCsuOehFHYars3xKUKwE 1quMhH9yk+XWGykB/kpXRnX8YncZW+LsMznSLZ8crar0kGBU0CtPflt1Wrci1WnmFrjRTs8cVj 5ZSea9rnmTBiz8hKAbgjjM3V Received: from uls-op-cesaip01.wdc.com ([10.248.3.36]) by uls-op-cesaep02.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2019 10:07:02 -0800 IronPort-SDR: FA7lehUBsgyAKs/U41bZ7iieLGEWSmRGtF9ktRgRp2M0UT1CtkdFyuE4ntAyss1Uk/+KHh2Q4a wLIQsG6yqQat8Xz0wq/ydhQ1KxbmlN7hxvtXBXJJ7ATVfXI3nXGkffCKVlBGLbnTyFWgdwuYAJ zpVvWUfLsmGzWnxqr5NRiMuodacSpWAp4+i8FJgzOgKvVLnLvFVAkz3MDFX4kVgEC+hwFopHYP njgsZhwgWDz9Dqw4RaXWOnvnsdzFT/OAmaG7U5KO4aQngMHSBywZHleYs6dqG8/Y1GASHFnrBA BSo= WDCIronportException: Internal Received: from unknown (HELO redsun52) ([10.149.66.28]) by uls-op-cesaip01.wdc.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 11 Nov 2019 10:11:59 -0800 Date: Mon, 11 Nov 2019 18:12:00 -0000 From: "Maciej W. Rozycki" To: gcc-patches@gcc.gnu.org cc: libffi-discuss@sourceware.org, golang-dev@googlegroups.com Subject: [PATCH 0/4] Fix library testsuite compilation for build sysroot Message-ID: User-Agent: Alpine 2.21 (LFD 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII X-SW-Source: 2019/txt/msg00065.txt.bz2 Hi, This patch series addresses a problem with the testsuite compiler being set up across libatomic, libffi, libgo, libgomp with no correlation whatsoever to the target compiler being used in GCC compilation. Consequently there in no arrangement made to set up the compilation sysroot according to the build sysroot specified for GCC compilation, causing a catastrophic failure across the testsuites affected from the inability to link executables. The fix is based on a similar arrangement already made for passing autoconf output variables in libgomp, and uses the GCC_UNDER_TEST (or GOC_UNDER_TEST, as applicable) TCL variable already used across several GCC library testsuites. Verified with a cross-compiler configured for the `riscv-linux-gnu' target and the `x86_64-linux-gnu' host and using RISC-V/Linux QEMU in the user emulation mode as the target board. Also no change in results with `x86_64-linux-gnu' native regression testing. See individual change descriptions for details. OK to apply to the GCC repo (for libraries maintained externally I'll be happy to assist with any merging required, although given that these changes are confined to autoconf/automake scriptery they should be straightforward to apply, barring any conflicts in generated files)? Maciej