[MDEV-8423] Debian reproducible builds fail regarding mysql.sym.gz Created: 2015-07-03  Updated: 2016-12-01  Resolved: 2016-11-25

Status: Closed
Project: MariaDB Server
Component/s: Packaging, Platform Debian
Affects Version/s: 10.0.20
Fix Version/s: 10.2.3

Type: Bug Priority: Major
Reporter: Otto Kekäläinen Assignee: Otto Kekäläinen
Resolution: Fixed Votes: 0
Labels: None


 Description   

Debian likes that builds are reproducible. We've already done many small fixes, but this nag still remains: Unsorted symbol list in ./usr/share/doc/mariadb-server-10.0/mysqld.sym.gz

See https://reproducible.debian.net/rb-pkg/unstable/amd64/mariadb-10.0.html and https://reproducible.debian.net/rb-pkg/unstable/amd64/mariadb-10.0.html

What could we do to get the symbols list sorted or in some other way to be identical from build to build?



 Comments   
Comment by Elena Stepanova [ 2015-07-08 ]

It appears to be done on purpose, now that's how the file is created:

nm -n builddir/sql/mysqld |gzip -9 > .../mysqld.sym.gz

and -n is

-n
-v
--numeric-sort
Sort symbols numerically by their addresses, rather than alphabetically by their names.

So, it should be very easy to fix, but I don't know why it was done this way in the first place, so assigning to serg who might know.

Comment by Otto Kekäläinen [ 2015-07-19 ]

"nm -n" is not enough, because it does not sort the unnumbered symbols in any way. I added a simple sort like this https://github.com/ottok/mariadb-10.0/commit/2ddd8d78f7fb2d87e65c6e0e602e69e4ac88f969 and the situation improved, but is not fully resolved.

There seems to be actually different symbols in mysql.sym file depending on variations in Debian reproducibility test environments, see https://reproducible.debian.net/rb-pkg/unstable/amd64/mariadb-10.0.html

