[0/5] OpenEmbedded/Yocto Project gcc patches
Message ID | 20211027200505.3340725-1-richard.purdie@linuxfoundation.org |
---|---|
Headers |
Return-Path: <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 8A03F3858419 for <patchwork@sourceware.org>; Wed, 27 Oct 2021 20:09:24 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A03F3858419 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1635365364; bh=95enAGyu7GO6NDANONR+Lfs6mjvjh+w6voAN2n6unh8=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=joTFcIybqEyBAF3B8D90GaCi41ZvPXeM8vWktWZMxIKPLHAe6afjixASahY/89+9l e4PDPDTHn2IjQ7d545m6RDz8Ejo1V80K5zWWn0Io008e2F9S5ojjXCUt0cw+6q0qnJ DouLtTW1hFSsoSH2/vD2XozraailemimcCna5Sn4= X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from mail-wr1-x42d.google.com (mail-wr1-x42d.google.com [IPv6:2a00:1450:4864:20::42d]) by sourceware.org (Postfix) with ESMTPS id D32823858402 for <gcc-patches@gcc.gnu.org>; Wed, 27 Oct 2021 20:05:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D32823858402 Received: by mail-wr1-x42d.google.com with SMTP id b12so1654727wrh.4 for <gcc-patches@gcc.gnu.org>; Wed, 27 Oct 2021 13:05:09 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=95enAGyu7GO6NDANONR+Lfs6mjvjh+w6voAN2n6unh8=; b=ajbzI2N2XQQw0jR3LW8X9Dg7foj/aFJspqHlThMDerpmi9ELXj3/ZsscvtSRG1yu2m s5Fslcw40sSHu7GZl9RmEeYzFr0B+uJgengnHFMqcgix++zgiUqIpwuDejp7mxuRghdi 6Icc2ZjhHY4tFp3TPge+jnmxhuqnsgRsciYq4E6auIFUA5oBm4EBFATUCAyLI3aZ1/ab S36l060E407z1YqBTo488P+JvHbS1ehUsXzQadeWuJ2dkzfOxKhpubXtGLgYTPwD7te9 5gKXPyd+dyUBU2B5aCJW+UagO008Fp2+eUAv7p+1witH4j29gVAFtNznthTbeiDavP2h XS/Q== X-Gm-Message-State: AOAM533M3Lbxb2lxxG3LF4V+TFXq0WMtlVSSgd4ha/ALCXqyMbAULvKk RPnjQtMvLvhI9FidgLQ7lQb8ONfLg2KdNA== X-Google-Smtp-Source: ABdhPJwsRUmgKQv1Yb3D6tB9L+amnLNKEnJRHzLnf0mPnhY3NYxNLWqQv8wA46sliZDBBy5yahh53w== X-Received: by 2002:a5d:64ec:: with SMTP id g12mr42946102wri.140.1635365106918; Wed, 27 Oct 2021 13:05:06 -0700 (PDT) Received: from hex.int.rpsys.net ([2001:8b0:aba:5f3c:9748:b7d4:9e30:95e]) by smtp.gmail.com with ESMTPSA id c17sm847914wrv.22.2021.10.27.13.05.06 for <gcc-patches@gcc.gnu.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Oct 2021 13:05:06 -0700 (PDT) To: gcc-patches@gcc.gnu.org Subject: [PATCH 0/5] OpenEmbedded/Yocto Project gcc patches Date: Wed, 27 Oct 2021 21:05:00 +0100 Message-Id: <20211027200505.3340725-1-richard.purdie@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-5.5 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, KAM_ASCII_DIVIDERS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=no 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-patches@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-patches mailing list <gcc-patches.gcc.gnu.org> List-Unsubscribe: <https://gcc.gnu.org/mailman/options/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe> List-Archive: <https://gcc.gnu.org/pipermail/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-request@gcc.gnu.org?subject=help> List-Subscribe: <https://gcc.gnu.org/mailman/listinfo/gcc-patches>, <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe> From: Richard Purdie via Gcc-patches <gcc-patches@gcc.gnu.org> Reply-To: Richard Purdie <richard.purdie@linuxfoundation.org> Errors-To: gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org Sender: "Gcc-patches" <gcc-patches-bounces+patchwork=sourceware.org@gcc.gnu.org> |
Message
Richard Purdie
Oct. 27, 2021, 8:05 p.m. UTC
OpenEmbedded/Yocto Project extensively uses gcc to cross compile in many different and interesting places. On the most part we're very happy, thanks! We do have a small collection of patches and I believe it would be beneficial to share some of them. I've picked some of the simpler ones and have tried to start that with this series. I did send the first four once already but have reworked the first patch as advised (it became clear we had further related fixes too which I've merged in). It may also be interesting for gcc developers to know that Yocto Project is running the gcc test suite for each of the major architectures we target under qemu (some in system, some in user mode) and collecting test results with a view to trying to ensure we don't regress over time. As time permits, we hope to track down failures and improve the pass rates too. A report from our recent release is here: http://downloads.yoctoproject.org/releases/yocto/yocto-3.4/testreport.txt but is large so I placed some examples here: ========================================================================= qemuppc PTest Result Summary ========================================================================= ------------------------------------------------------------------------- Recipe | Passed | Failed | Skipped ------------------------------------------------------------------------- binutils | 221 | 2 | 13 binutils-gas | 343 | 2 | 3 binutils-ld | 1386 | 7 | 352 gcc-g++-user | 195119 | 37 | 9389 gcc-libatomic-user | 44 | 0 | 5 gcc-libgomp-user | 2788 | 2 | 370 gcc-libitm-user | 46 | 0 | 2 gcc-libstdc++-v3-user | 14152 | 7 | 723 gcc-user | 134355 | 200 | 4104 glibc-user | 3869 | 210 | 76 ------------------------------------------------------------------------- ========================================================================= qemux86 PTest Result Summary ========================================================================= ------------------------------------------------------------------------- Recipe | Passed | Failed | Skipped ------------------------------------------------------------------------- binutils | 230 | 2 | 13 binutils-gas | 1485 | 0 | 1 binutils-ld | 1641 | 7 | 354 gcc | 124619 | 132 | 26160 gcc-g++ | 186472 | 56 | 19103 gcc-libatomic | 22 | 1 | 27 gcc-libgomp | 1427 | 2 | 1671 gcc-libitm | 24 | 1 | 24 gcc-libstdc++-v3 | 9102 | 33 | 5216 glibc | 4230 | 203 | 40 Cheers, Richard Richard Purdie (5): Makefile.in: Ensure build CPP/CPPFLAGS is used for build targets gcc: Fix "argument list too long" from install-plugins gcc: Add --nostdlib++ option gcc/nios2: Define the musl linker gcc: Pass sysroot options to cpp for preprocessed source Makefile.in | 6 ++++++ Makefile.tpl | 6 ++++++ configure | 4 ++++ configure.ac | 4 ++++ gcc/Makefile.in | 2 +- gcc/c-family/c.opt | 4 ++++ gcc/config/nios2/linux.h | 1 + gcc/configure | 2 +- gcc/configure.ac | 2 +- gcc/cp/g++spec.c | 1 + gcc/cp/lang-specs.h | 2 +- gcc/doc/invoke.texi | 8 +++++++- gcc/gcc.c | 3 ++- 13 files changed, 39 insertions(+), 6 deletions(-)