R4SAS
R4SAS
Homebrew using same gcc, but I don't know which version now. I'll try to run my VM with it (I don't have any real Mac here ;D) and try to...
Try latest commit.
That's why I'm asking you about determining in code that we use MacPorts GCC with custom pthreads which not supports `pthread_setname_np`. At least on `MacOSX10.6.sdk` it must work now. Maybe...
@barracuda156 can you test by changing check here: https://github.com/PurpleI2P/i2pd/blob/90130b5492e0505fd88113653f4a0668e8ab2a18/libi2pd/util.cpp#L126 to `#if defined(__APPLE__) && defined(CONFIG_PTHREAD_SETNAME_NP_W_TID)` ?
Can you find pthread.h header and send it here?
Currently trying to test with `cmake -DCMAKE_C_COMPILER=/opt/local/bin/gcc-mp-11 -DCMAKE_CXX_COMPILER=/opt/local/bin/g++-mp-11 -DBOOST_ROOT=/opt/local/libexec/boost/1.76 -DBoost_NO_SYSTEM_PATHS=TRUE -DZLIB_ROOT=/opt/local -Wno-dev .` add: failing to link binary... idk why, but boost can't find some symbols. add2: that's why I...
Hm. 10.6 header has option, using same type as we used (const char*), but why compiler tells that "char*" is needed - idk. Maybe wrong header? Difference with 10.5.8 only...
I found how to get all predefined macros: https://stackoverflow.com/a/10905013. Let's see what returns 10.5.8,
> @r4sas Thank you! Now files are built with a single warning: That's not problem, because code generated only when required > However linking stage fails: Same for me with...
No, there is no linking problem, there is library itself diffirence, because you trying to link clang built libraries with applicaton built by gcc and using gcc linker. So solution...