mysqld.sym
Offset 1, 349 lines modified	Offset 1, 7 lines modified
1	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_IO_getc@@GLIBC_2.​2.​5	 
2	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_IO_putc@@GLIBC_2.​2.​5	 
3	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZNKSt5ctypeIcE13_M_w​iden_initEv@@GLIBCXX_​3.​4.​11	 
4	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZNSo3putEc@@GLIBCXX_​3.​4	 
5	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZNSo5flushEv@@GLIBCX​X_3.​4	 
6	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZNSt8__detail15_List​_node_base7_M_hookEPS​0_@@GLIBCXX_3.​4.​15	 
7	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZNSt8ios_base4InitC1​Ev@@GLIBCXX_3.​4	 
8	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZNSt8ios_base4InitD1​Ev@@GLIBCXX_3.​4	 
9	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZNSt9basic_iosIcSt11​char_traitsIcEE5clear​ESt12_Ios_Iostate@@GL​IBCXX_3.​4	 
10	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZSt16__ostream_inser​tIcSt11char_traitsIcE​ERSt13basic_ostreamIT​_T0_ES6_PKS3_l@@GLIBC​XX_3.​4.​9	 
11	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZSt16__throw_bad_cas​tv@@GLIBCXX_3.​4	 
12	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZSt18_Rb_tree_decrem​entPSt18_Rb_tree_node​_base@@GLIBCXX_3.​4	 
13	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZSt18_Rb_tree_increm​entPKSt18_Rb_tree_nod​e_base@@GLIBCXX_3.​4	 
14	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZSt18_Rb_tree_increm​entPSt18_Rb_tree_node​_base@@GLIBCXX_3.​4	 
15	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZSt24__throw_out_of_​range_fmtPKcz@@GLIBCX​X_3.​4.​20	 
16	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZSt28_Rb_tree_rebala​nce_for_erasePSt18_Rb​_tree_node_baseRS_@@G​LIBCXX_3.​4	 
17	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZSt29_Rb_tree_insert​_and_rebalancebPSt18_​Rb_tree_node_baseS0_R​S_@@GLIBCXX_3.​4	 
18	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZdaPv@@GLIBCXX_3.​4	 
19	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZdlPv@@GLIBCXX_3.​4	 
20	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_Znam@@GLIBCXX_3.​4	 
21	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZnamRKSt9nothrow_t@@​GLIBCXX_3.​4	 
22	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_Znwm@@GLIBCXX_3.​4	 
23	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​_ZnwmRKSt9nothrow_t@@​GLIBCXX_3.​4	 
24	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__assert_fail@@GLIBC_​2.​2.​5	 
25	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__ctype_b_loc@@GLIBC_​2.​3	 
26	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__cxa_atexit@@GLIBC_2​.​2.​5	 
27	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__cxa_demangle@@CXXAB​I_1.​3	 
28	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__cxa_pure_virtual@@C​XXABI_1.​3	 
29	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__errno_location@@GLI​BC_2.​2.​5	 
30	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__finite@@GLIBC_2.​2.​5	 
31	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__fprintf_chk@@GLIBC_​2.​3.​4	 
32	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__fread_chk@@GLIBC_2.​7	 
33	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__fxstat64@@GLIBC_2.​2.​5	 
34	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__isinf@@GLIBC_2.​2.​5	 
35	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__isnan@@GLIBC_2.​2.​5	 
36	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__isnanf@@GLIBC_2.​2.​5	 
37	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__libc_start_main@@GL​IBC_2.​2.​5	 
38	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__lxstat64@@GLIBC_2.​2.​5	 
39	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__memcpy_chk@@GLIBC_2​.​3.​4	 
40	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__memmove_chk@@GLIBC_​2.​3.​4	 
41	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__memset_chk@@GLIBC_2​.​3.​4	 
42	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__poll_chk@@GLIBC_2.​16	 
43	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__pread64_chk@@GLIBC_​2.​4	 
44	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__printf_chk@@GLIBC_2​.​3.​4	 
45	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__rawmemchr@@GLIBC_2.​2.​5	 
46	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__realpath_chk@@GLIBC​_2.​4	 
47	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__register_atfork@@GL​IBC_2.​3.​2	 
48	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__snprintf_chk@@GLIBC​_2.​3.​4	 
49	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__sprintf_chk@@GLIBC_​2.​3.​4	 
50	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__stack_chk_fail@@GLI​BC_2.​4	 
51	[·​292·​lines·​removed·​]	 
343	0000000000000000·​d·​je_tcache_enabled_tls​	1	0000000000000000·​d·​je_tcache_enabled_tls​
344	0000000000000008·​b·​srv_current_thread_pr​iority	2	0000000000000008·​b·​srv_current_thread_pr​iority
345	0000000000000010·​b·​je_thread_allocated_t​ls	3	0000000000000010·​b·​je_thread_allocated_t​ls
346	0000000000000020·​b·​je_arenas_tls	4	0000000000000020·​b·​je_arenas_tls
347	0000000000000028·​b·​je_prof_tdata_tls	5	0000000000000028·​b·​je_prof_tdata_tls
348	0000000000000030·​b·​je_quarantine_tls	6	0000000000000030·​b·​je_quarantine_tls
349	0000000000000038·​b·​je_tcache_tls	7	0000000000000038·​b·​je_tcache_tls
Offset 30150, 7 lines modified	Offset 29808, 349 lines modified
30150	0000000001c594a0·​b·​je_tcache_maxclass	29808	0000000001c594a0·​b·​je_tcache_maxclass
30151	0000000001c594a8·​b·​je_nhbins	29809	0000000001c594a8·​b·​je_nhbins
30152	0000000001c594b0·​b·​je_tcache_tsd	29810	0000000001c594b0·​b·​je_tcache_tsd
30153	0000000001c594b4·​b·​je_tcache_enabled_tsd​	29811	0000000001c594b4·​b·​je_tcache_enabled_tsd​
30154	0000000001c594b8·​b·​je_tcache_bin_info	29812	0000000001c594b8·​b·​je_tcache_bin_info
30155	0000000001c594c0·​B·​malloc_message	29813	0000000001c594c0·​B·​malloc_message
30156	0000000001c594c8·​B·​_end	29814	0000000001c594c8·​B·​_end
 	29815	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​abort@@GLIBC_2.​2.​5
 	29816	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​accept@@GLIBC_2.​2.​5
 	29817	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​access@@GLIBC_2.​2.​5
 	29818	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​acos@@GLIBC_2.​2.​5
 	29819	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​adler32
 	29820	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​alarm@@GLIBC_2.​2.​5
 	29821	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​asin@@GLIBC_2.​2.​5
 	29822	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__assert_fail@@GLIBC_​2.​2.​5
 	29823	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​atan2@@GLIBC_2.​2.​5
 	29824	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​atan@@GLIBC_2.​2.​5
 	29825	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​backtrace@@GLIBC_2.​2.​5
 	29826	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​backtrace_symbols_fd@​@GLIBC_2.​2.​5
 	29827	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​backtrace_symbols@@GL​IBC_2.​2.​5
 	29828	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​bind@@GLIBC_2.​2.​5
 	29829	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​ceilf@@GLIBC_2.​2.​5
 	29830	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​ceil@@GLIBC_2.​2.​5
 	29831	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​chdir@@GLIBC_2.​2.​5
 	29832	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​chmod@@GLIBC_2.​2.​5
 	29833	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​chown@@GLIBC_2.​2.​5
 	29834	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​chroot@@GLIBC_2.​2.​5
 	29835	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​clearerr@@GLIBC_2.​2.​5
 	29836	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​clock_gettime@@GLIBC_​2.​17
 	29837	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​closedir@@GLIBC_2.​2.​5
 	29838	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​close@@GLIBC_2.​2.​5
 	29839	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​compressBound@@ZLIB_1​.​2.​0
 	29840	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​confstr@@GLIBC_2.​2.​5
 	29841	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​connect@@GLIBC_2.​2.​5
 	29842	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​cos@@GLIBC_2.​2.​5
 	29843	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​crc32
 	29844	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​creat@@GLIBC_2.​2.​5
 	29845	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​crypt@@GLIBC_2.​2.​5
 	29846	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__ctype_b_loc@@GLIBC_​2.​3
 	29847	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__cxa_atexit@@GLIBC_2​.​2.​5
 	29848	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__cxa_demangle@@CXXAB​I_1.​3
 	29849	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​__cxa_pure_virtual@@C​XXABI_1.​3
 	29850	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​deflate
 	29851	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​deflateEnd
 	29852	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​deflateInit_
 	29853	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​deflateInit2_
 	29854	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​deflateReset
 	29855	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​difftime@@GLIBC_2.​2.​5
 	29856	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​dlclose@@GLIBC_2.​2.​5
 	29857	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​dlerror@@GLIBC_2.​2.​5
 	29858	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​dlopen@@GLIBC_2.​2.​5
 	29859	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​dlsym@@GLIBC_2.​2.​5
 	29860	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​dup2@@GLIBC_2.​2.​5
 	29861	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​dup@@GLIBC_2.​2.​5
 	29862	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​endpwent@@GLIBC_2.​2.​5
 	29863	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​epoll_create@@GLIBC_2​.​3.​2
 	29864	·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​·​U·​epoll_ctl@@GLIBC_2.​3.​2

