From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gJEdJikw5mS00QAASxT56A (envelope-from ) for ; Wed, 23 Aug 2023 18:13:29 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id kBEqJSkw5mQAdgEAG6o9tA (envelope-from ) for ; Wed, 23 Aug 2023 18:13:29 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 4FBB246797 for ; Wed, 23 Aug 2023 18:13:29 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Byp33mXs; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1692807209; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=EAGxdq+VJ7QgmtcIr7g7/E6mzDBdw+csPwdfc+7fYgk=; b=ZZTQrjm2yb79BBlsOMbaJGw32Typ8CdF52WCrr5LZiAgtBYiPB9ztnYFJGZhY+4bBO2spL lwTwP/Fp5zqyjPnVjsiYOO41O/bxICQhMKlKhW0wPSM625LibGe8TvG99iUkW8UfpA1jXy zEGAdASWx9OQh+Ltjw+YlOMDlOA7CCk70+7oSL9amyrtYYpkxJrhJo1//a4PpjY8uGbtHQ HQEKguta/NxeJZ+Mkj0HmS9i1tEkEwMhYqx/zAx9BXjjR1ESFylqpWWN7HnlpsSTjlOv4t +jhffx5KVv8ddAZJKuAjdBfTWvN32i3ujZItNJ5hpOy8j5Z0l0fdleM5ZCqzyA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=Byp33mXs; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Seal: i=1; s=key1; d=yhetil.org; t=1692807209; a=rsa-sha256; cv=none; b=fbB3v/2u4f5FxHXwUIs9nWquA6pwiDURPJ3GJ3a2c+nXVzO38+5+DT5QV4YCD9JE4zwxYp PrnjHuhWQek+lnYr1B6aYXnScMoBcjUzPSI+Y0AIz6cLzaO23p7+nc7xwRZOsNmNA184GW 4zWJA4t7XtTac/y+3pMPT6c/6lU7eHOfYrd/ue+GIbhWv/vYUMLeaWhYcNHEj9jXAjpD64 F/r2iOlWYlm5NaBKiTZy1diuzh5fzfrDzvhNuAIueXzL0EpMZzbNKANRxw+/l6QJiZt3D0 s/2U0jmu2fv3tVlXtMg/YCwrDEBtsTbkIr74NfW9KHDD4CRUlAv80Ik2NtpgUw== Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qYqTm-0000zy-Kt; Wed, 23 Aug 2023 12:13:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qYqTF-0000wN-2Y for guix-devel@gnu.org; Wed, 23 Aug 2023 12:12:37 -0400 Received: from mail-io1-xd2b.google.com ([2607:f8b0:4864:20::d2b]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qYqTD-00078n-EG for guix-devel@gnu.org; Wed, 23 Aug 2023 12:12:36 -0400 Received: by mail-io1-xd2b.google.com with SMTP id ca18e2360f4ac-790cadee81bso182145439f.0 for ; Wed, 23 Aug 2023 09:12:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1692807154; x=1693411954; h=content-transfer-encoding:in-reply-to:from:references:newsgroups:cc :to:content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=EAGxdq+VJ7QgmtcIr7g7/E6mzDBdw+csPwdfc+7fYgk=; b=Byp33mXscdQz2UKCu9eGxlFpQUl+sTIEfGSRIIa4qU5ahYlOyY4Y0L2H1baYaQ+dHQ PcGevkekcOVhdNbjsQJGIoLCn0C2wJtkLM3+MN+sR5IQzuTYBkmNZ7Wvo132gW4+2pKS Urvvh4J9mOTRANr1+7Iz4VM9/B8OvD9p8ubb99Do4z+KZLVusJxIbXTYMMcQIf6HsBUX xvOOaLGwduMc8R2+ZP/obBzxIyqKlnv+8vd7awHuDUhpHXWdksnKjGGg7mCAoKGmPoMS m/rOLSYUx4WW7EWzgSBoeiViMx7s0CJPwt2WTJLfbvGZwaOPn8/tun0iCM9v4OLPCKEV 9vdA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1692807154; x=1693411954; h=content-transfer-encoding:in-reply-to:from:references:newsgroups:cc :to:content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=EAGxdq+VJ7QgmtcIr7g7/E6mzDBdw+csPwdfc+7fYgk=; b=DFfF2spJpG6IKzOWQRP4MZY/IwVRA7Xj6WwdkDluXdtNGIB5VQtBwe23rsb0rwPc/c qdCukMqJJ1Jz6xOqTTd8gquTsAqpR9HE+BOgxT5SBosS3i/Ag5etbLmUBXtDabSAVrcL OYGbUDTDUgOGIsCZwmknhYSN/292UXLpPNDeWnFfSqS1wrdICFnqmbA03mRh8S1TSC6E 0MBT2w7ovlOlNkie9vIq0u0+FWeAIRWB9tCYgxiQYb46/C8er0CgX4tMK3UTmSRyIGXO Sul21ze2+JEy8uayZWdtS05vn8aI6Ha59IE3paCw2KmC6BVQtc9XEPKzKpAKdItpeCyo fzmA== X-Gm-Message-State: AOJu0YxXsLoQvFBVfXjMIMt9yOTu2NfLXyAurmTGcFyYHUvIqM5BUnEQ 55LQ+MJAlBgsYLm2XdA69ubRRw16JOI= X-Google-Smtp-Source: AGHT+IGiTWzC6KBxIFvlM6rcKcFDWulQEHxWLErCJoJpJaIuSQ39ntDZ2sduQjArx8RJJ4umvuB7lQ== X-Received: by 2002:a6b:620d:0:b0:784:314f:8d68 with SMTP id f13-20020a6b620d000000b00784314f8d68mr3175383iog.1.1692807154192; Wed, 23 Aug 2023 09:12:34 -0700 (PDT) Received: from [10.0.2.153] (c-174-51-218-141.hsd1.co.comcast.net. [174.51.218.141]) by smtp.gmail.com with ESMTPSA id s19-20020a6bdc13000000b0076ffebfc9fasm3993311ioc.47.2023.08.23.09.12.33 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 23 Aug 2023 09:12:33 -0700 (PDT) Message-ID: Date: Wed, 23 Aug 2023 10:12:32 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Subject: Re: Updates for Go Content-Language: en-US To: Felix Lechner , Attila Lendvai Cc: Josselin Poiret , Wilko Meyer , guix-devel@gnu.org, Leo Famulari Newsgroups: gmane.comp.gnu.guix.devel References: <87jzttmi89.fsf@wmeyer.eu> <87pm3fv1m2.fsf@jpoiret.xyz> From: Katherine Cox-Buday In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2607:f8b0:4864:20::d2b; envelope-from=cox.katherine.e@gmail.com; helo=mail-io1-xd2b.google.com X-Spam_score_int: -47 X-Spam_score: -4.8 X-Spam_bar: ---- X-Spam_report: (-4.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-2.684, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -9.58 X-Spam-Score: -9.58 X-Migadu-Queue-Id: 4FBB246797 X-TUID: 0gXpXrX/c8cq On 8/22/23 8:24 AM, Felix Lechner via Development of GNU Guix and the GNU System distribution. wrote: > Hi Attila, > > On Tue, Aug 22, 2023 at 6:14 AM Attila Lendvai wrote: >> >> currently the go build system in guix does not reuse build artifacts > > Can Golang reuse build artifacts? I don't think it's recommended right now. See discussion here: - https://github.com/golang/go/issues/47788#issuecomment-1019562695 - https://github.com/golang/go/issues/47788#issuecomment-1258773167 Summary: It sounds like due to the way the compiler can optimize code (e.g. inlining), `buildmode=shared` is not recommended, but in the future they are looking at allowing linking against a single shared library. -- Katherine