[MDEV-5982] `make` fail @ ".../libmysql_versions.ld:155:9: invalid use of VERSION in input file" Created: 2014-03-30  Updated: 2016-04-20  Resolved: 2016-04-20

Status: Closed
Project: MariaDB Server
Component/s: Compiling
Affects Version/s: 10.0.9, 10.0.10
Fix Version/s: 5.5.49, 10.0.25, 10.1.14

Type: Bug Priority: Minor
Reporter: pgnd Assignee: Sergei Golubchik
Resolution: Fixed Votes: 1
Labels: None
Environment:

lsb_release -ri
Distributor ID: openSUSE project
Release: 12.3
uname -a
Linux dev.localhost 3.7.10-1.28-desktop #1 SMP PREEMPT Mon Feb 3 14:11:15 UTC 2014 (c9a2c6c) x86_64 x86_64 x86_64 GNU/Linux



 Description   

with both

	trunk/r4140
	tag 10.0.9/r4040

build

	cmake .. \
	...
	make VERBOSE=1

fails at

	...
	Scanning dependencies of target libmysql
	make[2]: Leaving directory `/usr/local/src/mariadb/bld'
	make -f libmysql/CMakeFiles/libmysql.dir/build.make libmysql/CMakeFiles/libmysql.dir/build
	make[2]: Entering directory `/usr/local/src/mariadb/bld'
	/usr/bin/cmake -E cmake_progress_report /usr/local/src/mariadb/bld/CMakeFiles 
	[ 78%] Building CXX object libmysql/CMakeFiles/libmysql.dir/libmysql_exports_file.cc.o
	cd /usr/local/src/mariadb/bld/libmysql && /usr/bin/g++-4.8   -DHAVE_CONFIG_H -DHAVE_OPENSSL -Dlibmysql_EXPORTS -Wall -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector -march=amdfam10 -mtune=amdfam10 -felide-constructors -fno-exceptions -fno-rtti -Wall -Wno-unused-parameter -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1 -fPIC -I/usr/local/src/mariadb/bld/include -I/usr/local/src/mariadb/include -I/usr/local/src/mariadb/libmysql -I/usr/local/src/mariadb/bld/pcre -I/usr/local/src/mariadb/pcre -I/usr/local/src/mariadb/strings -I/usr/local/ssl/include    -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector -march=amdfam10 -mtune=amdfam10 -o CMakeFiles/libmysql.dir/libmysql_exports_file.cc.o -c /usr/local/src/mariadb/bld/libmysql/libmysql_exports_file.cc
	Linking CXX shared library libmysqlclient.so
	cd /usr/local/src/mariadb/bld/libmysql && /usr/bin/cmake -E cmake_link_script CMakeFiles/libmysql.dir/link.txt --verbose=1
	/usr/bin/g++-4.8  -fPIC -Wall -O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector -march=amdfam10 -mtune=amdfam10 -felide-constructors -fno-exceptions -fno-rtti -Wall -Wno-unused-parameter -fno-exceptions -fno-rtti -O2 -g -DNDEBUG -DDBUG_OFF -DMY_PTHREAD_FASTMUTEX=1  -Wl,--no-undefined -Wl,--no-undefined -Wl,/usr/local/src/mariadb/bld/libmysql/libmysql_versions.ld   -shared -Wl,-soname,libmysqlclient.so.18 -o libmysqlclient.so.18.0.0 CMakeFiles/libmysql.dir/libmysql_exports_file.cc.o -lpthread libclientlib.a ../dbug/libdbug.a ../strings/libstrings.a ../vio/libvio.a ../mysys/libmysys.a ../mysys_ssl/libmysys_ssl.a -lz /usr/local/ssl/lib64/libssl.so /usr/local/ssl/lib64/libcrypto.so -ldl -ldl ../dbug/libdbug.a ../mysys/libmysys.a ../dbug/libdbug.a ../mysys/libmysys.a -lz -lm ../strings/libstrings.a -lpthread -Wl,-rpath,/usr/local/ssl/lib64: 
	/usr/lib64/gcc/x86_64-suse-linux/4.8/../../../../x86_64-suse-linux/bin/ld: error: /usr/local/src/mariadb/bld/libmysql/libmysql_versions.ld:155:9: invalid use of VERSION in input file
	collect2: error: ld returned 1 exit status
	make[2]: *** [libmysql/libmysqlclient.so.18.0.0] Error 1
	make[2]: Leaving directory `/usr/local/src/mariadb/bld'
	make[1]: *** [libmysql/CMakeFiles/libmysql.dir/all] Error 2
	make[1]: Leaving directory `/usr/local/src/mariadb/bld'
	make: *** [all] Error 2

