From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-x42f.google.com (mail-pf1-x42f.google.com [IPv6:2607:f8b0:4864:20::42f]) by sourceware.org (Postfix) with ESMTPS id D1E653858C3A for ; Thu, 29 Feb 2024 19:49:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D1E653858C3A 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 D1E653858C3A Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::42f ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709236187; cv=none; b=FHaFtOaAW3gShTtFYpt5ryMEmyzw2RFiQRVGeqwP3xmBrHPesMCQpuYTcZ2GCOyeQQOYbqsA/MKixT1o/qws73yfGWF7XW3lzs8Jzai++e6/ru81FoJ1vMTWkre2FeozZusvnorbsA3Q2B0DPO/61lnmgl4WByrkXITN8q/xpbc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709236187; c=relaxed/simple; bh=hXHOknZxHrOinK9wlpsXlT/FTr7L4+fN0JoCDkJguDo=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=NJEFL5PX5FhVgTDHQzbfXsCRS43+eb0dmLScFkyjgH/HDmSoRSnQrX9DzfiwZ8D0GehdnDIgqZyBwGB7rT1PfD6r5MIhgrpeNsiTwCHJ2J5J/+sbc/kId9R4NLMdIihbgs4WNwYxXmFCjQ1SdEJS/zj1HtzyFqXgO6nhPvSdrRw= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pf1-x42f.google.com with SMTP id d2e1a72fcca58-6e56d594b31so761624b3a.1 for ; Thu, 29 Feb 2024 11:49:45 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1709236185; x=1709840985; darn=sourceware.org; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:from:to:cc:subject:date:message-id:reply-to; bh=3UjSwLqlwy19Y0WrJUifOOjV24BfXQIQ0mZzJYrUzT0=; b=bjrp19SRKj/zeLdstgTCYArAVWF51wy5H7IMJTyl2F3/SWaaJtIA3dUBGTcGin1iCn FLhEcz8jcWca8ANJeh/KZ/kzzzYXG83iHXH89ENx0DQ5v6wywQG1jwMYG2+OugJzw7Fv SGwITOhBAIs+ieYbVqhX2tDETO5FiYhcRVS+80o3LCIK7abanCcNEbV+b1l5cyTOWYFg XzSzo2lu4ZYKh6yaGWzfs+KSbFj4lGWKVLIZlJl4NQ+v4G4dXhxvwrbWFQe88/Pu0Ovh 4mH4oTY69aEjUUHYF1qX1Cqc0HqgxY+J8a/hLhtJOwH7YOr3hhI21CGcs9s2ozhzLdVE 5fGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1709236185; x=1709840985; h=mime-version:message-id:date:in-reply-to:subject:cc:to:from :user-agent:references:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=3UjSwLqlwy19Y0WrJUifOOjV24BfXQIQ0mZzJYrUzT0=; b=MTBez7GpKpAPk9vvjdAOUPza1mFb2g91ICqCqUR+aXXRJECEUeVua7pNYfWmdPqWyD z9XQvY/QkD/5P6Fy3USMGLx2wte3DO2YA8vOyIU8giqqRdz5xdePnMUd+HVccXNd8zTJ xL25zO9ZyhcXVH89+9P/QjAlEj/ejNHcgyAsFZCGUm/Sov0leE/xmEsdPavyYUCb+TNA PsuvmOqXakAR6r2weYiTv6cEQQONd04xJ46gpN6ZPIlol/1um/1mpoq9VPboyi95S9Mc FK3pI9vn8KvWxS0iKHtOGga+MC3wF4Z1BUbvMd7cK8FmSatXJ529JYSTH4KGdB5GGTXd rvMA== X-Forwarded-Encrypted: i=1; AJvYcCVRE7UUVJ2yzsWeBVdmLRwcVkgw1gwnxJRuhkdITveMgnM4tsESHZtX4MsPwAP3t0uW51p2DdamFg/gKdu+eAreeSlMAaFKswNlow== X-Gm-Message-State: AOJu0YwdFr83rEfTbFWkgXrnjjom82m92drxKMhBZAwNll+Rv7r2j2eM lZ82pgDJltC50X/ke2dglzApQamsrBUKgZzrGvyJ0cLUA+6q0G+O0FMk0vN6gx0= X-Google-Smtp-Source: AGHT+IEc6dfK7MSQTAplqB32e6fhGIDcwgzhn3l/oEctxDFiMBQ0C76+yFexX4hxt9Bc8zYbsioxaA== X-Received: by 2002:a17:902:c406:b0:1d8:ab27:d76c with SMTP id k6-20020a170902c40600b001d8ab27d76cmr3805492plk.51.1709236184729; Thu, 29 Feb 2024 11:49:44 -0800 (PST) Received: from localhost ([2804:14d:7e39:8470:a90b:ac37:af4a:feb9]) by smtp.gmail.com with ESMTPSA id 12-20020a170902e9cc00b001db9fa23407sm1889542plk.195.2024.02.29.11.49.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Feb 2024 11:49:44 -0800 (PST) References: User-agent: mu4e 1.10.8; emacs 29.1 From: Thiago Jung Bauermann To: Christophe Lyon Cc: binutils@sourceware.org, GCC Mailing List , gdb-patches@sourceware.org Subject: Re: Help needed with maintainer-mode In-reply-to: Date: Thu, 29 Feb 2024 16:49:42 -0300 Message-ID: <87cysf82zt.fsf@linaro.org> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-2.8 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: 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. -- Thiago