From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x62a.google.com (mail-pl1-x62a.google.com [IPv6:2607:f8b0:4864:20::62a]) by sourceware.org (Postfix) with ESMTPS id D21A7385840F for ; Thu, 29 Feb 2024 19:49:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org D21A7385840F 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 D21A7385840F Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2607:f8b0:4864:20::62a ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1709236187; cv=none; b=AfLIzTavxRFLgKgq29u8mo/8u8ylDLSukCiPIe4pwYwbF9LDagno95kzi/v4SeJpUuEglKMaFqe5wYMXnyIhwcfqIcI32/VCYByAwzktOrBKWsCBHXUamPTqB/tPzYAyymP2iPTgxUQTX133T9sZObF6InkRhWekgh1HYr2SlQI= 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=j0NVsvFw5DluQVaWONPtoy1GMAUUT6Vg3vFHEBAzXKlThzrUhXFLSlFW2kNC3o6wi1IXLF2BB1KuZBwngCQ4CMxKR+AHjPzlR+HYZhXwEXVX+6Ll7WMc/egzpeAL5ewFfejN/pQRytjK9KpZ5vEBrFDAimDrm+Rw9G5RQtWi4Eo= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-pl1-x62a.google.com with SMTP id d9443c01a7336-1dc1e7c0e29so173195ad.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=gcc.gnu.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=EL+3QSUmb9oy0U47fMcVFgy8uIu6AJpuwpOJo1ABGIr1BGTHGVDODba5EG+0QsSrW4 KRlglfi6qQVhx654eW+ityMHY81t8TQA8U72sigvh+ZsOxdrPhEJtffYYcKTbE2LKoI2 xcrPf88fARG6f4Al+74Ja+H4FF9D9t8gVyQcpCY5qNT2dZ8Cf5Q09zwG5UQ047Xmna25 fgnKIuihoGWdAmahqrnci3oQg9HFKmEx36dneVrAro2oQJC7BBxMDodv7VqhEUpuS0+A +a435TEEsACg+WQA6sstbJUPhxlSJFXzg8Q3T/4gHtPAu7sY7wNz7JGFRktUD0ujJtTj OV+w== 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=WKvOAe2tH26P0+iPiFZt+fKNTznxmJHF2tWQChthCGFr1A+dgnvsr7MedKItXU3q9k CDKAPBAMHpXFz+CHyyogmqY5POgC7VmoRs+O+m8AlcFdU/+SVLYDhK8zXc/RBvDdchPU C6xnyA62AJjgDlcyNd+nod32KGg7tKIDmxIeRlCQkMaECEQA5Py1RP+Qsxvmfb80iHFo t+CCrbgMEIpCue4rt+pjjQFDv/ymcBOcfFIJPhz2PoO3RjJlpWfEXrbE+bOCX2dm53N1 3V5YQugWTB/JzHX3VOXM3qL6wPZpFl5d/hOpdR6DeZdiVEcH7EvDZ7/mfIGb0SEmF7i4 CyLg== X-Forwarded-Encrypted: i=1; AJvYcCXmKQREbdYXqLCC9uaWAPBwMkeLrlWDcx8Gfz6jehQ5Uh+TIea6RxrT9dJS7+xH8cq/VaOYUXQvhe6pbNyNYzY= X-Gm-Message-State: AOJu0YyAx2Uo+QqGhCZkb3dLnEWW4HMdM1sWcPAyBJH7BkmZMCACozt0 R6/gFaK8v3EAea/9NIrz4XFn1tXJh2S7jnXwC8MObv5Wp8wf1NqW6zNXe/4wiIU= 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=-4.2 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