Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#21129 - glibc 2.12.1-1: Assertion `_rtld_global_ro._dl_pagesize != 0

Attached to Project: Arch Linux
Opened by Pawel (gutek) - Thursday, 07 October 2010, 13:44 GMT
Last edited by Allan McRae (Allan) - Thursday, 07 October 2010, 13:53 GMT
Task Type Bug Report
Category Packages: Core
Status Closed
Assigned To No-one
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

Application with static compilation does not work.

Additional info:
* package version(s)
glibc-2.12.1-1
* config and/or log files etc.


Steps to reproduce:
[root@wyprz ~]# cat test.c
#include <netdb.h>

int main ()
{
gethostbyname ("bugs.archlinux.org");
}

[root@wyprz ~]# gcc test.c -o test -static
/tmp/cclMHdrD.o: In function `main':
test.c:(.text+0xa): warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking

[root@wyprz ~]# ./test
test: ../sysdeps/unix/sysv/linux/getpagesize.c:32: __getpagesize: Assertion `_rtld_global_ro._dl_pagesize != 0' failed.
Aborted

This task depends upon

Closed by  Allan McRae (Allan)
Thursday, 07 October 2010, 13:53 GMT
Reason for closing:  Fixed
Additional comments about closing:  glibc-2.12.1-2 in [testing]

Loading...