Debian Bug report logs -
#845521
libc6-dev: static linking with stack protector fails: undefined reference to `__memcpy_chk'
Reported by: Helmut Grohne <helmut@subdivi.de>
Date: Thu, 24 Nov 2016 08:48:01 UTC
Severity: serious
Merged with 845523
Found in version glibc/2.24-6
Fixed in version glibc/2.24-7
Done: Aurelien Jarno <aurel32@debian.org>
Bug is archived. No further changes may be made.
Toggle useless messages
Report forwarded
to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#845521; Package src:aide.
(Thu, 24 Nov 2016 08:48:04 GMT) (full text, mbox, link).
Acknowledgement sent
to Helmut Grohne <helmut@subdivi.de>:
New Bug report received and forwarded. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>.
(Thu, 24 Nov 2016 08:48:04 GMT) (full text, mbox, link).
Message #5 received at submit@bugs.debian.org (full text, mbox, reply):
Source: aide
Version: 0.16-1
Severity: serious
User: helmutg@debian.org
Usertags: rebootstrap
A build of aide in sid/amd64 using sbuild, non-merged /usr ends with:
| checking for PostgresSQL support... no
| checking libaudit.h usability... yes
| checking libaudit.h presence... yes
| checking for libaudit.h... yes
| checking for audit_log_user_message in -laudit... no
| checking for audit_log_user_message in -lcap-ng... no
| configure: error: You don't have libaudit properly installed. Install it or try --without-audit.
| debian/rules:28: recipe for target 'override_dh_auto_configure-arch' failed
| make[1]: *** [override_dh_auto_configure-arch] Error 1
| make[1]: Leaving directory '/<<PKGBUILDDIR>>'
| debian/rules:25: recipe for target 'build-arch' failed
| make: *** [build-arch] Error 2
| dpkg-buildpackage: error: debian/rules build-arch gave error exit status 2
Helmut
Information forwarded
to debian-bugs-dist@lists.debian.org, Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>:
Bug#845521; Package src:aide.
(Thu, 24 Nov 2016 09:51:10 GMT) (full text, mbox, link).
Acknowledgement sent
to Adrian Bunk <bunk@stusta.de>:
Extra info received and forwarded to list. Copy sent to Aide Maintainers <pkg-aide-maintainers@lists.alioth.debian.org>.
(Thu, 24 Nov 2016 09:51:10 GMT) (full text, mbox, link).
Message #10 received at 845521@bugs.debian.org (full text, mbox, reply):
reassign 845521 libc6-dev 2.24-6
reassign 845523 libc6-dev 2.24-6
forcemerge 845521 845523
retitle 845521 libc6-dev: static linking with stack protector fails: undefined reference to `__memcpy_chk'
affects 845521 src:dar src:aide
thanks
On Thu, Nov 24, 2016 at 09:54:34AM +0100, Chris Lamb wrote:
> Source: dar
> Version: 2.5.7-1
> Severity: serious
> Justification: fails to build from source
> User: reproducible-builds@lists.alioth.debian.org
> Usertags: ftbfs
> X-Debbugs-Cc: reproducible-bugs@lists.alioth.debian.org
>
> Dear Maintainer,
>
> dar fails to build from source in unstable/amd64:
>
> […]
>
> /bin/bash ../../libtool --tag=CC --mode=link gcc -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z,relro -o dar_split dar_split.o ../libdar/libdar64.la -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error -lpthread -lattr -lgcrypt -lgpg-error -llzo2 -lbz2 -lz -ldl
> libtool: link: gcc -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -Wl,-z -Wl,relro -o .libs/dar_split dar_split.o ../libdar/.libs/libdar64.so -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lpthread -lattr -lgcrypt /usr/lib/x86_64-linux-gnu/libgpg-error.so -llzo2 -lbz2 -lz -ldl
> /bin/bash ../../libtool --tag=CXX --mode=link g++ -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -all-static -Wl,-z,relro -o dar_static command_line.o config_file.o dar.o dar_suite.o hide_file.o no_comment.o shell_interaction.o line_tools.o crit_action_cmd_line.o ../libdar/libdar64.la -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lgpg-error -lpthread -lattr -lgcrypt -lgpg-error -llzo2 -lbz2 -lz -ldl
> libtool: link: g++ -g -O2 -fdebug-prefix-map=«BUILDDIR»=. -fstack-protector-strong -Wformat -Werror=format-security -static -Wl,-z -Wl,relro -o dar_static command_line.o config_file.o dar.o dar_suite.o hide_file.o no_comment.o shell_interaction.o line_tools.o crit_action_cmd_line.o ../libdar/.libs/libdar64.a -L/usr/lib/x86_64-linux-gnu -lgpgme -lassuan -lpthread -lattr -lgcrypt /usr/lib/x86_64-linux-gnu/libgpg-error.a -llzo2 -lbz2 -lz -ldl
> /usr/lib/x86_64-linux-gnu/libgcrypt.a(cipher-ocb.o): In function `compute_tag_if_needed.part.0':
> (.text+0x196): undefined reference to `__memcpy_chk'
>...
Thanks for your report.
This seems to be a problem in the latest glibc, reassigning.
> Regards,
cu
Adrian
--
"Is there not promise of rain?" Ling Tan asked suddenly out
of the darkness. There had been need of rain for many days.
"Only a promise," Lao Er said.
Pearl S. Buck - Dragon Seed
Bug reassigned from package 'src:aide' to 'libc6-dev'.
Request was from Adrian Bunk <bunk@stusta.de>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 09:51:13 GMT) (full text, mbox, link).
No longer marked as found in versions aide/0.16-1.
Request was from Adrian Bunk <bunk@stusta.de>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 09:51:13 GMT) (full text, mbox, link).
Marked as found in versions glibc/2.24-6.
Request was from Adrian Bunk <bunk@stusta.de>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 09:51:14 GMT) (full text, mbox, link).
Merged 845521 845523
Request was from Adrian Bunk <bunk@stusta.de>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 09:51:17 GMT) (full text, mbox, link).
Changed Bug title to 'libc6-dev: static linking with stack protector fails: undefined reference to `__memcpy_chk'' from 'aide FTBFS: configure: error: You don't have libaudit properly installed. Install it or try --without-audit.'.
Request was from Adrian Bunk <bunk@stusta.de>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 09:51:18 GMT) (full text, mbox, link).
Added indication that 845521 affects src:dar and src:aide
Request was from Adrian Bunk <bunk@stusta.de>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 09:51:20 GMT) (full text, mbox, link).
Added indication that 845521 affects util-linux
Request was from Chris Lamb <lamby@debian.org>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 15:09:03 GMT) (full text, mbox, link).
Added tag(s) pending.
Request was from Aurelien Jarno <aurelien@aurel32.net>
to control@bugs.debian.org.
(Thu, 24 Nov 2016 18:33:06 GMT) (full text, mbox, link).
Message sent on
to Helmut Grohne <helmut@subdivi.de>:
Bug#845521.
(Thu, 24 Nov 2016 18:33:09 GMT) (full text, mbox, link).
Message #29 received at 845521-submitter@bugs.debian.org (full text, mbox, reply):
tag 845521 pending
thanks
Hello,
Bug #845521 reported by you has been fixed in the Git repository. You can
see the changelog below, and you can check the diff of the fix at:
http://git.debian.org/?p=pkg-glibc/glibc.git;a=commitdiff;h=6d07bf4
---
commit 6d07bf4c0f984d393627adaf20d393c82c4fee7e
Author: Aurelien Jarno <aurelien@aurel32.net>
Date: Thu Nov 24 17:08:42 2016 +0100
debian/patches/git-updates.diff: update from upstream stable branch:
* debian/patches/git-updates.diff: update from upstream stable branch:
- Fix missing memcpy_chk in libc.a on amd64 when the compiler defaults to
PIE. Closes: #845521.
diff --git a/debian/changelog b/debian/changelog
index 8057df7..b96ae86 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -9,6 +9,11 @@ glibc (2.24-7) UNRELEASED; urgency=medium
* hurd-i386/tg-NOFOLLOW-DIRECTORY.diff: New patch to fix O_NOFOLLOW |
O_DIRECTORY errors.
+ [ Aurelien Jarno ]
+ * debian/patches/git-updates.diff: update from upstream stable branch:
+ - Fix missing memcpy_chk in libc.a on amd64 when the compiler defaults to
+ PIE. Closes: #845521.
+
-- Aurelien Jarno <aurel32@debian.org> Mon, 21 Nov 2016 19:24:59 +0100
glibc (2.24-6) unstable; urgency=medium
Reply sent
to Aurelien Jarno <aurel32@debian.org>:
You have taken responsibility.
(Sat, 26 Nov 2016 00:36:05 GMT) (full text, mbox, link).
Notification sent
to Helmut Grohne <helmut@subdivi.de>:
Bug acknowledged by developer.
(Sat, 26 Nov 2016 00:36:05 GMT) (full text, mbox, link).
Message #34 received at 845521-close@bugs.debian.org (full text, mbox, reply):
Source: glibc
Source-Version: 2.24-7
We believe that the bug you reported is fixed in the latest version of
glibc, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to 845521@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Aurelien Jarno <aurel32@debian.org> (supplier of updated glibc package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Fri, 25 Nov 2016 23:09:39 +0100
Source: glibc
Binary: libc-bin libc-dev-bin libc-l10n glibc-doc glibc-source locales locales-all nscd multiarch-support libc6 libc6-dev libc6-dbg libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc libc6-dev-sparc libc6-sparc64 libc6-dev-sparc64 libc6-s390 libc6-dev-s390 libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mips32 libc6-dev-mips32 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-x32 libc6-dev-x32 libc6-xen libc0.3-xen libc6.1-alphaev67 libc0.1-i686 libc0.3-i686 libc6-i686
Architecture: source
Version: 2.24-7
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description:
glibc-doc - GNU C Library: Documentation
glibc-source - GNU C Library: sources
libc-bin - GNU C Library: Binaries
libc-dev-bin - GNU C Library: Development binaries
libc-l10n - GNU C Library: localization files
libc0.1 - GNU C Library: Shared libraries
libc0.1-dbg - GNU C Library: detached debugging symbols
libc0.1-dev - GNU C Library: Development Libraries and Header Files
libc0.1-dev-i386 - GNU C Library: 32bit development libraries for AMD64
libc0.1-i386 - GNU C Library: 32bit shared libraries for AMD64
libc0.1-i686 - transitional dummy package
libc0.1-pic - GNU C Library: PIC archive library
libc0.1-udeb - GNU C Library: Shared libraries - udeb (udeb)
libc0.3 - GNU C Library: Shared libraries
libc0.3-dbg - GNU C Library: detached debugging symbols
libc0.3-dev - GNU C Library: Development Libraries and Header Files
libc0.3-i686 - transitional dummy package
libc0.3-pic - GNU C Library: PIC archive library
libc0.3-udeb - GNU C Library: Shared libraries - udeb (udeb)
libc0.3-xen - GNU C Library: Shared libraries [Xen version]
libc6 - GNU C Library: Shared libraries
libc6-amd64 - GNU C Library: 64bit Shared libraries for AMD64
libc6-dbg - GNU C Library: detached debugging symbols
libc6-dev - GNU C Library: Development Libraries and Header Files
libc6-dev-amd64 - GNU C Library: 64bit Development Libraries for AMD64
libc6-dev-i386 - GNU C Library: 32-bit development libraries for AMD64
libc6-dev-mips32 - GNU C Library: o32 Development Libraries for MIPS
libc6-dev-mips64 - GNU C Library: 64bit Development Libraries for MIPS64
libc6-dev-mipsn32 - GNU C Library: n32 Development Libraries for MIPS64
libc6-dev-powerpc - GNU C Library: 32bit powerpc development libraries for ppc64
libc6-dev-ppc64 - GNU C Library: 64bit Development Libraries for PowerPC64
libc6-dev-s390 - GNU C Library: 32bit Development Libraries for IBM zSeries
libc6-dev-sparc - GNU C Library: 32bit Development Libraries for SPARC
libc6-dev-sparc64 - GNU C Library: 64bit Development Libraries for UltraSPARC
libc6-dev-x32 - GNU C Library: X32 ABI Development Libraries for AMD64
libc6-i386 - GNU C Library: 32-bit shared libraries for AMD64
libc6-i686 - transitional dummy package
libc6-mips32 - GNU C Library: o32 Shared libraries for MIPS
libc6-mips64 - GNU C Library: 64bit Shared libraries for MIPS64
libc6-mipsn32 - GNU C Library: n32 Shared libraries for MIPS64
libc6-pic - GNU C Library: PIC archive library
libc6-powerpc - GNU C Library: 32bit powerpc shared libraries for ppc64
libc6-ppc64 - GNU C Library: 64bit Shared libraries for PowerPC64
libc6-s390 - GNU C Library: 32bit Shared libraries for IBM zSeries
libc6-sparc - GNU C Library: 32bit Shared libraries for SPARC
libc6-sparc64 - GNU C Library: 64bit Shared libraries for UltraSPARC
libc6-udeb - GNU C Library: Shared libraries - udeb (udeb)
libc6-x32 - GNU C Library: X32 ABI Shared libraries for AMD64
libc6-xen - GNU C Library: Shared libraries [Xen version]
libc6.1 - GNU C Library: Shared libraries
libc6.1-alphaev67 - GNU C Library: Shared libraries (EV67 optimized)
libc6.1-dbg - GNU C Library: detached debugging symbols
libc6.1-dev - GNU C Library: Development Libraries and Header Files
libc6.1-pic - GNU C Library: PIC archive library
libc6.1-udeb - GNU C Library: Shared libraries - udeb (udeb)
locales - GNU C Library: National Language (locale) data [support]
locales-all - GNU C Library: Precompiled locale data
multiarch-support - Transitional package to ensure multiarch compatibility
nscd - GNU C Library: Name Service Cache Daemon
Closes: 845512 845521
Changes:
glibc (2.24-7) unstable; urgency=medium
.
[ Samuel Thibault ]
* hurd-i386/tg-hurdsig-SA_SIGINFO.diff: Fix passing address to legacy SIGBUS
handlers.
* hurd-i386/tg-libpthread-gsync-mutex.diff: New patch to make mutexes use
gsync too.
* hurd-i386/tg-NOFOLLOW.diff: New patch to fix O_NOFOLLOW errors.
* hurd-i386/tg-NOFOLLOW-DIRECTORY.diff: New patch to fix O_NOFOLLOW |
O_DIRECTORY errors.
.
[ Aurelien Jarno ]
* debian/patches/git-updates.diff: update from upstream stable branch.
* debian/rules: build with -no-pie -fno-PIE. Closes: #845512, #845521.
.
[ Matthias Klose ]
* Allow to inject the libc-dev dependency on linux-libc-dev by the build
environment.
Checksums-Sha1:
018377c9b29fb0b1632164ae92c95776c3331ab2 8329 glibc_2.24-7.dsc
c51a9ac9139e214e7eea6a3f2fa2f4093f6ec995 964852 glibc_2.24-7.debian.tar.xz
Checksums-Sha256:
bd9a350ab2d87b589a51607b9e614a25228e5b90ed28f1f97ae02a7c5699a493 8329 glibc_2.24-7.dsc
113e0787e8c3d4a2161384b10d7121a85cc7cbb34238c3aa2b84471217c6689f 964852 glibc_2.24-7.debian.tar.xz
Files:
56f8532b872f6612b706076307d4e62e 8329 libs required glibc_2.24-7.dsc
d7606884b9077bd7da358f2f61d3162d 964852 libs required glibc_2.24-7.debian.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEd0YmQqnvlP0Pdxltupx4Bh3djJsFAlg41VcACgkQupx4Bh3d
jJvzfw//UWim8SJvPvmUdO5KHITMEE/k6O+KDrsCAyAoHKMNCf9txpg32EtMoW6d
e5zmDJxi51gi20viPEGG3P90tUNN7MtdqWdcGO8ixPwozweQj0tBA0ZiJzzhVyDr
/d9YfGA5JvMrkSyj0jNfnqQ5KdugkwuW04FXID0trvhyxtov/Uvp5iaUxU/FI8sO
NkBXDKIc3yuVOo/LmmXZnw0g9lz0kgvdai4DtOEqJDDB/JOGw73ZxjJmMYeiyuw6
ofNZPhxB4eEvYynTcSTVqlrAE4YOWSh366CRjsHqmZavl+vbDdok/Iq38WO1l/sA
BmW2/jYdhVJCtP35RJ6g3aRAauNLyoLsceXZhpUAu2r60ktb3sm8SSMBMaxta2BU
wf/5io+AP9vDF3zxK/dbL0JUfPY13HV3l7rcHtvrk5VDmIsv1+iuxmWhoByBhPHp
0kiUi6ku0NfJEDzKf0zNClbP0QDLNRrJ7OE4bx9dW8fncMM8sIMkgZvkbsZz3T19
v5362qL8PxAdJgjfIVtN9L1OFErJksOyZmic4AQI6OBp6P3T4C+xaITV4fkv7ORu
AiibfDNpa2rXVDjM/Qun1qidPiDIMp75mSg0aouq1aIdSCDtOjBpKOHyKgF9qoev
KVmWix3mtoBUqeVo0+EcU51e/oGZyG7p1ul3w3vhHtQp/vFW0dQ=
=84zN
-----END PGP SIGNATURE-----
Reply sent
to Aurelien Jarno <aurel32@debian.org>:
You have taken responsibility.
(Sat, 26 Nov 2016 00:36:06 GMT) (full text, mbox, link).
Notification sent
to Chris Lamb <lamby@debian.org>:
Bug acknowledged by developer.
(Sat, 26 Nov 2016 00:36:06 GMT) (full text, mbox, link).
Bug archived.
Request was from Debbugs Internal Request <owner@bugs.debian.org>
to internal_control@bugs.debian.org.
(Thu, 29 Dec 2016 07:57:00 GMT) (full text, mbox, link).
Send a report that this bug log contains spam.
Debian bug tracking system administrator <owner@bugs.debian.org>.
Last modified:
Fri Jan 12 13:47:42 2024;
Machine Name:
bembo
Debian Bug tracking system
Debbugs is free software and licensed under the terms of the GNU
Public License version 2. The current version can be obtained
from https://bugs.debian.org/debbugs-source/.
Copyright © 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.