serg Ideas what these are and what should be done about them?

Comment by Sergei Golubchik [ 2015-07-25 ]

Yes.

  1. if the final mysqld binary is not stripped, you can drop mysql.sym.gz completely
  2. otherwise you can try nm --defined-only instead of nm -n
  3. or try to set the locale before sorting, like nm|LANG=C sort|gzip...
Comment by Otto Kekäläinen [ 2015-07-25 ]

Thanks for tip 2, looks promising:

$ diff -u mysqld.sym.old mysqld.sym.new
--- mysqld.sym.old	2015-07-25 01:01:58.243554014 +0300
+++ mysqld.sym.new	2015-07-25 01:11:37.195552347 +0300
@@ -1,342 +1,3 @@
-                 U _IO_getc@@GLIBC_2.2.5
-                 U _IO_putc@@GLIBC_2.2.5
-                 U _ZNKSt5ctypeIcE13_M_widen_initEv@@GLIBCXX_3.4.11
-                 U _ZNSo3putEc@@GLIBCXX_3.4
-                 U _ZNSo5flushEv@@GLIBCXX_3.4
-                 U _ZNSt8__detail15_List_node_base7_M_hookEPS0_@@GLIBCXX_3.4.15
-                 U _ZNSt8ios_base4InitC1Ev@@GLIBCXX_3.4
-                 U _ZNSt8ios_base4InitD1Ev@@GLIBCXX_3.4
-                 U _ZNSt9basic_iosIcSt11char_traitsIcEE5clearESt12_Ios_Iostate@@GLIBCXX_3.4
-                 U _ZSt16__ostream_insertIcSt11char_traitsIcEERSt13basic_ostreamIT_T0_ES6_PKS3_l@@GLIBCXX_3.4.9
-                 U _ZSt16__throw_bad_castv@@GLIBCXX_3.4
-                 U _ZSt18_Rb_tree_decrementPKSt18_Rb_tree_node_base@@GLIBCXX_3.4
-                 U _ZSt18_Rb_tree_decrementPSt18_Rb_tree_node_base@@GLIBCXX_3.4
-                 U _ZSt18_Rb_tree_incrementPKSt18_Rb_tree_node_base@@GLIBCXX_3.4
-                 U _ZSt18_Rb_tree_incrementPSt18_Rb_tree_node_base@@GLIBCXX_3.4
-                 U _ZSt20__throw_out_of_rangePKc@@GLIBCXX_3.4
-                 U _ZSt28_Rb_tree_rebalance_for_erasePSt18_Rb_tree_node_baseRS_@@GLIBCXX_3.4
-                 U _ZSt29_Rb_tree_insert_and_rebalancebPSt18_Rb_tree_node_baseS0_RS_@@GLIBCXX_3.4
-                 U _ZdaPv@@GLIBCXX_3.4
-                 U _ZdlPv@@GLIBCXX_3.4
-                 U _Znam@@GLIBCXX_3.4
-                 U _ZnamRKSt9nothrow_t@@GLIBCXX_3.4
-                 U _Znwm@@GLIBCXX_3.4
-                 U _ZnwmRKSt9nothrow_t@@GLIBCXX_3.4
-                 U __assert_fail@@GLIBC_2.2.5
-                 U __ctype_b_loc@@GLIBC_2.3
-                 U __cxa_atexit@@GLIBC_2.2.5
-                 U __cxa_demangle@@CXXABI_1.3
-                 U __cxa_pure_virtual@@CXXABI_1.3
-                 U __errno_location@@GLIBC_2.2.5
-                 U __finite@@GLIBC_2.2.5
-                 U __fprintf_chk@@GLIBC_2.3.4
-                 U __fread_chk@@GLIBC_2.7
-                 U __fxstat64@@GLIBC_2.2.5
-                 U __isinf@@GLIBC_2.2.5
-                 U __isnan@@GLIBC_2.2.5
-                 U __isnanf@@GLIBC_2.2.5
-                 U __libc_start_main@@GLIBC_2.2.5
-                 U __lxstat64@@GLIBC_2.2.5
-                 U __memcpy_chk@@GLIBC_2.3.4
-                 U __memmove_chk@@GLIBC_2.3.4
-                 U __memset_chk@@GLIBC_2.3.4
-                 U __pread64_chk@@GLIBC_2.4
-                 U __printf_chk@@GLIBC_2.3.4
-                 U __rawmemchr@@GLIBC_2.2.5
-                 U __realpath_chk@@GLIBC_2.4
-                 U __register_atfork@@GLIBC_2.3.2
-                 U __snprintf_chk@@GLIBC_2.3.4
-                 U __sprintf_chk@@GLIBC_2.3.4
-                 U __stack_chk_fail@@GLIBC_2.4
-                 U __strcat_chk@@GLIBC_2.3.4
-                 U __strcpy_chk@@GLIBC_2.3.4
-                 U __strncat_chk@@GLIBC_2.3.4
-                 U __strncpy_chk@@GLIBC_2.3.4
-                 U __tls_get_addr@@GLIBC_2.3
-                 U __vasprintf_chk@@GLIBC_2.8
-                 U __vfprintf_chk@@GLIBC_2.3.4
-                 U __vsnprintf_chk@@GLIBC_2.3.4
-                 U __xstat64@@GLIBC_2.2.5
-                 U _exit@@GLIBC_2.2.5
-                 U abort@@GLIBC_2.2.5
-                 U accept@@GLIBC_2.2.5
-                 U access@@GLIBC_2.2.5
-                 U acos@@GLIBC_2.2.5
-                 U adler32
-                 U alarm@@GLIBC_2.2.5
-                 U asin@@GLIBC_2.2.5
-                 U atan2@@GLIBC_2.2.5
-                 U atan@@GLIBC_2.2.5
-                 U backtrace@@GLIBC_2.2.5
-                 U backtrace_symbols@@GLIBC_2.2.5
-                 U backtrace_symbols_fd@@GLIBC_2.2.5
-                 U bind@@GLIBC_2.2.5
-                 U bsearch@@GLIBC_2.2.5
-                 U ceil@@GLIBC_2.2.5
-                 U ceilf@@GLIBC_2.2.5
-                 U chdir@@GLIBC_2.2.5
-                 U chmod@@GLIBC_2.2.5
-                 U chown@@GLIBC_2.2.5
-                 U chroot@@GLIBC_2.2.5
-                 U clearerr@@GLIBC_2.2.5
-                 U clock_gettime@@GLIBC_2.2.5
-                 U close@@GLIBC_2.2.5
-                 U closedir@@GLIBC_2.2.5
-                 U compressBound@@ZLIB_1.2.0
-                 U confstr@@GLIBC_2.2.5
-                 U connect@@GLIBC_2.2.5
-                 U cos@@GLIBC_2.2.5
-                 U crc32
-                 U creat@@GLIBC_2.2.5
-                 U crypt@@GLIBC_2.2.5
-                 U deflate
-                 U deflateEnd
-                 U deflateInit2_
-                 U deflateInit_
-                 U deflateReset
-                 U difftime@@GLIBC_2.2.5
-                 U dlclose@@GLIBC_2.2.5
-                 U dlerror@@GLIBC_2.2.5
-                 U dlopen@@GLIBC_2.2.5
-                 U dlsym@@GLIBC_2.2.5
-                 U dup2@@GLIBC_2.2.5
-                 U dup@@GLIBC_2.2.5
-                 U endpwent@@GLIBC_2.2.5
-                 U epoll_create@@GLIBC_2.3.2
-                 U epoll_ctl@@GLIBC_2.3.2
-                 U epoll_wait@@GLIBC_2.3.2
-                 U execlp@@GLIBC_2.2.5
-                 U exit@@GLIBC_2.2.5
-                 U exp@@GLIBC_2.2.5
-                 U fchmod@@GLIBC_2.2.5
-                 U fclose@@GLIBC_2.2.5
-                 U fcntl@@GLIBC_2.2.5
-                 U fdatasync@@GLIBC_2.2.5
-                 U fdopen@@GLIBC_2.2.5
-                 U fedisableexcept@@GLIBC_2.2.5
-                 U feof@@GLIBC_2.2.5
-                 U ferror@@GLIBC_2.2.5
-                 U fesetround@@GLIBC_2.2.5
-                 U fflush@@GLIBC_2.2.5
-                 U fgetc@@GLIBC_2.2.5
-                 U fgets@@GLIBC_2.2.5
-                 U fileno@@GLIBC_2.2.5
-                 U floor@@GLIBC_2.2.5
-                 U fmod@@GLIBC_2.2.5
-                 U fopen64@@GLIBC_2.2.5
-                 U fork@@GLIBC_2.2.5
-                 U fputc@@GLIBC_2.2.5
-                 U fputs@@GLIBC_2.2.5
-                 U fread@@GLIBC_2.2.5
-                 U freeaddrinfo@@GLIBC_2.2.5
-                 U freopen64@@GLIBC_2.2.5
-                 U fscanf@@GLIBC_2.2.5
-                 U fseek@@GLIBC_2.2.5
-                 U fseeko64@@GLIBC_2.2.5
-                 U fsync@@GLIBC_2.2.5
-                 U ftell@@GLIBC_2.2.5
-                 U ftello64@@GLIBC_2.2.5
-                 U ftruncate64@@GLIBC_2.2.5
-                 U fwrite@@GLIBC_2.2.5
-                 U gai_strerror@@GLIBC_2.2.5
-                 U getaddrinfo@@GLIBC_2.2.5
-                 U getcwd@@GLIBC_2.2.5
-                 U getenv@@GLIBC_2.2.5
-                 U geteuid@@GLIBC_2.2.5
-                 U gethostname@@GLIBC_2.2.5
-                 U getnameinfo@@GLIBC_2.2.5
-                 U getpagesize@@GLIBC_2.2.5
-                 U getpeername@@GLIBC_2.2.5
-                 U getpid@@GLIBC_2.2.5
-                 U getpriority@@GLIBC_2.2.5
-                 U getpwnam@@GLIBC_2.2.5
-                 U getpwuid@@GLIBC_2.2.5
-                 U getrlimit64@@GLIBC_2.2.5
-                 U getrusage@@GLIBC_2.2.5
-                 U getservbyname@@GLIBC_2.2.5
-                 U getsockname@@GLIBC_2.2.5
-                 U getsockopt@@GLIBC_2.2.5
-                 U gettimeofday@@GLIBC_2.2.5
-                 U getuid@@GLIBC_2.2.5
-                 U glob64@@GLIBC_2.2.5
-                 U globfree64@@GLIBC_2.2.5
-                 U gmtime@@GLIBC_2.2.5
-                 U gmtime_r@@GLIBC_2.2.5
-                 U inet_ntop@@GLIBC_2.2.5
-                 U inflate
-                 U inflateEnd
-                 U inflateInit2_
-                 U inflateInit_
-                 U inflateReset
-                 U initgroups@@GLIBC_2.2.5
-                 U io_getevents@@LIBAIO_0.4
-                 U io_setup@@LIBAIO_0.4
-                 U io_submit@@LIBAIO_0.1
-                 U ioctl@@GLIBC_2.2.5
-                 U isprint@@GLIBC_2.2.5
-                 U ispunct@@GLIBC_2.2.5
-                 U isspace@@GLIBC_2.2.5
-                 U ldiv@@GLIBC_2.2.5
-                 U listen@@GLIBC_2.2.5
-                 U localtime_r@@GLIBC_2.2.5
-                 U log10@@GLIBC_2.2.5
-                 U log2@@GLIBC_2.2.5
-                 U log@@GLIBC_2.2.5
-                 U lrint@@GLIBC_2.2.5
-                 U lrintf@@GLIBC_2.2.5
-                 U lseek64@@GLIBC_2.2.5
-                 U madvise@@GLIBC_2.2.5
-                 U mallinfo@@GLIBC_2.2.5
-                 U memchr@@GLIBC_2.2.5
-                 U memcmp@@GLIBC_2.2.5
-                 U memcpy@@GLIBC_2.14
-                 U memmove@@GLIBC_2.2.5
-                 U memset@@GLIBC_2.2.5
-                 U mkdir@@GLIBC_2.2.5
-                 U mkstemp64@@GLIBC_2.2.5
-                 U mlockall@@GLIBC_2.2.5
-                 U mmap64@@GLIBC_2.2.5
-                 U mmap@@GLIBC_2.2.5
-                 U msync@@GLIBC_2.2.5
-                 U munmap@@GLIBC_2.2.5
-                 U nl_langinfo@@GLIBC_2.2.5
-                 U open64@@GLIBC_2.2.5
-                 U open@@GLIBC_2.2.5
-                 U opendir@@GLIBC_2.2.5
-                 U perror@@GLIBC_2.2.5
-                 U pipe@@GLIBC_2.2.5
-                 U poll@@GLIBC_2.2.5
-                 U posix_fadvise64@@GLIBC_2.2.5
-                 U posix_fallocate64@@GLIBC_2.2.5
-                 U pow@@GLIBC_2.2.5
-                 U prctl@@GLIBC_2.2.5
-                 U pread64@@GLIBC_2.2.5
-                 U pthread_attr_destroy@@GLIBC_2.2.5
-                 U pthread_attr_getguardsize@@GLIBC_2.2.5
-                 U pthread_attr_getstacksize@@GLIBC_2.2.5
-                 U pthread_attr_init@@GLIBC_2.2.5
-                 U pthread_attr_setdetachstate@@GLIBC_2.2.5
-                 U pthread_attr_setscope@@GLIBC_2.2.5
-                 U pthread_attr_setstacksize@@GLIBC_2.2.5
-                 U pthread_cond_broadcast@@GLIBC_2.3.2
-                 U pthread_cond_destroy@@GLIBC_2.3.2
-                 U pthread_cond_init@@GLIBC_2.3.2
-                 U pthread_cond_signal@@GLIBC_2.3.2
-                 U pthread_cond_timedwait@@GLIBC_2.3.2
-                 U pthread_cond_wait@@GLIBC_2.3.2
-                 U pthread_create@@GLIBC_2.2.5
-                 U pthread_detach@@GLIBC_2.2.5
-                 U pthread_exit@@GLIBC_2.2.5
-                 U pthread_getspecific@@GLIBC_2.2.5
-                 U pthread_join@@GLIBC_2.2.5
-                 U pthread_key_create@@GLIBC_2.2.5
-                 U pthread_key_delete@@GLIBC_2.2.5
-                 U pthread_kill@@GLIBC_2.2.5
-                 U pthread_mutex_destroy@@GLIBC_2.2.5
-                 U pthread_mutex_init@@GLIBC_2.2.5
-                 U pthread_mutex_lock@@GLIBC_2.2.5
-                 U pthread_mutex_trylock@@GLIBC_2.2.5
-                 U pthread_mutex_unlock@@GLIBC_2.2.5
-                 U pthread_mutexattr_destroy@@GLIBC_2.2.5
-                 U pthread_mutexattr_init@@GLIBC_2.2.5
-                 U pthread_mutexattr_settype@@GLIBC_2.2.5
-                 U pthread_once@@GLIBC_2.2.5
-                 U pthread_rwlock_destroy@@GLIBC_2.2.5
-                 U pthread_rwlock_init@@GLIBC_2.2.5
-                 U pthread_rwlock_rdlock@@GLIBC_2.2.5
-                 U pthread_rwlock_trywrlock@@GLIBC_2.2.5
-                 U pthread_rwlock_unlock@@GLIBC_2.2.5
-                 U pthread_rwlock_wrlock@@GLIBC_2.2.5
-                 U pthread_self@@GLIBC_2.2.5
-                 U pthread_setspecific@@GLIBC_2.2.5
-                 U pthread_sigmask@@GLIBC_2.2.5
-                 U pthread_yield@@GLIBC_2.2.5
-                 U putchar@@GLIBC_2.2.5
-                 U puts@@GLIBC_2.2.5
-                 U pwrite64@@GLIBC_2.2.5
-                 U qsort@@GLIBC_2.2.5
-                 U rand@@GLIBC_2.2.5
-                 U read@@GLIBC_2.2.5
-                 U readdir64@@GLIBC_2.2.5
-                 U readdir64_r@@GLIBC_2.2.5
-                 U readlink@@GLIBC_2.2.5
-                 U recv@@GLIBC_2.2.5
-                 U rename@@GLIBC_2.2.5
-                 U rewind@@GLIBC_2.2.5
-                 U rint@@GLIBC_2.2.5
-                 U rmdir@@GLIBC_2.2.5
-                 U sbrk@@GLIBC_2.2.5
-                 U sched_yield@@GLIBC_2.2.5
-                 U select@@GLIBC_2.2.5
-                 U send@@GLIBC_2.2.5
-                 U setbuf@@GLIBC_2.2.5
-                 U setgid@@GLIBC_2.2.5
-                 U setlocale@@GLIBC_2.2.5
-                 U setpriority@@GLIBC_2.2.5
-                 U setregid@@GLIBC_2.2.5
-                 U setreuid@@GLIBC_2.2.5
-                 U setrlimit64@@GLIBC_2.2.5
-                 U setsockopt@@GLIBC_2.2.5
-                 U setuid@@GLIBC_2.2.5
-                 U shmat@@GLIBC_2.2.5
-                 U shmctl@@GLIBC_2.2.5
-                 U shmdt@@GLIBC_2.2.5
-                 U shmget@@GLIBC_2.2.5
-                 U shutdown@@GLIBC_2.2.5
-                 U sigaction@@GLIBC_2.2.5
-                 U sigaddset@@GLIBC_2.2.5
-                 U sigdelset@@GLIBC_2.2.5
-                 U sigemptyset@@GLIBC_2.2.5
-                 U sigfillset@@GLIBC_2.2.5
-                 U signal@@GLIBC_2.2.5
-                 U sigprocmask@@GLIBC_2.2.5
-                 U sigwait@@GLIBC_2.2.5
-                 U sin@@GLIBC_2.2.5
-                 U sleep@@GLIBC_2.2.5
-                 U snprintf@@GLIBC_2.2.5
-                 U socket@@GLIBC_2.2.5
-                 U sprintf@@GLIBC_2.2.5
-                 U sqrt@@GLIBC_2.2.5
-                 U sscanf@@GLIBC_2.2.5
-                 U stpcpy@@GLIBC_2.2.5
-                 U strcasecmp@@GLIBC_2.2.5
-                 U strcat@@GLIBC_2.2.5
-                 U strchr@@GLIBC_2.2.5
-                 U strcmp@@GLIBC_2.2.5
-                 U strcpy@@GLIBC_2.2.5
-                 U strerror@@GLIBC_2.2.5
-                 U strerror_r@@GLIBC_2.2.5
-                 U strlen@@GLIBC_2.2.5
-                 U strncasecmp@@GLIBC_2.2.5
-                 U strncmp@@GLIBC_2.2.5
-                 U strncpy@@GLIBC_2.2.5
-                 U strnlen@@GLIBC_2.2.5
-                 U strrchr@@GLIBC_2.2.5
-                 U strsignal@@GLIBC_2.2.5
-                 U strstr@@GLIBC_2.2.5
-                 U strtod@@GLIBC_2.2.5
-                 U strtok_r@@GLIBC_2.2.5
-                 U strtol@@GLIBC_2.2.5
-                 U strtoul@@GLIBC_2.2.5
-                 U strtoull@@GLIBC_2.2.5
-                 U strverscmp@@GLIBC_2.2.5
-                 U symlink@@GLIBC_2.2.5
-                 U syscall@@GLIBC_2.2.5
-                 U sysconf@@GLIBC_2.2.5
-                 U tan@@GLIBC_2.2.5
-                 U time@@GLIBC_2.2.5
-                 U times@@GLIBC_2.2.5
-                 U toupper@@GLIBC_2.2.5
-                 U trunc@@GLIBC_2.2.5
-                 U tzset@@GLIBC_2.2.5
-                 U umask@@GLIBC_2.2.5
-                 U uname@@GLIBC_2.2.5
-                 U uncompress
-                 U unlink@@GLIBC_2.2.5
-                 U utime@@GLIBC_2.2.5
-                 U write@@GLIBC_2.2.5
-                 w _Jv_RegisterClasses
-                 w __gmon_start__
 0000000000000000 d je_tcache_enabled_tls
 0000000000000010 b srv_current_thread_priority
 0000000000000018 b je_thread_allocated_tls

Implemented in https://github.com/ottok/mariadb-10.0/commit/87df0a3ab070acf45971836f747c8e03752b165a

Comment by Otto Kekäläinen [ 2015-08-26 ]

I confirm that MariaDB 10.0 now passes the reproducable build system in Debian: https://reproducible.debian.net/rb-pkg/experimental/amd64/mariadb-10.0.html

I will frontport this to upstream as part ot the general upstreaming effort.

Comment by Sergei Golubchik [ 2015-08-27 ]

yay! great!

Comment by Elena Stepanova [ 2016-08-21 ]

Should this be closed?

Comment by Otto Kekäläinen [ 2016-08-22 ]

Fixed downstream. Fix will be upstreamed as part of MDEV-6284 which in turn is stalled because nobody reviews/merges https://github.com/MariaDB/server/pull/202

Comment by Otto Kekäläinen [ 2016-11-25 ]

This was fixed for 10.2 in https://github.com/MariaDB/server/commit/73f1c655

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