LDFLAGS= -pthread situation
- Reply: Tomoaki AOKI : "Re: LDFLAGS= -pthread situation"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jan 2024 09:27:02 UTC
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)