From owner-freebsd-arch@freebsd.org Thu Jan 21 02:39:41 2021 Return-Path: Delivered-To: freebsd-arch@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 BAE784E4161 for ; Thu, 21 Jan 2021 02:39:41 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from smtp.freebsd.org (smtp.freebsd.org [IPv6:2610:1c1:1:606c::24b:4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DLmnT50RBz4hlV for ; Thu, 21 Jan 2021 02:39:41 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: from mail-qk1-f170.google.com (mail-qk1-f170.google.com [209.85.222.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) (Authenticated sender: kevans) by smtp.freebsd.org (Postfix) with ESMTPSA id 991A3D005 for ; Thu, 21 Jan 2021 02:39:41 +0000 (UTC) (envelope-from kevans@freebsd.org) Received: by mail-qk1-f170.google.com with SMTP id h22so402776qkk.4 for ; Wed, 20 Jan 2021 18:39:41 -0800 (PST) X-Gm-Message-State: AOAM532mYoBD43bK0YewcAfxm0aoB6NG8hERKqJCiNt3QCHtrNycm5FR ol+qIDzJV5WFFMuVrZ79TC0BnUfiDtKPRjEfePU= X-Google-Smtp-Source: ABdhPJytD0INue2R/93A1kWjXDP8I6NY13tsAsVYgPfLg/m996PuNJwmPOVXbusebSnIqtgS9nWqUy42EWhBKS+e9Vc= X-Received: by 2002:a37:6713:: with SMTP id b19mr12326698qkc.493.1611196781069; Wed, 20 Jan 2021 18:39:41 -0800 (PST) MIME-Version: 1.0 From: Kyle Evans Date: Wed, 20 Jan 2021 20:39:30 -0600 X-Gmail-Original-Message-ID: Message-ID: Subject: Removing LIBPTHREAD/LIBTHR build options To: "freebsd-arch@freebsd.org" Content-Type: text/plain; charset="UTF-8" X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 02:39:41 -0000 Hi, I've staged a review to remove the LIBPTHREAD/LIBTHR build options: https://reviews.freebsd.org/D28263 WITHOUT_LIBTHR (and WITHOUT_LIBPTHREAD by proxy) was broken over five years ago, and the situation has only deteriorated since. It's hard to see the value in building a system without threading support entirely and no one has fixed it in the meantime, so I think it's time to stop pretending we can offer it. Comments? Thanks, Kyle Evans From owner-freebsd-arch@freebsd.org Thu Jan 21 21:28:12 2021 Return-Path: Delivered-To: freebsd-arch@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 5E8714DFEE1 for ; Thu, 21 Jan 2021 21:28:12 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (gate2.funkthat.com [208.87.223.18]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "gate2.funkthat.com", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DMFqc12HNz3CLq; Thu, 21 Jan 2021 21:28:11 +0000 (UTC) (envelope-from jmg@gold.funkthat.com) Received: from gold.funkthat.com (localhost [127.0.0.1]) by gold.funkthat.com (8.15.2/8.15.2) with ESMTPS id 10LLS9vi040304 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Thu, 21 Jan 2021 13:28:09 -0800 (PST) (envelope-from jmg@gold.funkthat.com) Received: (from jmg@localhost) by gold.funkthat.com (8.15.2/8.15.2/Submit) id 10LLS98f040303; Thu, 21 Jan 2021 13:28:09 -0800 (PST) (envelope-from jmg) Date: Thu, 21 Jan 2021 13:28:09 -0800 From: John-Mark Gurney To: Kyle Evans Cc: "freebsd-arch@freebsd.org" Subject: Re: Removing LIBPTHREAD/LIBTHR build options Message-ID: <20210121212809.GK31099@funkthat.com> Mail-Followup-To: Kyle Evans , "freebsd-arch@freebsd.org" References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Operating-System: FreeBSD 11.3-STABLE amd64 X-PGP-Fingerprint: D87A 235F FB71 1F3F 55B7 ED9B D5FF 5A51 C0AC 3D65 X-Files: The truth is out there X-URL: https://www.funkthat.com/ X-Resume: https://www.funkthat.com/~jmg/resume.html X-TipJar: bitcoin:13Qmb6AeTgQecazTWph4XasEsP7nGRbAPE X-to-the-FBI-CIA-and-NSA: HI! HOW YA DOIN? can i haz chizburger? User-Agent: Mutt/1.6.1 (2016-04-27) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.4.3 (gold.funkthat.com [127.0.0.1]); Thu, 21 Jan 2021 13:28:09 -0800 (PST) X-Rspamd-Queue-Id: 4DMFqc12HNz3CLq X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[] X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 21 Jan 2021 21:28:12 -0000 Kyle Evans wrote this message on Wed, Jan 20, 2021 at 20:39 -0600: > I've staged a review to remove the LIBPTHREAD/LIBTHR build options: > https://reviews.freebsd.org/D28263 > > WITHOUT_LIBTHR (and WITHOUT_LIBPTHREAD by proxy) was broken over five > years ago, and the situation has only deteriorated since. It's hard to > see the value in building a system without threading support entirely > and no one has fixed it in the meantime, so I think it's time to stop > pretending we can offer it. > > Comments? This option made sense 15-20 years ago when threading wasn't well defined and supported.. Things have changed significantly and it's a standard and expected interface. IMO, it's effectively mandatory, and the option should be removed... -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."