Opened 15 years ago
Closed 13 years ago
#1613 closed Bugs (worksforme)
Link Errors against file_system on OS X with Intel Version 10.1 C++ compilers
Reported by: | anonymous | Owned by: | Beman Dawes |
---|---|---|---|
Milestone: | Boost 1.36.0 | Component: | filesystem |
Version: | Boost 1.34.1 | Severity: | Showstopper |
Keywords: | Cc: |
Description
While trying to create an intermediate dynamic library on OS X 10.4.11 (Intel) that utilizes boost::file_system I receive the following link errors:
Linking CXX shared library Bin/libMXADataModel.dylib xilibtool: executing 'libtool' ld: common symbols not allowed with MH_DYLIB output format with the -multi_module option CMakeFiles/MXADataModel.dir/src/HDF5/H5MXADataFile.o definition of common ZZN5boost10filesystem12initial_pathINS0_10basic_pathISbIwSt11char_traitsIwESaIwEENS0_12wpath_traitsEEEEERKT_vE9init_path (size 16) CMakeFiles/MXADataModel.dir/src/HDF5/H5MXADataFile.o definition of common ZZN5boost10filesystem12initial_pathINS0_10basic_pathISsNS0_11path_traitsEEEEERKT_vE9init_path (size 16) CMakeFiles/MXADataModel.dir/src/HDF5/H5MXADataFile.o definition of common ZZN5boost10filesystem6detail14remove_all_auxINS0_10basic_pathISbIwSt11char_traitsIwESaIwEENS0_12wpath_traitsEEEEEmRKT_E7end_itr (size 16) CMakeFiles/MXADataModel.dir/src/HDF5/H5MXADataFile.o definition of common ZZN5boost10filesystem6detail14remove_all_auxINS0_10basic_pathISsNS0_11path_traitsEEEEEmRKT_E7end_itr (size 16) libtool: internal link edit command failed make[2]: * [Bin/libMXADataModel.dylib] Error 1 make[1]: * [CMakeFiles/MXADataModel.dir/all] Error 2 make: * [all] Error 2
This is reproducible on the system by simply including boost/filesystem/operations.hpp in any file that is built into the library.
Thanks for your attention to this bug
Mike Jackson Senior Software Engineer IMTS.us
All the OS X / Intel C++ tests are now passing. See the current regression reports.
--Beman