Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 29 Jan 2024 20:10:52 +0900
From:      Tomoaki AOKI <junchoon@dec.sakura.ne.jp>
To:        Nuno Teixeira <eduardo@freebsd.org>
Cc:        FreeBSD Mailing List <freebsd-ports@freebsd.org>
Subject:   Re: LDFLAGS= -pthread situation
Message-ID:  <20240129201052.3520bea9850f96c9180b3bbc@dec.sakura.ne.jp>
In-Reply-To: <CAFDf7UKLPaWjmK-p5m8y5cj51t5geb=8ur_=JnSpBRQTv2B1dg@mail.gmail.com>
References:  <CAFDf7UKLPaWjmK-p5m8y5cj51t5geb=8ur_=JnSpBRQTv2B1dg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 29 Jan 2024 09:27:02 +0000
Nuno Teixeira <eduardo@freebsd.org> 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<int (&)(LowLevelMidiDriver*) <snip>
> 
> 
> 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    <junchoon@dec.sakura.ne.jp>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20240129201052.3520bea9850f96c9180b3bbc>