From owner-svn-ports-all@freebsd.org Sat Oct 28 23:56:48 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 1C2A6E510A0 for ; Sat, 28 Oct 2017 23:56:48 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: from mail-qk0-f171.google.com (mail-qk0-f171.google.com [209.85.220.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id C7779EC8 for ; Sat, 28 Oct 2017 23:56:47 +0000 (UTC) (envelope-from jrm@ftfl.ca) Received: by mail-qk0-f171.google.com with SMTP id o187so12322772qke.7 for ; Sat, 28 Oct 2017 16:56:47 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=D2AAWBF1MBNPYSY74XMRfASPEW/jTYa2AlCQMQxYASU=; b=ajf0UK1EZkfypAJq8Be8y8vl8BcK+36GTZhQqCwyv9sw32tsubsXujq+9tcyUKB8ki kYZv2AvDmA0GkbO/gbah1PSwsb2oy5Q5tV48fi213fXbcyX1x3jImUPY94zCJf3Z9fWr 3XIGpEIn8oJA4pqTyaen9MFXg1+roYjR5WrxlJgcsE5FrcqBlMMZlZVk4dfpsH3iOahT JuzVrl4dy1lkB363YtSLHnrWekNe28BkgM8e+lDMHsyq74XNC9ODEJWc1Z5x6flkmjcr QZXWdTv0BmsGDiAwjuesPnOjCSB330zUFzl/SVQj0SbWmAwQzRtO1J5xCGRNYp5uVo72 HVRw== X-Gm-Message-State: AMCzsaVC+ssc0YAJybaEAitiEKoxoDwyu4XEST1sG33u3dKfv5Au53zT XDEC7pSrnv3OoQAG6lcm9XfdlQ== X-Google-Smtp-Source: ABhQp+Q+2o86y4yjLOSthALLDE36GuRM8pXz0k2OEE+c6/Y/mXOwZgYPutfmVjg9cvxIPXvw+3/F/w== X-Received: by 10.55.31.141 with SMTP id n13mr6991643qkh.179.1509235001283; Sat, 28 Oct 2017 16:56:41 -0700 (PDT) Received: from phe.ftfl.ca.ftfl.ca (hlfxns017vw-142-68-134-140.dhcp-dynamic.fibreop.ns.bellaliant.net. [142.68.134.140]) by smtp.gmail.com with ESMTPSA id v21sm7832329qtv.21.2017.10.28.16.56.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Sat, 28 Oct 2017 16:56:40 -0700 (PDT) From: Joseph Mingrone To: Tijl Coosemans Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org, portmgr@FreeBSD.org, Johannes M Dieterich , yuri@rawbw.com, maho@FreeBSD.org, sunpoet@FreeBSD.org Subject: Re: svn commit: r452962 - head/math/libRmath References: <201710270052.v9R0qf7A058644@repo.freebsd.org> <20171027125130.39e98c9c@kalimero.tijl.coosemans.org> <86d158vcve.fsf@phe.ftfl.ca> <20171028124843.56f8e8d3@kalimero.tijl.coosemans.org> <86y3nvtjlt.fsf@phe.ftfl.ca> <20171028182237.1f83708c@kalimero.tijl.coosemans.org> Date: Sat, 28 Oct 2017 20:56:38 -0300 In-Reply-To: <20171028182237.1f83708c@kalimero.tijl.coosemans.org> (Tijl Coosemans's message of "Sat, 28 Oct 2017 18:22:48 +0200") Message-ID: <861slmu8qx.fsf@phe.ftfl.ca> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.3 (berkeley-unix) MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Oct 2017 23:56:48 -0000 --=-=-= Content-Type: text/plain Tijl Coosemans writes: > It's not a gfortran problem. It's a kernel or libthr problem. You can > work around it by avoiding the combination of recycled thread stacks and > exception handling done by ports libgcc_s. When you switched from curl > to wget you avoided threads and that fixed the problem. Switching to > flang avoids ports libgcc_s and that also fixes the problem, but it's not > necessary to go this way. You could probably go back to curl if you > build it with the CARES option instead of THREADED_RESOLVER. I missed this paragraph last time around. It's not really a switch to wget. We just pull it in as RUN_DEPENDS when gfortran is on. R still defaults to downloading packages with curl. Users can create/edit configuration to switch to wget, which is not a big deal, but not ideal. I've copied sunpoet@, the maintainer of ftp/curl. sunpoet@, what do you think about switching ftp/curl's default to c-ares instead of THREADED_RESOLVER to work around this problem (until there are fixes for the threading problem that is triggered with ports libgcc_s)? Here is a quick-and-dirty poudriere testport run. I say quick-and_dirty because 1) I just included ports, which have a Makefile with USES.*fortran in them, so there are probably some ports missing and 2) I haven't looked in detail at the build logs to see what is going on. math/lapack resulted in, by far, the most severe fallout. http://pkg.awarnach.mathstat.dal.ca/build.html?mastername=11amd64-default&build=2017-10-28_12h15m47s --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEVbCTpybDiFVxIrrVNqQMg7DW754FAln1GTZfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDU1 QjA5M0E3MjZDMzg4NTU3MTIyQkFENTM2QTQwQzgzQjBENkVGOUUACgkQNqQMg7DW 755NYA/9G9qH5jKNM2cSVypyTbKQ/81hxJj/M8xsK5oH8mauUHrFNpuBVkYiZWqG gApHrynCymIVbp3hDeQEjNtEfH/L9kX3eg4LLJLBon6VOEa1zigtiCvXRW1UGSad Z6WX09dJVC5k+w0HVHnPES37K7nYdNwk5EGd7rnhRcY6A2hOnjYb1KR2EeoguINn cixwaZHs8arVCsXFoZJ3HdjQ8zAhl+sANOf0bvicOMddQJbC3XsNUZeRQ8y+BKav 0U0YeAtwnrXYmX9XA7q6gxQRXKiNNZIdhK6fWvaL7sj7My+yUVcU9qX/7MYKDZsj 5udAQ12SmhrdcpKFae4wbHoghqqx+hOSyfYkIW61qGpPV0rutjPe1OHgGE5cOfKf xMX4EqF1vy38ANrBMOPdoZpCFsdvH58/cQwgYrN3A8WCq/Tc49uDEiLt3l0tt1Wm R3nfyeLz+UmTrroiKwXjkzLPkjeXO7v7Hg6dSf0JBFt+bnB01GDHT60TYdiVvGMF kpNa4Sf7dSu3ND7r+pl0frOS1vZ2GnMFlb4Xl/pKpJCIwXzkhnMLhOVBMZEbmyPf enpkBAnXmzPJgeqUViIaeIBOWNkLi/sMaxrMEoXMuTV/P8bsewha+NwtdB10OUhL NCWctq82CnCXmFyZOsjzRUXAhdw3a5FMg/fN0juCzRH4TeKNa+4= =40Lu -----END PGP SIGNATURE----- --=-=-=--