From owner-freebsd-haskell@freebsd.org Sun Aug 16 14:23:32 2020 Return-Path: Delivered-To: freebsd-haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 05E803BD12E for ; Sun, 16 Aug 2020 14:23:32 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mailman.nyi.freebsd.org (mailman.nyi.freebsd.org [IPv6:2610:1c1:1:606c::50:13]) by mx1.freebsd.org (Postfix) with ESMTP id 4BTztW63kZz4QWX for ; Sun, 16 Aug 2020 14:23:31 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mailman.nyi.freebsd.org (Postfix) id CE0C13BD201; Sun, 16 Aug 2020 14:23:31 +0000 (UTC) Delivered-To: haskell@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id CDC5A3BD03F for ; Sun, 16 Aug 2020 14:23:31 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: from mail-lj1-f174.google.com (mail-lj1-f174.google.com [209.85.208.174]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BTztV20DCz4QFJ for ; Sun, 16 Aug 2020 14:23:30 +0000 (UTC) (envelope-from 6yearold@gmail.com) Received: by mail-lj1-f174.google.com with SMTP id y2so5681917ljc.1 for ; Sun, 16 Aug 2020 07:23:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=ks7GmBFvbEdZhmApXTU3nb4hFwzdCPKILUqljsFo3j8=; b=FBieYu9jB93LCKOMSHZxebMYchn63SH2fO/i9unVvrR+8bhqUvkMNTb6oKBsaU0Io4 LwZACfvvmPGNcMQUNdIv6+it+W9lAV+BjdbgOyAF7zBIvn1K3R+BIVaZNEnTvYBcnhBO hIRREjzzNy/+XOQAqyzdJyKVaryVagwVlJAuKOHkS+z1Ib2AKp+mX19Qcrrdlc5WlSM1 vJgE4fUN0X15sSJzDpBoeMIYdK9diq+sp7+sOyzONapBjD/SF9jUBnD4jMLwEzA9KQL+ r3aFe+PVs0XJo20HC1Qh8ZRrg66wmzKTckUwm2iJFEss3Yo9XnxE++4XLYdPuSEtdWEq 947g== X-Gm-Message-State: AOAM533hPxGTCdYPQbjA6DWc8O7YgFT87ob9qCzmWmQMgAiwfZNikgYP AV86+7Z8xQUs2ZKPkV8Yi0Ztb0oLCPTPKw== X-Google-Smtp-Source: ABdhPJxS00vyji+kkbIWmQ6CV8OhJhVFxQWEUPcYjF3invQi+76N/hhISy/Gt2JuFonarEPY8vgkrQ== X-Received: by 2002:a2e:3609:: with SMTP id d9mr5213236lja.106.1597587807952; Sun, 16 Aug 2020 07:23:27 -0700 (PDT) Received: from mail-lf1-f41.google.com (mail-lf1-f41.google.com. [209.85.167.41]) by smtp.gmail.com with ESMTPSA id b17sm3799650ljp.9.2020.08.16.07.23.27 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 16 Aug 2020 07:23:27 -0700 (PDT) Received: by mail-lf1-f41.google.com with SMTP id x24so7047477lfe.11 for ; Sun, 16 Aug 2020 07:23:27 -0700 (PDT) X-Received: by 2002:a19:4809:: with SMTP id v9mr5453340lfa.201.1597587807584; Sun, 16 Aug 2020 07:23:27 -0700 (PDT) MIME-Version: 1.0 References: <20200816115614.GG1168@albert.catwhisker.org> In-Reply-To: <20200816115614.GG1168@albert.catwhisker.org> From: Gleb Popov Date: Sun, 16 Aug 2020 18:23:01 +0400 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: lang/ghc linker error after update to 8.10.1 (r545088) To: David Wolfskill Cc: haskell@freebsd.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1597587810; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=ks7GmBFvbEdZhmApXTU3nb4hFwzdCPKILUqljsFo3j8=; b=a5gMeKcvqlQRxGQzC2t8LJq6Q9UdmJFBb+qtO6B72kj/IcOUoHSumMdX1ZQDvl/ax4C7oC 2LsTyBQ/gLArObwwE+C5JlfrRcan5PKU4ehXaJ+Mk4/vEgfDRlTYlkvO7/HLpWyiqSHrRn o7aC9c7Uu1gvOKcqpiiYF4A2WAxlNppXka4lWYsBE0oC9LRA81jwI0w7XyXa5dAE2Xk/Lm RTu0pQHmgeaEsCUJxDI5ke7TUZAsYQkH7DkOaTzMCNsrMA75cmf57/F3txCTpgQx1D1EwG HPFgCmGRPN9Iai97HaBjyfUbAWrac91gbh0wdg2hxJIGRDFqSdHTbyK6dcUaag== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1597587810; a=rsa-sha256; cv=none; b=DaA9bkY/t8N8+29iahcZ6wMfJoIzLmdfSXWzHRGyzFT9WFbnzRu9IbaD+aKwjA3mU52C4i pCu5yA+UzM9MSVNy0VM2zh0LjmgeLNKivNuI6A7Qws2zll3ncJgZi/RxW04aqRaj6AGoYj mTzFx/yb9ARNTVgAZ7glU/E2FojiXDFzUea7ZFwxAHeZK1S2HdMpkO6euppCQAsCmM6a/Y zOM7a93zu/vSQOZ1eFgSV2/gpFiUi7zv6t6TGWG6QWBH/+Kiz5lYogTSlbEQA5Xs7QVBJC 7D/s3e9uRrQHnRx7i2pKx+UhOa32+cDpiXt4+mzFa3E2vloQQRzEojzO4PpgUA== ARC-Authentication-Results: i=1; mx1.freebsd.org; dkim=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.208.174 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Rspamd-Queue-Id: 4BTztV20DCz4QFJ X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=pass (mx1.freebsd.org: domain of 6yearold@gmail.com designates 209.85.208.174 as permitted sender) smtp.mailfrom=6yearold@gmail.com X-Spamd-Result: default: False [-2.66 / 15.00]; ARC_NA(0.00)[]; RCVD_VIA_SMTP_AUTH(0.00)[]; RCVD_TLS_ALL(0.00)[]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; R_SPF_ALLOW(-0.20)[+ip4:209.85.128.0/17:c]; NEURAL_HAM_LONG(-0.91)[-0.908]; MIME_GOOD(-0.10)[multipart/alternative,text/plain]; PREVIOUSLY_DELIVERED(0.00)[haskell@freebsd.org]; ARC_SIGNED(0.00)[i=1]; DMARC_NA(0.00)[freebsd.org]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_HAM_SHORT(-0.97)[-0.969]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[209.85.208.174:from]; NEURAL_HAM_MEDIUM(-0.78)[-0.783]; FORGED_SENDER(0.30)[arrowd@freebsd.org,6yearold@gmail.com]; RWL_MAILSPIKE_POSSIBLE(0.00)[209.85.208.174:from]; R_DKIM_NA(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:15169, ipnet:209.85.128.0/17, country:US]; FROM_NEQ_ENVFROM(0.00)[arrowd@freebsd.org,6yearold@gmail.com]; FREEMAIL_ENVFROM(0.00)[gmail.com] Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.33 X-BeenThere: freebsd-haskell@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: FreeBSD-specific Haskell issues and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 16 Aug 2020 14:23:32 -0000 On Sun, Aug 16, 2020 at 3:56 PM David Wolfskill wrote: > Got this both with portmaster and with poudriere; build itself seems to > have gone OK, but then: > > [portmaster] > ... > > HC [stage 1] > libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Packa > geVersionConstraint.p_o > "rm" -f libraries/libiserv/dist-install/build/libHSlibiserv-8.10.1_p.a > libraries > /libiserv/dist-install/build/libHSlibiserv-8.10.1_p.a.contents > echo libraries/libiserv/dist-install/build/Lib.p_o > libraries/libiserv/dist-insta > ll/build/GHCi/Utils.p_o >> > libraries/libiserv/dist-install/build/libHSlib > iserv-8.10.1_p.a.contents > "xargs" "ar" qcls > libraries/libiserv/dist-install/build/libHSlibiserv-8.10.1_p > .a < > libraries/libiserv/dist-install/build/libHSlibiserv-8.10.1_p.a.contents > "rm" -f > libraries/libiserv/dist-install/build/libHSlibiserv-8.10.1_p.a.contents > LD_NO_GOLD libraries/libiserv/dist-install/build/HSlibiserv-8.10.1.p_o > HC [stage 1] utils/iserv/stage2_p/build/Main.p_o > HC [stage 1] compiler/stage2/build/DynFlags.o > cc: warning: argument unused during compilation: '-pthread' > [-Wunused-command-line-argument] > ld: error: -r and --export-dynamic may not be used together > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > `cc' failed in phase `Linker'. (Exit code: 1) > gmake[3]: *** [utils/iserv/ghc.mk:104: > utils/iserv/stage2_p/build/Main.p_o] Error 1 > > > [poudriere] > ... > HC [stage 1] utils/iserv/stage2_p/build/Main.p_o > "rm" -f libraries/ghci/dist-install/build/libHSghci-8.10.1.a > libraries/ghci/dist > -install/build/libHSghci-8.10.1.a.contents > echo libraries/ghci/dist-install/build/GHCi/BreakArray.o > libraries/ghci/dist-ins > tall/build/GHCi/BinaryArray.o > libraries/ghci/dist-install/build/GHCi/Message.o l > ibraries/ghci/dist-install/build/GHCi/ResolvedBCO.o > libraries/ghci/dist-install/ > build/GHCi/RemoteTypes.o libraries/ghci/dist-install/build/GHCi/FFI.o > libraries/ > ghci/dist-install/build/GHCi/InfoTable.o > libraries/ghci/dist-install/build/GHCi/ > StaticPtrTable.o libraries/ghci/dist-install/build/GHCi/TH/Binary.o > libraries/gh > ci/dist-install/build/SizedSeq.o > libraries/ghci/dist-install/build/GHCi/Run.o li > braries/ghci/dist-install/build/GHCi/CreateBCO.o > libraries/ghci/dist-install/bui > ld/GHCi/ObjLink.o libraries/ghci/dist-install/build/GHCi/Signals.o > libraries/ghc > i/dist-install/build/GHCi/TH.o >> > libraries/ghci/dist-install/build/libHS > ghci-8.10.1.a.contents > "xargs" "ar" qcls libraries/ghci/dist-install/build/libHSghci-8.10.1.a < > libra > ries/ghci/dist-install/build/libHSghci-8.10.1.a.contents > "rm" -f libraries/ghci/dist-install/build/libHSghci-8.10.1.a.contents > HC [stage 1] > libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Versi > on.o > HC [stage 1] > libraries/Cabal/Cabal/dist-install/build/Distribution/Types/Packa > geName.o > cc: warning: argument unused during compilation: '-pthread' > [-Wunused-command-line-argument] > ld: error: -r and --export-dynamic may not be used together > cc: error: linker command failed with exit code 1 (use -v to see > invocation) > `cc' failed in phase `Linker'. (Exit code: 1) > gmake[2]: *** [utils/iserv/ghc.mk:104: > utils/iserv/stage2_p/build/Main.p_o] Error 1 > > > In each case, this was running stable/12 on amd64 at r364265; ports > head at r545096. > Ouch, missed that. I've committed a patch for that now. Thanks for the heads-up.