where

	cat /usr/local/src/mariadb/bld/libmysql/libmysql_versions.ld
		...
 
		/*
		  On Fedora the following symbols are exported, but renamed into a mysql_
		  namespace. We export them as aliases, but keep original symbols too. See
		  MDEV-4127.
		*/
		mysql_default_charset_info = default_charset_info;
		mysql_get_charset = get_charset;
		mysql_get_charset_by_csname = get_charset_by_csname;
		mysql_net_realloc = net_realloc;
		mysql_client_errors = client_errors;
 
155		VERSION {
 
		libmysqlclient_18 {
		  global:
		    get_tty_password;
		    mysql_thread_end;
		    mysql_thread_init;
		...



 Comments   
Comment by pgnd [ 2014-03-30 ]

a roll back to

tag:mariadb-10.0.8, r3994

cures the problem; build completes without error/fail.

regression bracketed bet revno 3994 & revno 4040

Comment by pgnd [ 2014-03-30 ]

note

http://bazaar.launchpad.net/~maria-captains/maria/10.0/revision/4015#libmysql/libmysql_versions.ld.in

testing

build revno 4014 ->  OK
build revno 4015 ->  FAIL, as above

fyi

ld -v
  GNU gold (GNU Binutils; devel:gcc / openSUSE_12.3 2.24.0.20131209-185) 1.11

Comment by Elena Stepanova [ 2014-03-30 ]

Could you please provide the complete cmake line?

It works for me on 13.1 (which is great news, at least there is a way to build it).
By default it picks up cc/c++, but even when I forced gcc/g++, it still got built. Compiler command lines are different though, so I suppose when you say

cmake .. \
...
make VERBOSE=1

there is something hiding under the dots?

Comment by pgnd [ 2014-03-30 ]

Yes, of course. NO options would be too easy, no?

This is my usual cmake

cmake .. \
 --debug-output \
  -G "Unix Makefiles" \
  -DENABLE_DEBUG_SYNC=0 \
  -DBUILD_SHARED_LIBS=1 \
 -DCMAKE_INSTALL_PREFIX=/usr/local/mariadb \
 -DCMAKE_C_FLAGS="-O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector -march=amdfam10 -mtune=amdfam10 -fno-omit-frame-pointer" \
 -DCMAKE_CXX_FLAGS="-O2 -D_FORTIFY_SOURCE=2 -fmessage-length=0 -fstack-protector -march=amdfam10 -mtune=amdfam10 -felide-constructors -fno-exceptions -fno-rtti" \
 -DWITH_MYSQLD_LDFLAGS="-L/usr/local/ssl/lib64 -Wl,-rpath,/usr/local/ssl/lib64 -lssl -lcrypto" \
-DCMAKE_SKIP_BUILD_RPATH=0 \
-DCMAKE_BUILD_WITH_INSTALL_RPATH=0 \
-DCMAKE_INSTALL_RPATH="" \
-DCMAKE_INSTALL_RPATH_USE_LINK_PATH=1 \
  -DINSTALL_LAYOUT=STANDALONE \
  -DINSTALL_LIBDIR=lib64 \
  -DINSTALL_MANDIR=/usr/local/mariadb/man \
  -DINSTALL_MYSQLDATADIR=/usr/local/mariadb/data -DMYSQL_DATADIR:PATH=/usr/local/mariadb/data \
  -DINSTALL_UNIX_ADDRDIR=/var/cache/mariadb/mariadb.sock \
    -DINSTALL_SYSCONFDIR=/usr/local/etc/mariadb.DEFAULT \
    -DINSTALL_SYSCONF2DIR=/usr/local/etc/mariadb.DEFAULT/conf.d \
    -DDEFAULT_SYSCONFDIR=/usr/local/etc/mariadb \
 -DCONNECT_WITH_MYSQL=1 \
 -DWITH_EMBEDDED_SERVER=0 \
-DWITH_ARCHIVE_STORAGE_ENGINE=0 \
-DWITH_ARIA_STORAGE_ENGINE=1 \
-DWITH_BLACKHOLE_STORAGE_ENGINE=0 \
-DWITH_CONNECT_STORAGE_ENGINE=0 \
-DWITH_FEDERATEDX_STORAGE_ENGINE=0 \
-DWITH_PARTITION_STORAGE_ENGINE=1 \
-DWITH_PERFSCHEMA_STORAGE_ENGINE=1 \
-DWITH_SEQUENCE_STORAGE_ENGINE=0 \
-DWITH_SPHINX_STORAGE_ENGINE=0 \
-DWITH_TEST_SQL_DISCOVERY_STORAGE_ENGINE=0 \
-DWITH_XTRADB_STORAGE_ENGINE=1 -DWITH_XTRADB=1 \
-DWITHOUT_INNOBASE=1 \
-DWITHOUT_TOKUDB_STORAGE_ENGINE=1 -DWITHOUT_TOKUDB=1 \
 -DWITH_READLINE=1 \
 -DWITH_ZLIB=system \
 -DWITH_UNIT_TESTS=0 \
 -DWITH_VALGRIND=0 \
 -DWITH_SSL=/usr/local/ssl \
  -DOPENSSL_ROOT_DIR=/usr/local/ssl \
  -DOPENSSL_INCLUDE_DIR=/usr/local/ssl/include \
  -DOPENSSL_LIBRARIES=/usr/local/ssl/lib64/libssl.so \
  -DCRYPTO_LIBRARY=/usr/local/ssl/lib64/libcrypto.so \
 -DDEFAULT_CHARSET=latin1 -DDEFAULT_COLLATION=latin1_swedish_ci \
  -DWITH_EXTRA_CHARSETS=all \
-DWITH_FAST_MUTEXES=1 \
-DWITH_ATOMIC_LOCKS="smp"

not a surprise; it's insensitive to

-march=amdfam10 -mtune=amdfam10

removing, or changing for other builds – same issue.

Comment by Sergei Golubchik [ 2014-03-31 ]

elenst gcc version isn't relevant here, I guess. ld version is. We use ld everywhere, not gold. I don't think we've ever tested linking with gold yet.

Comment by Elena Stepanova [ 2014-03-31 ]

serg, yes, we already discussed ld vs gold, and i tried both (or rather, all four – 2.23.1 ld/gold and 2.24.0 ld/gold), still haven't got the failure.

pgnd mentioned that the build machine is not a standard openSUSE installation, but a dev stack or something. I will need to know how exactly it was created and what was installed, and to try the same in order to pinpoint the important difference.

Comment by pgnd [ 2014-03-31 ]

nothing terribly untoward. by 'dev stack', i colloqiually refer to dev tools pulled from opensuse's mostly-official repos that are often significantly more up to date than the release channels; although, that of course varies over time.

i've a bunch of machines that all exhibit this same, reported failure.

here's the package env from one,

zypper ls -dup
	#  | Alias                | Name                         | Enabled | Refresh | Priority | Type   | URI                                                                                                                                           
	---+----------------------+------------------------------+---------+---------+----------+--------+-----------------------------------------------------------------------------------------------------------------------------------------------
	1  | Archiving            | Archiving                    | Yes     | Yes     |   99     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/Archiving/openSUSE_12.3                                                               
	2  | Editors              | Editors                      | Yes     | Yes     |   99     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/editors/openSUSE_12.3                                                                 
	3  | GCC                  | GCC                          | Yes     | Yes     |   40     | rpm-md | http://ftp5.gwdg.de/pub/opensuse/repositories/devel:/gcc/openSUSE_12.3                                                                        
	4  | Hardware             | Hardware                     | Yes     | Yes     |   99     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/hardware/openSUSE_12.3                                            
	5  | JavaOpenJDK          | JavaOpenJDK                  | Yes     | Yes     |   60     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/Java:/openjdk6:/Factory/openSUSE_12.3/                            
	6  | MySQL                | MySQL                        | Yes     | Yes     |   65     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/server:/database/openSUSE_12.3                                                        
	7  | Netfilter            | Netfilter                    | Yes     | Yes     |   40     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/security:/netfilter/openSUSE_12.3                                                     
	8  | Network-Samba        | Network-Samba                | Yes     | Yes     |   45     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/network:/samba:/STABLE/openSUSE_12.3                                                  
	9  | Network-vpn          | Network-vpn                  | Yes     | Yes     |   99     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/network:/vpn/openSUSE_12.3/                                                           
	10 | NetworkUtilities     | NetworkUtilities             | Yes     | Yes     |   89     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/network:/utilities/openSUSE_12.3                                  
	11 | OS12-non-oss         | OS12-non-oss                 | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/non-oss/                                                                                  
	12 | OS12-oss             | OS12-oss                     | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/distribution/12.3/repo/oss/                                                                                      
	13 | OS12-security        | OS12-security                | Yes     | Yes     |   90     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/security/openSUSE_12.3                                                                
	14 | OS12-src-non-oss     | OS12-src-non-oss             | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/12.3/repo/non-oss/                                                                           
	15 | OS12-src-oss         | OS12-src-oss                 | Yes     | Yes     |   99     | yast2  | http://download.opensuse.org/source/distribution/12.3/repo/oss/                                                                               
	16 | OS12-update          | OS12-update                  | Yes     | Yes     |   90     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/update/12.3                                                                                        
	17 | Perl                 | Perl                         | Yes     | Yes     |   60     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/devel:/languages:/perl/openSUSE_12.3                              
	18 | Python               | Python                       | Yes     | Yes     |   60     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/devel:/languages:/python/openSUSE_12.3                            
	19 | SCM                  | SCM                          | Yes     | Yes     |   99     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/devel:/tools:/scm/openSUSE_12.3                                                       
	20 | SCM-svn              | SCM-svn                      | Yes     | Yes     |   40     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/devel:/tools:/scm:/svn/openSUSE_12.3                              
	21 | SystemsMgmt          | SystemsMgmt                  | Yes     | Yes     |  100     | rpm-md | http://ftp.halifax.rwth-aachen.de/opensuse/repositories/systemsmanagement/openSUSE_12.3                                                       
	22 | Tools                | Tools                        | Yes     | Yes     |   89     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/devel:/tools/openSUSE_12.3                                        
	23 | ToolsBuilding        | ToolsBuilding                | Yes     | Yes     |   99     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/devel:/tools:/building/openSUSE_12.3                              
	24 | ToolsCompiler        | ToolsCompiler                | Yes     | Yes     |   99     | rpm-md | http://anorien.csc.warwick.ac.uk/mirrors/download.opensuse.org/repositories/devel:/tools:/compiler/openSUSE_12.3                              
	25 | packman              | packman                      | Yes     | Yes     |   14     | rpm-md | http://packman.inode.at/suse/openSUSE_12.3                                                                                                    
                                                   

I've built from src

openssl version --> prefix: /usr/local/ssl
	OpenSSL 1.0.1f 6 Jan 2014
 
ssh -V          --> prefix: /usr/local
	OpenSSH_6.5p1, OpenSSL 1.0.1f 6 Jan 2014

and there's

cat /etc/ld.so.conf
	/usr/local/lib64
	/usr/local/lib
	include /etc/ld.so.conf.d/*.conf

noteworthy versions are

gcc -v
	Using built-in specs.
	COLLECT_GCC=gcc
	COLLECT_LTO_WRAPPER=/usr/lib64/gcc/x86_64-suse-linux/4.8/lto-wrapper
	Target: x86_64-suse-linux
	Configured with: ../configure --prefix=/usr --infodir=/usr/share/info --mandir=/usr/share/man --libdir=/usr/lib64 --libexecdir=/usr/lib64 --enable-languages=c,c++,objc,fortran,obj-c++,java,ada --enable-checking=release --with-gxx-include-dir=/usr/include/c++/4.8 --enable-ssp --disable-libssp --disable-plugin --with-bugurl=http://bugs.opensuse.org/ --with-pkgversion='SUSE Linux' --disable-libgcj --disable-libmudflap --with-slibdir=/lib64 --with-system-zlib --enable-__cxa_atexit --enable-libstdcxx-allocator=new --disable-libstdcxx-pch --enable-version-specific-runtime-libs --enable-linker-build-id --enable-linux-futex --program-suffix=-4.8 --without-system-libunwind --with-arch-32=i586 --with-tune=generic --build=x86_64-suse-linux --host=x86_64-suse-linux
	Thread model: posix
	gcc version 4.8.2 20131210 [gcc-4_8-branch revision 205857] (SUSE Linux) 
 
rpm -q --whatprovides `which gcc`
	gcc-4.7-7.1.1.x86_64
 
ld -v
	GNU gold (GNU Binutils; devel:gcc / openSUSE_12.3 2.24.0.20131209-185) 1.11
rpm -q --whatprovides `which ld`
	binutils-2.24-185.1.x86_64

there's more, but I think this is mostly what's relevant.

and, again recall – builds of MariaDB 10 r <= 4014 are without error, and 'in production' are pretty much rock solid for me. r>= 4015, all fail similarly

Comment by pgnd [ 2014-04-01 ]

Not sure if I accidentally deleted the affects/version tag for 10.0.9; correcting.

Given

	mariadb-10.0.8       3994
	mariadb-10.0.9       4040

and that this appears at revno 4015, it effects >= 10.0.9

Comment by pgnd [ 2014-04-08 ]

just fyi, I've migrated the last of my opensuse v12.3 boxes -> v13.1.

the problem here remains, as reported above – just no more 12.3 boxes to test/verify on, only 13.1

Comment by Sergei Golubchik [ 2014-04-08 ]

This is gold specific error message (it's only present in the gold sources, not in ld sources). Unfortunately, I wasn't able to find any documentation about gold besides "supports most of the features of the GNU linker", so it's unclear why exactly it doesn't like a perfectly valid linker script. It seems that it only expects a VERSION section in a version script (--version-script command line option) or a linker script specified in --script (main linker script) option.

But GNU ld manual clearly says

3.9 VERSION Command
===================
...
   You can include a version script directly in the main linker script,
or you can supply the version script as an implicit linker script.  You
can also use the `--version-script' linker option.

and

3.11 Implicit Linker Scripts
============================
If you specify a linker input file which the linker can not recognize as
an object file or an archive file, it will try to read the file as a
linker script.
...
   Typically an implicit linker script would contain only symbol
assignments, or the `INPUT', `GROUP', or `VERSION' commands.

We put VERSION in the implicit version script — and gold doesn't seem to support it.

It's either a bug (if unintentional) or an undocumented incompatibility of gold.

Comment by Sergei Golubchik [ 2014-04-08 ]

I couldn't find an easy way of fixing the build for gold. We could have a workaround — the build that works, but doesn't provide exactly the same symbol versioning as with GNU ld. I'm not sure whether it's a good idea, though.

Comment by Sergei Golubchik [ 2014-05-05 ]

From the bugreport for gold:

For gold, using -T works because there is no default linker
script to replace. But coming up with something that works with both
linkers is clearly desirable. I think you could separate your script
into all the stuff before "VERSION { ... }", and leave that in an
implicit linker script, then put everything from the VERSION block
into a separate file and add that with --version-script.

So, we can either use -T for gold (but not for ld) or split the script.

Comment by Sergei Golubchik [ 2014-05-31 ]

Neither workaround helped. While gold stop issuing errors and started linking, it didn't produce the same results as *ld did. In particular, all symbol aliases in the libmysqlclient_16 version node were missing.

Comment by Sergei Golubchik [ 2014-10-02 ]

Apparently there's nothing we can do to have correctly versioned libraries with gold. It's up to gold developers to fix ld compatibility.

Comment by pgnd [ 2014-10-03 ]

In communicating with the ld.gold devs, upon their review of THIS bug, the following was shared:

"The initial analysis is basically correct: gold doesn't accept VERSION
in an implicit linker script. However, the fix for that is
straightforward, and it looks like they applied it.

The last two comments then say that something else went wrong, but
there are no details, so I have no idea what they did or what the
problem was.

In general please file gold bug reports at
http://sourceware.org/bugzilla and discuss gold issues on the mailing
list binutils@sourceware.org."

Since MariaDB dev (hopefully) has the details of what's been done, and what's still not working, it'd be generally helpful if you communicated the issue – which clearly affects MariaDB build – to ld upstream, avoiding any 'fogging' by the uninformed (aka, me).

Thanks.

Comment by Sergei Golubchik [ 2014-10-03 ]

Thanks. First, don't worry, comments to closed bugs are still forwarded.

Second. My last comment on the gold bug tracker (https://sourceware.org/bugzilla/show_bug.cgi?id=16895#c7) from 2014-05-31 explains the problem exactly. The linking worked but versioning of symbols was incorrect, there were no symbols in the libmysqlclient_16 version node.

My comment in this MDEV-5982 says the same. I don't know what other details are required. Considering that there were no comments on https://sourceware.org/bugzilla/show_bug.cgi?id=16895 after mine, I believed that no more information is needed.

Comment by Sergei Golubchik [ 2014-10-08 ]

we'll do the following:
if cmake detects gold it aborts with the error message like "gold linker doesn't support our symbol versioning scheme (https://sourceware.org/bugzilla/show_bug.cgi?id=16895), use ld or run cmake with -DDISABLE_LIBMYSQLCLIENT_SYMBOL_VERSIONING=1"

Comment by pgnd [ 2016-02-07 ]

> we'll do the following:
> if cmake detects gold it aborts with the error message like "gold linker
> doesn't support our symbol versioning scheme (https://sourceware.org/bugzilla/
> show_bug.cgi?id=16895), use ld or run cmake with -
> DDISABLE_LIBMYSQLCLIENT_SYMBOL_VERSIONING=1"

checking back on the error handling on this

bldg from latest 10.1 sources,

switching

-	-DCMAKE_LINKER=/usr/bin/ld.bfd \
+	-DCMAKE_LINKER=/usr/bin/ld.gold \

allows config to pass with NO errors, but subsequent make still fires error at

	...
	[ 76%] Built target clientlib
	[ 76%] Linking CXX shared library libmysqlclient.so
	/usr/lib64/gcc/x86_64-suse-linux/5/../../../../x86_64-suse-linux/bin/ld: error: /usr/local/src/mariadb/bld/libmysql/libmysql_versions.ld:155:9: invalid use of VERSION in input file
	collect2: error: ld returned 1 exit status
	libmysql/CMakeFiles/libmysql.dir/build.make:110: recipe for target 'libmysql/libmysqlclient.so.18.0.0' failed
	make[2]: *** [libmysql/libmysqlclient.so.18.0.0] Error 1
	CMakeFiles/Makefile2:4149: recipe for target 'libmysql/CMakeFiles/libmysql.dir/all' failed
	make[1]: *** [libmysql/CMakeFiles/libmysql.dir/all] Error 2
	Makefile:138: recipe for target 'all' failed
	make: *** [all] Error 2

it looks like it's still not detected/messaged correctly in 10.1

Comment by Sergei Golubchik [ 2016-04-18 ]

I've implemented configure-time gold detection and the DISABLE_LIBMYSQLCLIENT_SYMBOL_VERSIONING option.

Generated at Thu Feb 08 07:08:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.