[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#626379: marked as done (libc6: Static binaries fail with __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0')



Your message dated Wed, 11 May 2011 22:48:41 +0000
with message-id <E1QKICv-0002Xs-1i@franck.debian.org>
and subject line Bug#626379: fixed in eglibc 2.13-3
has caused the Debian Bug report #626379,
regarding libc6: Static binaries fail with __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0'
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 owner@bugs.debian.org
immediately.)


-- 
626379: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=626379
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: libc6
Version: 2.13-2
Severity: normal
Tags: sid

Hi,

static binaries that trigger loading of shared objects (libnss) fail
with the following assertion.

/tmp> cat a.c
#include <pty.h>
#include <stdlib.h>
int main()
{
  int a, b;
  openpty(&a, &b, 0, 0, 0);
  return (int)malloc(123);
}
/tmp> gcc -static a.c  -lutil
/tmp> ./a.out
a.out: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
/tmp>

Other example:
/tmp> cat b.c                
#include <pwd.h>
int main()
{
  getpwnam("root");
  return 0;
}
/tmp> gcc -static b.c
/tmp/ccZB6Ooy.o: In function `main':
b.c:(.text+0x11): warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp> ./a.out
a.out: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
/tmp>



Thanks,
  Adam


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.38.2 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages libc6 depends on:
ii  libc-bin                      2.13-2     Embedded GNU C Library: Binaries
ii  libgcc1                       1:4.6.0-7  GCC support library

Versions of packages libc6 recommends:
ii  libc6-i686                    2.13-2     Embedded GNU C Library: Shared lib

Versions of packages libc6 suggests:
ii  debconf [debconf-2.0]         1.5.39     Debian configuration management sy
ii  glibc-doc                     2.13-2     Embedded GNU C Library: Documentat
ii  locales                       2.13-2     Embedded GNU C Library: National L

-- debconf information excluded




--- End Message ---
--- Begin Message ---
Source: eglibc
Source-Version: 2.13-3

We believe that the bug you reported is fixed in the latest version of
eglibc, which is due to be installed in the Debian FTP archive:

eglibc-source_2.13-3_all.deb
  to main/e/eglibc/eglibc-source_2.13-3_all.deb
eglibc_2.13-3.diff.gz
  to main/e/eglibc/eglibc_2.13-3.diff.gz
eglibc_2.13-3.dsc
  to main/e/eglibc/eglibc_2.13-3.dsc
glibc-doc_2.13-3_all.deb
  to main/e/eglibc/glibc-doc_2.13-3_all.deb
libc-bin_2.13-3_amd64.deb
  to main/e/eglibc/libc-bin_2.13-3_amd64.deb
libc-dev-bin_2.13-3_amd64.deb
  to main/e/eglibc/libc-dev-bin_2.13-3_amd64.deb
libc6-dbg_2.13-3_amd64.deb
  to main/e/eglibc/libc6-dbg_2.13-3_amd64.deb
libc6-dev-i386_2.13-3_amd64.deb
  to main/e/eglibc/libc6-dev-i386_2.13-3_amd64.deb
libc6-dev_2.13-3_amd64.deb
  to main/e/eglibc/libc6-dev_2.13-3_amd64.deb
libc6-i386_2.13-3_amd64.deb
  to main/e/eglibc/libc6-i386_2.13-3_amd64.deb
libc6-pic_2.13-3_amd64.deb
  to main/e/eglibc/libc6-pic_2.13-3_amd64.deb
libc6-prof_2.13-3_amd64.deb
  to main/e/eglibc/libc6-prof_2.13-3_amd64.deb
libc6-udeb_2.13-3_amd64.udeb
  to main/e/eglibc/libc6-udeb_2.13-3_amd64.udeb
libc6_2.13-3_amd64.deb
  to main/e/eglibc/libc6_2.13-3_amd64.deb
libnss-dns-udeb_2.13-3_amd64.udeb
  to main/e/eglibc/libnss-dns-udeb_2.13-3_amd64.udeb
libnss-files-udeb_2.13-3_amd64.udeb
  to main/e/eglibc/libnss-files-udeb_2.13-3_amd64.udeb
locales-all_2.13-3_amd64.deb
  to main/e/eglibc/locales-all_2.13-3_amd64.deb
locales_2.13-3_all.deb
  to main/e/eglibc/locales_2.13-3_all.deb
nscd_2.13-3_amd64.deb
  to main/e/eglibc/nscd_2.13-3_amd64.deb



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 626379@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 eglibc 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@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Wed, 11 May 2011 23:03:15 +0200
Source: eglibc
Binary: libc-bin libc-dev-bin glibc-doc eglibc-source locales locales-all nscd libc6 libc6-dev libc6-dbg libc6-prof libc6-pic libc6-udeb libc6.1 libc6.1-dev libc6.1-dbg libc6.1-prof libc6.1-pic libc6.1-udeb libc0.3 libc0.3-dev libc0.3-dbg libc0.3-prof libc0.3-pic libc0.3-udeb libc0.1 libc0.1-dev libc0.1-dbg libc0.1-prof libc0.1-pic libc0.1-udeb libc6-i386 libc6-dev-i386 libc6-sparc64 libc6-dev-sparc64 libc6-s390x libc6-dev-s390x libc6-amd64 libc6-dev-amd64 libc6-powerpc libc6-dev-powerpc libc6-ppc64 libc6-dev-ppc64 libc6-mipsn32 libc6-dev-mipsn32 libc6-mips64 libc6-dev-mips64 libc0.1-i386 libc0.1-dev-i386 libc6-i686 libc6-xen libc0.1-i686 libc0.3-i686 libc0.3-xen libc6.1-alphaev67 libnss-dns-udeb libnss-files-udeb
Architecture: source all amd64
Version: 2.13-3
Distribution: unstable
Urgency: low
Maintainer: Aurelien Jarno <aurel32@debian.org>
Changed-By: Aurelien Jarno <aurel32@debian.org>
Description: 
 eglibc-source - Embedded GNU C Library: sources
 glibc-doc  - Embedded GNU C Library: Documentation
 libc-bin   - Embedded GNU C Library: Binaries
 libc-dev-bin - Embedded GNU C Library: Development binaries
 libc0.1    - Embedded GNU C Library: Shared libraries
 libc0.1-dbg - Embedded GNU C Library: detached debugging symbols
 libc0.1-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc0.1-dev-i386 - Embedded GNU C Library: 32bit development libraries for AMD64
 libc0.1-i386 - Embedded GNU C Library: 32bit shared libraries for AMD64
 libc0.1-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc0.1-pic - Embedded GNU C Library: PIC archive library
 libc0.1-prof - Embedded GNU C Library: Profiling Libraries
 libc0.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc0.3    - Embedded GNU C Library: Shared libraries
 libc0.3-dbg - Embedded GNU C Library: detached debugging symbols
 libc0.3-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc0.3-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc0.3-pic - Embedded GNU C Library: PIC archive library
 libc0.3-prof - Embedded GNU C Library: Profiling Libraries
 libc0.3-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc0.3-xen - Embedded GNU C Library: Shared libraries [Xen version]
 libc6      - Embedded GNU C Library: Shared libraries
 libc6-amd64 - Embedded GNU C Library: 64bit Shared libraries for AMD64
 libc6-dbg  - Embedded GNU C Library: detached debugging symbols
 libc6-dev  - Embedded GNU C Library: Development Libraries and Header Files
 libc6-dev-amd64 - Embedded GNU C Library: 64bit Development Libraries for AMD64
 libc6-dev-i386 - Embedded GNU C Library: 32-bit development libraries for AMD64
 libc6-dev-mips64 - Embedded GNU C Library: 64bit Development Libraries for MIPS64
 libc6-dev-mipsn32 - Embedded GNU C Library: n32 Development Libraries for MIPS64
 libc6-dev-powerpc - Embedded GNU C Library: 32bit powerpc development libraries for p
 libc6-dev-ppc64 - Embedded GNU C Library: 64bit Development Libraries for PowerPC64
 libc6-dev-s390x - Embedded GNU C Library: 64bit Development Libraries for IBM zSeri
 libc6-dev-sparc64 - Embedded GNU C Library: 64bit Development Libraries for UltraSPAR
 libc6-i386 - Embedded GNU C Library: 32-bit shared libraries for AMD64
 libc6-i686 - Embedded GNU C Library: Shared libraries [i686 optimized]
 libc6-mips64 - Embedded GNU C Library: 64bit Shared libraries for MIPS64
 libc6-mipsn32 - Embedded GNU C Library: n32 Shared libraries for MIPS64
 libc6-pic  - Embedded GNU C Library: PIC archive library
 libc6-powerpc - Embedded GNU C Library: 32bit powerpc shared libraries for ppc64
 libc6-ppc64 - Embedded GNU C Library: 64bit Shared libraries for PowerPC64
 libc6-prof - Embedded GNU C Library: Profiling Libraries
 libc6-s390x - Embedded GNU C Library: 64bit Shared libraries for IBM zSeries
 libc6-sparc64 - Embedded GNU C Library: 64bit Shared libraries for UltraSPARC
 libc6-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libc6-xen  - Embedded GNU C Library: Shared libraries [Xen version]
 libc6.1    - Embedded GNU C Library: Shared libraries
 libc6.1-alphaev67 - Embedded GNU C Library: Shared libraries (EV67 optimized)
 libc6.1-dbg - Embedded GNU C Library: detached debugging symbols
 libc6.1-dev - Embedded GNU C Library: Development Libraries and Header Files
 libc6.1-pic - Embedded GNU C Library: PIC archive library
 libc6.1-prof - Embedded GNU C Library: Profiling Libraries
 libc6.1-udeb - Embedded GNU C Library: Shared libraries - udeb (udeb)
 libnss-dns-udeb - Embedded GNU C Library: NSS helper for DNS - udeb (udeb)
 libnss-files-udeb - Embedded GNU C Library: NSS helper for files - udeb (udeb)
 locales    - Embedded GNU C Library: National Language (locale) data [support]
 locales-all - Embedded GNU C Library: Precompiled locale data
 nscd       - Embedded GNU C Library: Name Service Cache Daemon
Closes: 583433 625846 626379
Changes: 
 eglibc (2.13-3) unstable; urgency=low
 .
   * patches/any/local-no-pagesize.diff: use __sysconf() instead of
     sysconf().
   * patches/any/local-bindresvport_blacklist.diff: use feof_unlocked()
     instead of feof().
   * Add patches/any/cvs-resolv-tld.diff from upstream to fix resolution
     of unqualified domain names.
   * Add patches/any/cvs-sys-param-ARG_MAX.diff from upstream to fix
     bassackwards tests for ARG_MAX in sys/param.h.  Closes: #583433.
   * Add support for the new armhf triplet (Closes: #625846):
     - Update patches/any/submitted-autotools.diff to detect the new triplet.
     - Add patches/arm/submitted-armhf-triplet.diff to support the
       new triplet.
   * Add patches/any/submitted-at-pagesize.diff from Fedora to fix
     getpagesize() on static binaries.  Closes: #626379.
   * sysdeps/sparc.mk, sysdeps/sparc64.mk: disable multiarch support.
     Workarounds: #625607.
   * debian/local/memcpy-wrapper/*: on amd64, provide and build two wrappers
     to workaround and debug memcpy() issues. Explain how to use them in
     debian/debhelper.in/libc.NEWS.
Checksums-Sha1: 
 fc2322c4ec1232cdf7fdd86504691746b81b2089 2686 eglibc_2.13-3.dsc
 0690fb387e628c633ec2dc08fd0a22f61e235bd1 829825 eglibc_2.13-3.diff.gz
 153dbdae37df40c2f01f89deb65a1f8402aa1a2a 1881190 glibc-doc_2.13-3_all.deb
 d7c412e502102af8c92641ce66fabfeba06f8fe8 11185164 eglibc-source_2.13-3_all.deb
 68ce88b078d0ca91b1aba9426325edf3fd6dfe13 4800898 locales_2.13-3_all.deb
 3b42b8a61250e03e890a686a352d04396cb4eac8 4312170 libc6_2.13-3_amd64.deb
 e98706e0cafd8d15f1978d6517884db0cb83e54c 2630056 libc6-dev_2.13-3_amd64.deb
 b0e8ac81ccaaa0c0d4eba0a12447135fbb541e7b 2073960 libc6-prof_2.13-3_amd64.deb
 3958317c18ce599a23ffede771ef0fc513665493 1579542 libc6-pic_2.13-3_amd64.deb
 edcb0ddde52ba680aa38871544d9c06944ea65a0 1078872 libc-bin_2.13-3_amd64.deb
 d5fae2f3c533fd3bc48cdec7cf839636d57216e4 210012 libc-dev-bin_2.13-3_amd64.deb
 45ae50125dfbae666b531b01d957b632b62fd439 3779404 locales-all_2.13-3_amd64.deb
 f50f86247206ebe65bf624b7d8d9f9bc45dbcec0 3830010 libc6-i386_2.13-3_amd64.deb
 8182d5b413ec28c3d444d0784984c1dd04854be9 1554620 libc6-dev-i386_2.13-3_amd64.deb
 5b0cf20d4a9c8b7ba53c846f2b5e1225833adeb9 199642 nscd_2.13-3_amd64.deb
 1d9da3e66c4a12a8c55aa5342ef1b5b8422c2690 10493278 libc6-dbg_2.13-3_amd64.deb
 5d9a04ae56508890538fc90386ce11722a749106 1180664 libc6-udeb_2.13-3_amd64.udeb
 226bdbb02bd9dcea0f8cdbca13b0987ba0fb9c77 11110 libnss-dns-udeb_2.13-3_amd64.udeb
 6d899e1ae2e224b64848edaf2f629a2bb0e4cb2d 19254 libnss-files-udeb_2.13-3_amd64.udeb
Checksums-Sha256: 
 bc104a5ad2e03f4734bef63c9f83304fda7181ab900ae6349dce5a781637d972 2686 eglibc_2.13-3.dsc
 2e525dfd2552a77fdbd74eec2c1d6f7b493be2eabd4f2b2518ef8e1079fe3778 829825 eglibc_2.13-3.diff.gz
 ad178c107e52e65cbb97940dd971c10046cb4db9e4ccf073ea9e2d407f11df19 1881190 glibc-doc_2.13-3_all.deb
 91fbbe7e9f5d9a98aa8cee703bd4226fcaa726c2e32372b0fdf182bd76da6514 11185164 eglibc-source_2.13-3_all.deb
 c08937bc54bea1692b9ad78a372edc17f396de55ee15f640450e32ad2e21261a 4800898 locales_2.13-3_all.deb
 cf63edd77e26e89ffbffc9a50316806a7d05b38a2dbae3ab934de810d34683d8 4312170 libc6_2.13-3_amd64.deb
 ea5abd18a18ec2524e6c64312c60d81df8e37bc83138b51e772bf708b93305d9 2630056 libc6-dev_2.13-3_amd64.deb
 da6b0fed9777e46211d81d226052c390bc81d593c7640d9f2b54bde871c17cb2 2073960 libc6-prof_2.13-3_amd64.deb
 92c39b21fc0840638a56d0a4d642ac935a0cecdba83961e8aa11994cee5534b9 1579542 libc6-pic_2.13-3_amd64.deb
 10be3b999fcd73a08cdf6da1d978c21a5a90adc062304e7403cf046bf559c69b 1078872 libc-bin_2.13-3_amd64.deb
 08034b5632b0e3678384c2dc59459099fe5a52d29b17a301daa6526dda7935a4 210012 libc-dev-bin_2.13-3_amd64.deb
 57546e48468ee90fd30f789b2d23eaaf6479da6f2cd8c6a19801a10e752f3ced 3779404 locales-all_2.13-3_amd64.deb
 e8120e01f83e7cb59804f2fc91fd735d7966c19fa6319e88d77b319b01439356 3830010 libc6-i386_2.13-3_amd64.deb
 56507b62fa095936fcaf8bd212adb558c93bdf9adbc0b44f1284686a16373a73 1554620 libc6-dev-i386_2.13-3_amd64.deb
 897652fdf46810da05ba30e5bc400fbb67fad48fb9db193cbc32d01cd23c9d45 199642 nscd_2.13-3_amd64.deb
 bb8a419618658e56681f8cd696b35a421672e448a1bb863d518626d5a455352d 10493278 libc6-dbg_2.13-3_amd64.deb
 5be45a2f0c6c24ca736ac68193a15dd3dafd6d920f0a5b4578fd9586611905cb 1180664 libc6-udeb_2.13-3_amd64.udeb
 ab864393b3b78f55511af4250a993072321036041d746513cde967a05e3207c7 11110 libnss-dns-udeb_2.13-3_amd64.udeb
 a01eae970c369df6f48890b73280398a0c06cfa32ecbf716266fce2cc938a357 19254 libnss-files-udeb_2.13-3_amd64.udeb
Files: 
 5c63f8da7b0b483d00497a9e9f5439fc 2686 libs required eglibc_2.13-3.dsc
 d1fb8041691b8f697dac611ccde340c7 829825 libs required eglibc_2.13-3.diff.gz
 c84d0bffab0bbbb401a08c050e7bc713 1881190 doc optional glibc-doc_2.13-3_all.deb
 61427ca35f5b1d3bdcf046c824c96ee9 11185164 devel optional eglibc-source_2.13-3_all.deb
 444d4c23864adf6159a8216ad4d622a2 4800898 localization standard locales_2.13-3_all.deb
 8edc957b1d42247ff9aa640a09d8b752 4312170 libs required libc6_2.13-3_amd64.deb
 5115425f31e98f0ae32780be5b0e3fd8 2630056 libdevel optional libc6-dev_2.13-3_amd64.deb
 7ef4227198eb7f5e22ffc7ebd1e5ab0d 2073960 libdevel extra libc6-prof_2.13-3_amd64.deb
 c36f65c6e091d4324d003709ecfcfaef 1579542 libdevel optional libc6-pic_2.13-3_amd64.deb
 35b879349a40ff88c6e3808e3b9e9f4c 1078872 libs required libc-bin_2.13-3_amd64.deb
 e00722ddf0acaf135694641984296a4c 210012 libdevel optional libc-dev-bin_2.13-3_amd64.deb
 50005b29f62e3b270fc2d1b028bc83be 3779404 localization extra locales-all_2.13-3_amd64.deb
 f0215b1fb3436be9ec58798889a9e04b 3830010 libs optional libc6-i386_2.13-3_amd64.deb
 4b9943f23973e050bac0577bb9880940 1554620 libdevel optional libc6-dev-i386_2.13-3_amd64.deb
 0c04a15c4cb1937a22401da9dcaf81a1 199642 admin optional nscd_2.13-3_amd64.deb
 43a49406d15983e5c17cde17a234da9f 10493278 debug extra libc6-dbg_2.13-3_amd64.deb
 f737672ace32d966e1ca83509a16cfb1 1180664 debian-installer extra libc6-udeb_2.13-3_amd64.udeb
 9a96d2ec88039c6e9c9f0eaeb5082ec7 11110 debian-installer extra libnss-dns-udeb_2.13-3_amd64.udeb
 1d677c1939c44a74f6e591979d1ed534 19254 debian-installer extra libnss-files-udeb_2.13-3_amd64.udeb
Package-Type: udeb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)

iD8DBQFNywjhw3ao2vG823MRAg+MAJ97ViT2j07jEM50JPOliDdPRl7aHgCZAc9L
XM/yd7X7IFlCyGA14g3DyBE=
=msbF
-----END PGP SIGNATURE-----



--- End Message ---

Reply to: