Details
-
Bug
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Fixed
-
10.0.15
-
None
-
FreeBSD 10.1-RELEASE AMD64.
Description
Noticed compile failure building from the Official 10.1 source (not PORTS) on FreeBSD 10.1.
cmake . -DBUILD_CONFIG=mysql_release
|
gmake VERBOSE=1
|
Linking CXX shared module ha_mroonga.so
|
cd /root/src/a/mariadb-10.0.15/storage/mroonga && /usr/local/bin/cmake -E cmake_link_script CMakeFiles/mroonga.dir/link.txt --verbose=1
|
/usr/bin/CC -fPIC -O2 -g -DNDEBUG -DDBUG_OFF -shared -Wl,-soname,ha_mroonga.so -o ha_mroonga.so CMakeFiles/mroonga.dir/ha_mroonga.cpp.o CMakeFiles/mroonga.dir/mrn_table.cpp.o CMakeFiles/mroonga.dir/udf/mrn_udf_last_insert_grn_id.cpp.o CMakeFiles/mroonga.dir/udf/mrn_udf_snippet.cpp.o CMakeFiles/mroonga.dir/udf/mrn_udf_command.cpp.o CMakeFiles/mroonga.dir/udf/mrn_udf_escape.cpp.o CMakeFiles/mroonga.dir/vendor/groonga/vendor/plugins/groonga-normalizer-mysql/normalizers/mysql.c.o CMakeFiles/mroonga.dir/lib/mrn_index_table_name.cpp.o CMakeFiles/mroonga.dir/lib/mrn_index_column_name.cpp.o CMakeFiles/mroonga.dir/lib/mrn_debug_column_access.cpp.o CMakeFiles/mroonga.dir/lib/mrn_auto_increment_value_lock.cpp.o CMakeFiles/mroonga.dir/lib/mrn_external_lock.cpp.o CMakeFiles/mroonga.dir/lib/mrn_multiple_column_key_codec.cpp.o CMakeFiles/mroonga.dir/lib/mrn_field_normalizer.cpp.o CMakeFiles/mroonga.dir/lib/mrn_encoding.cpp.o CMakeFiles/mroonga.dir/lib/mrn_parameters_parser.cpp.o CMakeFiles/mroonga.dir/lib/mrn_lock.cpp.o CMakeFiles/mroonga.dir/lib/mrn_condition_converter.cpp.o CMakeFiles/mroonga.dir/lib/mrn_time_converter.cpp.o CMakeFiles/mroonga.dir/lib/mrn_database_manager.cpp.o CMakeFiles/mroonga.dir/lib/mrn_match_escalation_threshold_scope.cpp.o CMakeFiles/mroonga.dir/lib/mrn_path_mapper.cpp.o CMakeFiles/mroonga.dir/lib/mrn_smart_grn_obj.cpp.o -L/root/src/a/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib -L/root/src/a/mariadb-10.0.15/libservices -lpthread ../../libservices/libmysqlservices.a vendor/groonga/lib/libgroonga.a vendor/groonga/lib/libgroonga.a -lpthread -lexecinfo -lrt -lpthread -lm -lstdc++ -Wl,-rpath,/root/src/a/mariadb-10.0.15/storage/mroonga/vendor/groonga/lib:/root/src/a/mariadb-10.0.15/libservices:
|
/usr/bin/ld: vendor/groonga/lib/libgroonga.a(ctx.c.o): relocation R_X86_64_32S against `a local symbol' can not be used when making a shared object; recompile with -fPIC
|
vendor/groonga/lib/libgroonga.a: could not read symbols: Bad value
|
CC: error: linker command failed with exit code 1 (use -v to see invocation)
|
storage/mroonga/CMakeFiles/mroonga.dir/build.make:639: recipe for target 'storage/mroonga/ha_mroonga.so' failed
|
gmake[2]: *** [storage/mroonga/ha_mroonga.so] Error 1
|
gmake[2]: Leaving directory '/root/src/a/mariadb-10.0.15'
|
CMakeFiles/Makefile2:2727: recipe for target 'storage/mroonga/CMakeFiles/mroonga.dir/all' failed
|
gmake[1]: *** [storage/mroonga/CMakeFiles/mroonga.dir/all] Error 2
|
gmake[1]: Leaving directory '/root/src/a/mariadb-10.0.15'
|
Makefile:147: recipe for target 'all' failed
|
gmake: *** [all] Error 2
|
Platform information:
uname -a
|
FreeBSD SV-0560 10.1-RELEASE FreeBSD 10.1-RELEASE #0 r274401: Tue Nov 11 21:02:49 UTC 2014 root@releng1.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
|
 |
cc -v
|
FreeBSD clang version 3.4.1 (tags/RELEASE_34/dot1-final 208032) 20140512
|
Target: x86_64-unknown-freebsd10.1
|