From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x62d.google.com (mail-ej1-x62d.google.com [IPv6:2a00:1450:4864:20::62d]) by sourceware.org (Postfix) with ESMTPS id DB8913858C31 for ; Fri, 1 Mar 2024 10:09:05 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org DB8913858C31 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=linaro.org ARC-Filter: OpenARC Filter v1.0.0 sourceware.org DB8913858C31 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::62d ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709287747; cv=none; b=oOKE+Y8OZh88r+UnczJlyrkJys8/NRD+h9Y9pVMlvcOhIjiliDs8N2w862KHbkXtVnKHdBW0bnSMK03o81zR/rN5UTcY3oofNduLlaTMydAH3gf0KzzMOr+FAEUFkNIz96eTqSBy9eDi6qQgMOHOK4UuCgSRDQKzrdgZJP9+QMg= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709287747; c=relaxed/simple; bh=UaDVaqkC3RW3dIk6nhLJAM/0fQ4nrZ0F+SOOFAkBtoE=; h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To; b=FMDxY8JEs714ufL2RRJ+lMy8Tfu2KbJhdxkps4j4rpsM+1TdrDVM/4hC55QgTFjBp1BQJTAQwY1ejv/seZytWu8zBQ4Op6fWiuOuXU9s9/zsR11JRE2aC6SgLDNgScF4UYocATOT1bpi8KSN/nfJvYV5cQm1QhdO0rNcuhO0fzI= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-ej1-x62d.google.com with SMTP id a640c23a62f3a-a3ddc13bbb3so508363166b.0 for ; Fri, 01 Mar 2024 02:09:05 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709287744; x=1709892544; darn=gcc.gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=UaDVaqkC3RW3dIk6nhLJAM/0fQ4nrZ0F+SOOFAkBtoE=; b=hncyVtaBFcypUVaOnPS/VnKqM39ObGFmNYl8s4zS3LRl0HkH370DFFQBdd5Y4pZdOX OFFtEcH4dCqAOkKdxivyA0lb30erL7qle0J7RvwN1kwRHHnq5SQ8bppZkMaJOkCOTm8k 1mpNArWWtlqPbXGr65zd3Rh6bvhbTFtniqTWMvT6pg8UDVv0LieX5UR1RpOOYbnGIjpC 6XpNRSgxQD6AJHEaF6htJOxgNPYACIxoH99C4cT2LN4qF6WPLTt5Hy6iZN/6wxlyVTs1 TwBewQNFx0YPXYyheUrbOVqVx7kxTFhjlz/6gd+vSjPjgnAbxGYEyYvx4HOpyW0EswJo gcNg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709287744; x=1709892544; 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=UaDVaqkC3RW3dIk6nhLJAM/0fQ4nrZ0F+SOOFAkBtoE=; b=vyKAlK4GQWMf90sF5xtTdKWWQdQWYtc7vdCq8hvymoLotAOic4i/x3pUP2R9THPKt7 Zltq/DjXqN5QDfnIroMSubTNkmVx4Tvc8RRJvRfTrBh8jsjJqd1YKATlWeyds6523jKs KOfVgWfYFbf3TvRwSGhN6c8UvcpatLGT39g0+DOP/nCKILvBmMEJxXhevLJQAPGTOurW M9lR/g738P8NONyO4KFeItdxd7Tv2z0Zt6y0AIsVof4LKeIQzjonryi0aiBoycvW2Tt+ tr8iXUArp0YAKrnQod43XW+9m2liTiBGrWIJ25mNeembX0MdBvFwyV628vLkbERaAUYZ twqA== X-Forwarded-Encrypted: i=1; AJvYcCVDTjBHDFaeD61aRXEkXZeZhPprRh6Mmvnkf9MIDq88PUExfaT+Gay3qrWu+3HsASKzqBfpUPo5h+31Z4UraZc= X-Gm-Message-State: AOJu0YyWe5AWCa2qWKLvCejXVJOsJ6DOIbRw8Aw+rJBIO1RGq8Xrc2en JbI7poR97JIRaC4iH/ZBDK8CkfuidFIlJDNnMJJTQyTzQAZ/LqlUQF18zilMT7snc10aUMvNSVU vJnnLr05SgzEiBWDLqy1v+iSLOwqgfFR9hsb7mg== X-Google-Smtp-Source: AGHT+IEj7FenpRkawpwrhMc1ONsbcPnY2sktl4pgnxnWrxomWyzoiJFzwrubPBOkcuKcpSEO04LxEj2fFbZUdeoBCYE= X-Received: by 2002:a17:906:6d09:b0:a44:2cc3:2ba9 with SMTP id m9-20020a1709066d0900b00a442cc32ba9mr939752ejr.2.1709287744526; Fri, 01 Mar 2024 02:09:04 -0800 (PST) MIME-Version: 1.0 References: <87cysf82zt.fsf@linaro.org> In-Reply-To: <87cysf82zt.fsf@linaro.org> From: Christophe Lyon Date: Fri, 1 Mar 2024 11:09:00 +0100 Message-ID: Subject: Re: Help needed with maintainer-mode To: Thiago Jung Bauermann Cc: binutils@sourceware.org, GCC Mailing List , gdb-patches@sourceware.org Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Thu, 29 Feb 2024 at 20:49, Thiago Jung Bauermann wrote: > > > Hello, > > Christophe Lyon writes: > > > I hoped improving this would be as simple as adding > > --enable-maintainer-mode when configuring, after making sure > > autoconf-2.69 and automake-1.15.1 were in the PATH (using our host's > > libtool and gettext seems OK). > > > > However, doing so triggered several problems, which look like race > > conditions in the build system (we build at -j160): > > - random build errors in binutils / gdb with messages like "No rule to > > make target 'po/BLD-POTFILES.in". I managed to reproduce something > > similar manually once, I noticed an empty Makefile; the build logs are > > of course difficult to read, so I couldn't figure out yet what could > > cause this. > > > > - random build failures in gcc in fixincludes. I think this is a race > > condition because fixincludes is updated concurrently both from > > /fixincludes and $buillddir/fixincludes. Probably fixable in gcc > > Makefiles. > > > > - I've seen other errors when building gcc like > > configure.ac:25: error: possibly undefined macro: AM_ENABLE_MULTILIB > > from libquadmath. I haven't investigated this yet. > > I don't know about the last one, but regarding the race conditions, one > workaround might be to define a make target that regenerates all files > (if one doesn't exist already, I don't know) and make the CI call it > with -j1 to avoid concurrency, and then do the regular build step with > -j160. > Yes, that's what I meant below with "magic" make target ;-) Thanks, Christophe > -- > Thiago