Help needed: fix build issue with xdxf_makedict in older platforms
Leonardo Brondani Schenkel
leonardo at schenkel.net
Tue Nov 7 19:02:04 UTC 2017
On 2017-11-07 19:46, Ken Cunningham wrote:
> Leonardo, I find you can reproduce this build error on any system (I
> just did it on high sierra) if you do this:
>
> install clang-5.0 and libgcc as normally from the prebuilt packages
>
> sudo port install libgcc clang-5.0
>
> then run
>
> sudo port -v -s destroot xdxf_makedict
> configure.cxx_stdlib=macports-libstdc++
> configure.compiler=macports-clang-5.0
>
> and you duplicate the errors promptly.
Unfortunately that did not work for me, the port fails at the configure
phase:
-- The C compiler identification is Clang 5.0.0
-- The CXX compiler identification is Clang 5.0.0
-- Check for working C compiler: /opt/local/bin/clang-mp-5.0
-- Check for working C compiler: /opt/local/bin/clang-mp-5.0 -- broken
CMake Error at
/opt/local/share/cmake-3.9/Modules/CMakeTestCCompiler.cmake:51 (message):
The C compiler "/opt/local/bin/clang-mp-5.0" is not able to compile a
simple test program.
[...]
/opt/local/bin/clang-mp-5.0 -pipe -Os -DNDEBUG -arch x86_64
-mmacosx-version-min=10.13 -Wl,-search_paths_first
-Wl,-headerpad_max_install_names -L/opt/local/lib
-Wl,-headerpad_max_install_names
CMakeFiles/cmTC_16cfb.dir/testCCompiler.c.o -o cmTC_16cfb
ld: unexpected token: !tapi-tbd-v2 file
'/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk/usr/lib/libSystem.tbd'
for architecture x86_64
// Leonardo.
More information about the macports-dev
mailing list