From nobody Mon Jan 29 11:10:52 2024 X-Original-To: freebsd-ports@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4TNlwT5hN9z58V79 for ; Mon, 29 Jan 2024 11:11:05 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Received: from www121.sakura.ne.jp (www121.sakura.ne.jp [153.125.133.21]) (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 did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4TNlwS5s69z3yfV; Mon, 29 Jan 2024 11:11:04 +0000 (UTC) (envelope-from junchoon@dec.sakura.ne.jp) Authentication-Results: mx1.freebsd.org; none Received: from kalamity.joker.local (123-1-91-49.area1b.commufa.jp [123.1.91.49]) (authenticated bits=0) by www121.sakura.ne.jp (8.17.1/8.17.1/[SAKURA-WEB]/20201212) with ESMTPA id 40TBArpd021732; Mon, 29 Jan 2024 20:10:53 +0900 (JST) (envelope-from junchoon@dec.sakura.ne.jp) Date: Mon, 29 Jan 2024 20:10:52 +0900 From: Tomoaki AOKI To: Nuno Teixeira Cc: FreeBSD Mailing List Subject: Re: LDFLAGS= -pthread situation Message-Id: <20240129201052.3520bea9850f96c9180b3bbc@dec.sakura.ne.jp> In-Reply-To: References: Organization: Junchoon corps X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.33; amd64-portbld-freebsd14.0) List-Id: Porting software to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-ports List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports@freebsd.org X-BeenThere: freebsd-ports@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4TNlwS5s69z3yfV X-Spamd-Bar: ---- X-Rspamd-Pre-Result: action=no action; module=replies; Message is reply to one we originated X-Spamd-Result: default: False [-4.00 / 15.00]; REPLY(-4.00)[]; ASN(0.00)[asn:7684, ipnet:153.125.128.0/18, country:JP] On Mon, 29 Jan 2024 09:27:02 +0000 Nuno Teixeira wrote: > Hello all! > > I was updating games/exult-devel and I found that build failed with: > > ld: error: undefined symbol: pthread_create > >>> referenced by LowLevelMidiDriver.cpp > >>> LowLevelMidiDriver.o:(std::__1::thread::thread > > > Related to a upstream change about threading support from C++11... > > Using LDFLAGS= -pthread fixed build and it is present in lot of ports. > > My question is if upstream could do anything to avoid this LDFLAGS addition. > This is being discussed at https://github.com/exult/exult/issues/436 > > Any sugestions are welcome! > > Thanks, > > -- > Nuno Teixeira > FreeBSD Committer (ports) Different port, but looks very similar situation with Bug 275950 [1], which I've filed but still not yet triaged (Status: New). [1] https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275950 -- Tomoaki AOKI