Your message dated Mon, 28 Sep 2020 10:32:29 +0300
with message-id 
<CAHj_TLBUvMQEuO=p9csv3fmeoeq1ml1xxqrludqyklhrknd...@mail.gmail.com>
and subject line Re: Bug#968893: Acknowledgement (mariadb-10.3: FTBFS on alpha: 
relocation truncated to fit)
has caused the Debian Bug report #968893,
regarding mariadb-10.3: FTBFS on alpha: relocation truncated to fit
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)


-- 
968893: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=968893
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Source: mariadb-10.3
Version: 1:10.3.13-1
Severity: serious
Justification: fails to build from source
User: debian-al...@lists.debian.org
Usertags: alpha ftbfs

The MariaDB Server package was building fine on alpha in version
1:10.3.12-2. However the next upload of 1:10.3.13-1 regressed it, and
has been broken since.

Before:
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.3&arch=alpha&ver=1%3A10.3.12-2&stamp=1548378207&raw=0

After:
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.3&arch=alpha&ver=1%3A10.3.13-1&stamp=1551052198&raw=0

Error:

*****
[ 91%] Linking CXX executable mysql_embedded
cd /<<PKGBUILDDIR>>/builddir/libmysqld/examples && /usr/bin/cmake -E
cmake_link_script CMakeFiles/mysql_embedded.dir/link.txt --verbose=1
/usr/bin/alpha-linux-gnu-g++  -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-specs=/usr/share/dpkg/pie-compile.specs -Wformat
-Werror=format-security -pie -fPIC -Wl,-z,relro,-z,now
-fstack-protector --param=ssp-buffer-size=4 -fno-rtti -O2 -g
-static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing
-Wno-uninitialized -D_FORTIFY_SOURCE=2 -DDBUG_OFF
-specs=/usr/share/dpkg/pie-link.specs -Wl,-z,relro -Wl,-z,now
-Wl,--export-dynamic
CMakeFiles/mysql_embedded.dir/__/__/client/completion_hash.cc.o
CMakeFiles/mysql_embedded.dir/__/__/client/mysql.cc.o
CMakeFiles/mysql_embedded.dir/__/__/client/readline.cc.o  -o
mysql_embedded -lpthread ../libmariadbd.a -lreadline -lcurses
-lpthread -lz -lm -ldl -lpcre -lcrypt -laio -lsystemd
/usr/bin/ld: ../libmariadbd.a(buf0buf.cc.o): in function `buf_resize_thread':
./builddir/storage/innobase/./storage/innobase/buf/buf0buf.cc:3171:(.text+0x124a0):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: ../libmariadbd.a(buf0dblwr.cc.o): in function
`buf_dblwr_check_block(buf_block_t const*) [clone .part.65]':
./builddir/storage/innobase/./storage/innobase/buf/buf0dblwr.cc:901:(.text+0x368):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: ../libmariadbd.a(buf0flu.cc.o): in function
`buf_flush_ready_for_replace(buf_page_t*)':
./builddir/storage/innobase/./storage/innobase/include/buf0buf.ic:379:(.text+0x1cd8):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: ../libmariadbd.a(buf0flu.cc.o): in function
`buf_flush_page_cleaner_coordinator':
./builddir/storage/innobase/./storage/innobase/buf/buf0flu.cc:3106:(.text+0xa630):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: 
./builddir/storage/innobase/./storage/innobase/buf/buf0flu.cc:3108:(.text+0xa65c):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: 
./builddir/storage/innobase/./storage/innobase/buf/buf0flu.cc:3098:(.text+0xa67c):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: 
./builddir/storage/innobase/./storage/innobase/buf/buf0flu.cc:3100:(.text+0xa6a8):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: 
./builddir/storage/innobase/./storage/innobase/buf/buf0flu.cc:3246:(.text+0xa9ec):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: 
./builddir/storage/innobase/./storage/innobase/buf/buf0flu.cc:3264:(.text+0xaa60):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: 
./builddir/storage/innobase/./storage/innobase/buf/buf0flu.cc:3340:(.text+0xab8c):
relocation truncated to fit: ELF_LITERAL against `.text.unlikely'
/usr/bin/ld: 
./builddir/storage/innobase/./storage/innobase/buf/buf0flu.cc:3346:(.text+0xabc0):
additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
libmysqld/examples/CMakeFiles/mysqltest_embedded.dir/build.make:85:
recipe for target 'libmysqld/examples/mysqltest_embedded' failed
make[4]: *** [libmysqld/examples/mysqltest_embedded] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
CMakeFiles/Makefile2:13043: recipe for target
'libmysqld/examples/CMakeFiles/mysqltest_embedded.dir/all' failed
make[3]: *** [libmysqld/examples/CMakeFiles/mysqltest_embedded.dir/all] Error 2
*****

Something similar is also going on in mariadb-10.4 in
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.4&arch=alpha&ver=1%3A10.4.13-1%7Eexp1&stamp=1593695395&raw=0

*****
[ 97%] Building CXX object sql/CMakeFiles/sql.dir/rpl_utility.cc.o
cd /<<PKGBUILDDIR>>/builddir/sql && /usr/bin/alpha-linux-gnu-g++
-DDBUG_TRACE -DHAVE_CONFIG_H -DHAVE_EVENT_SCHEDULER
-DHAVE_POOL_OF_THREADS -DMYSQL_SERVER -D_FILE_OFFSET_BITS=64
-I/<<PKGBUILDDIR>>/wsrep-lib/include
-I/<<PKGBUILDDIR>>/wsrep-lib/wsrep-API/v26
-I/<<PKGBUILDDIR>>/builddir/include -I/<<PKGBUILDDIR>>/include
-I/<<PKGBUILDDIR>>/sql -I/<<PKGBUILDDIR>>/builddir/extra/wolfssl
-I/<<PKGBUILDDIR>>/extra/wolfssl/wolfssl
-I/<<PKGBUILDDIR>>/extra/wolfssl/wolfssl/wolfssl
-I/<<PKGBUILDDIR>>/builddir/sql  -g -O2
-fdebug-prefix-map=/<<PKGBUILDDIR>>=.
-specs=/usr/share/dpkg/pie-compile.specs -Wformat
-Werror=format-security -Wdate-time -D_FORTIFY_SOURCE=2 -pie -fPIC
-Wl,-z,relro,-z,now -fstack-protector --param=ssp-buffer-size=4 -O2 -g
-static-libgcc -fno-omit-frame-pointer -fno-strict-aliasing
-Wno-uninitialized -D_FORTIFY_SOURCE=2 -DDBUG_OFF -Wall -Wextra
-Wformat-security -Wno-format-truncation -Wno-init-self
-Wno-nonnull-compare -Wno-unused-parameter -Woverloaded-virtual
-Wnon-virtual-dtor -Wvla -Wwrite-strings   -Wdate-time
-D_FORTIFY_SOURCE=2 -DHAVE_OPENSSL -DHAVE_WOLFSSL
-DWOLFSSL_USER_SETTINGS -std=gnu++11 -o
CMakeFiles/sql.dir/rpl_utility.cc.o -c
/<<PKGBUILDDIR>>/sql/rpl_utility.cc
cc1plus: warning: ‘-fstack-protector’ not supported for this target
../libmariadbd.a(srv0mon.cc.o): in function
`srv_mon_process_existing_counter(monitor_id_t, mon_option_t)':
./builddir/storage/innobase/./storage/innobase/srv/srv0mon.cc:1828:(.text+0x4e0):
relocation truncated to fit: GPREL16 against symbol `srv_page_size'
defined in .sbss section in ../libmariadbd.a(srv0srv.cc.o)
./builddir/storage/innobase/./storage/innobase/srv/srv0mon.cc:1982:(.text+0x5a8):
relocation truncated to fit: GPREL16 against symbol `ibuf' defined in
.sbss section in ../libmariadbd.a(ibuf0ibuf.cc.o)
../libmariadbd.a(srv0mon.cc.o): in function
`std::__atomic_base<unsigned long>::load(std::memory_order) const':
/usr/include/c++/9/bits/atomic_base.h:419:(.text+0x5bc): relocation
truncated to fit: GPREL16 against symbol `ibuf' defined in .sbss
section in ../libmariadbd.a(ibuf0ibuf.cc.o)
/usr/include/c++/9/bits/atomic_base.h:419:(.text+0x5d0): relocation
truncated to fit: GPREL16 against symbol `ibuf' defined in .sbss
section in ../libmariadbd.a(ibuf0ibuf.cc.o)
/usr/include/c++/9/bits/atomic_base.h:419:(.text+0x5e4): relocation
truncated to fit: GPREL16 against symbol `ibuf' defined in .sbss
section in ../libmariadbd.a(ibuf0ibuf.cc.o)
/usr/include/c++/9/bits/atomic_base.h:419:(.text+0x5f8): relocation
truncated to fit: GPREL16 against symbol `ibuf' defined in .sbss
section in ../libmariadbd.a(ibuf0ibuf.cc.o)
/usr/include/c++/9/bits/atomic_base.h:419:(.text+0x60c): relocation
truncated to fit: GPREL16 against symbol `ibuf' defined in .sbss
section in ../libmariadbd.a(ibuf0ibuf.cc.o)
/usr/include/c++/9/bits/atomic_base.h:419:(.text+0x620): relocation
truncated to fit: GPREL16 against symbol `ibuf' defined in .sbss
section in ../libmariadbd.a(ibuf0ibuf.cc.o)
/usr/include/c++/9/bits/atomic_base.h:419:(.text+0x634): relocation
truncated to fit: GPREL16 against symbol `ibuf' defined in .sbss
section in ../libmariadbd.a(ibuf0ibuf.cc.o)
/usr/include/c++/9/bits/atomic_base.h:419:(.text+0x658): relocation
truncated to fit: GPREL16 against symbol `btr_cur_n_non_sea' defined
in .sbss section in ../libmariadbd.a(btr0cur.cc.o)
../libmariadbd.a(srv0mon.cc.o): in function
`srv_mon_process_existing_counter(monitor_id_t, mon_option_t)':
./builddir/storage/innobase/./storage/innobase/srv/srv0mon.cc:2034:(.text+0x668):
additional relocation overflows omitted from the output
collect2: error: ld returned 1 exit status
libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/build.make:85:
recipe for target 'libmysqld/examples/mysql_client_test_embedded'
failed
make[4]: *** [libmysqld/examples/mysql_client_test_embedded] Error 1
make[4]: Leaving directory '/<<PKGBUILDDIR>>/builddir'
CMakeFiles/Makefile2:11718: recipe for target
'libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/all'
failed
make[3]: *** [libmysqld/examples/CMakeFiles/mysql_client_test_embedded.dir/all]
Error 2
*****

Help from alpha experts on why this happens on alpha but not other
platforms would be appreciated.

Contributions are welcome in this bug report on via Salsa:
https://wiki.debian.org/Teams/MySQL/patches

--- End Message ---
--- Begin Message ---
Version: 1:10.5.5-1

This seems to be fixed now as mariadb-10.5 built successfully in
https://buildd.debian.org/status/fetch.php?pkg=mariadb-10.5&arch=alpha&ver=1%3A10.5.5-1&stamp=1601269422&raw=0

--- End Message ---

Reply via email to