Bug 2894 - Problem compiling glibc 2.4
Summary: Problem compiling glibc 2.4
Status: RESOLVED DUPLICATE of bug 333
Alias: None
Product: glibc
Classification: Unclassified
Component: libc (show other bugs)
Version: 2.4
: P2 normal
Target Milestone: ---
Assignee: Ulrich Drepper
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-08 04:01 UTC by Pierre
Modified: 2014-07-04 15:23 UTC (History)
1 user (show)

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Pierre 2006-07-08 04:01:55 UTC
[...]
make  subdir=posix -C posix ..=../ subdir_lib
make[2]: Entering directory `/tmp/glibc-2.4/posix'
make[2]: Leaving directory `/tmp/glibc-2.4/posix'
make[2]: Entering directory `/tmp/glibc-2.4/posix'
gcc ../sysdeps/posix/getaddrinfo.c -c -std=gnu99 -O3 -Wall -Wbad-function-cast
-Wcast-qual -Wcomment -Wcomments -Wfloat-equal -Winline -Wmissing-declarations
-Wmissing-noreturn -Wmissing-prototypes -Wmultichar -Wsign-compare -Wtrigraphs
-Wwrite-strings -fmerge-all-constants -march=i686 -s -Wstrict-prototypes
-mpreferred-stack-boundary=2  -g0 -O99 -fomit-frame-pointer
-D__USE_STRING_INLINES -DRESOLVER -fexceptions -DUSE_NSCD   -I../include
-I/tmp/glibc-2.4/build/posix -I/tmp/glibc-2.4/build -I../sysdeps/i386/elf
-I../nptl/sysdeps/unix/sysv/linux/i386/i686
-I../nptl/sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux/i386
-I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread
-I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common
-I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386
-I../nptl/sysdeps/unix/sysv -I../sysdeps/unix/sysv -I../sysdeps/unix/i386
-I../nptl/sysdeps/unix -I../sysdeps/unix -I../sysdeps/posix
-I../sysdeps/i386/i686/fpu -I../nptl/sysdeps/i386/i686 -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu
-I../nptl/sysdeps/i386 -I../sysdeps/i386 -I../sysdeps/wordsize-32
-I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64
-I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf
-I../sysdeps/generic -I../nptl  -I.. -I../libio -I.  -D_LIBC_REENTRANT -include
../include/libc-symbols.h       -o /tmp/glibc-2.4/build/posix/getaddrinfo.o -MD
-MP -MF /tmp/glibc-2.4/build/posix/getaddrinfo.o.dt -MT
/tmp/glibc-2.4/build/posix/getaddrinfo.o
In file included from ../string/string.h:414,
                 from ../include/string.h:49,
                 from ../sysdeps/i386/i686/hp-timing.h:24,
                 from ../nptl/descr.h:28,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../include/errno.h:22,
                 from ../sysdeps/posix/getaddrinfo.c:39:
../sysdeps/i386/i486/bits/string.h: In function `__memcpy_g':
../sysdeps/i386/i486/bits/string.h:139: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `memmove':
../sysdeps/i386/i486/bits/string.h:160: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h:170: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `memcmp':
../sysdeps/i386/i486/bits/string.h:195: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h:196: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `memchr':
../sysdeps/i386/i486/bits/string.h:450: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__memrchr':
../sysdeps/i386/i486/bits/string.h:491: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__rawmemchr':
../sysdeps/i386/i486/bits/string.h:528: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strlen_g':
../sysdeps/i386/i486/bits/string.h:563: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strcpy_g':
../sysdeps/i386/i486/bits/string.h:648: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__mempcpy_by2':
../sysdeps/i386/i486/bits/string.h:771: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__mempcpy_byn':
../sysdeps/i386/i486/bits/string.h:798: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__stpcpy_g':
../sysdeps/i386/i486/bits/string.h:822: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strncpy_by4':
../sysdeps/i386/i486/bits/string.h:864: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strncpy_by2':
../sysdeps/i386/i486/bits/string.h:894: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strncpy_byn':
../sysdeps/i386/i486/bits/string.h:922: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strcat_c':
../sysdeps/i386/i486/bits/string.h:982: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strcat_g':
../sysdeps/i386/i486/bits/string.h:1024: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strcmp_gg':
../sysdeps/i386/i486/bits/string.h:1192: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h:1193: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strncmp_g':
../sysdeps/i386/i486/bits/string.h:1236: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h:1237: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strchr_c':
../sysdeps/i386/i486/bits/string.h:1272: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strchr_g':
../sysdeps/i386/i486/bits/string.h:1297: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strchrnul_c':
../sysdeps/i386/i486/bits/string.h:1331: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strchrnul_g':
../sysdeps/i386/i486/bits/string.h:1356: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strrchr_c':
../sysdeps/i386/i486/bits/string.h:1400: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strrchr_g':
../sysdeps/i386/i486/bits/string.h:1423: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strcspn_c1':
../sysdeps/i386/i486/bits/string.h:1520: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strspn_c1':
../sysdeps/i386/i486/bits/string.h:1639: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h: In function `__strspn_cg':
../sysdeps/i386/i486/bits/string.h:1668: warning: cast discards qualifiers from
pointer target type
../sysdeps/i386/i486/bits/string.h:1669: warning: cast discards qualifiers from
pointer target type
In file included from ../include/pthread.h:1,
                 from ../nptl/../nptl_db/thread_db.h:26,
                 from ../nptl/descr.h:33,
                 from ../nptl/sysdeps/i386/i686/../tls.h:105,
                 from ../nptl/sysdeps/i386/i686/tls.h:34,
                 from ../include/tls.h:6,
                 from ../include/errno.h:22,
                 from ../sysdeps/posix/getaddrinfo.c:39:
../nptl/sysdeps/pthread/pthread.h: At top level:
../nptl/sysdeps/pthread/pthread.h:563: warning: no previous prototype for
'__pthread_cleanup_routine'
../sysdeps/posix/getaddrinfo.c:64:26: libidn/idna.h: No such file or directory
../sysdeps/posix/getaddrinfo.c: In function `gaih_inet':
../sysdeps/posix/getaddrinfo.c:371: warning: cast discards qualifiers from
pointer target type
../sysdeps/posix/getaddrinfo.c:445: warning: cast discards qualifiers from
pointer target type
../sysdeps/posix/getaddrinfo.c:502: error: `IDNA_ALLOW_UNASSIGNED' undeclared
(first use in this function)
../sysdeps/posix/getaddrinfo.c:502: error: (Each undeclared identifier is
reported only once
../sysdeps/posix/getaddrinfo.c:502: error: for each function it appears in.)
../sysdeps/posix/getaddrinfo.c:504: error: `IDNA_USE_STD3_ASCII_RULES'
undeclared (first use in this function)
../sysdeps/posix/getaddrinfo.c:508: error: `IDNA_SUCCESS' undeclared (first use
in this function)
../sysdeps/posix/getaddrinfo.c:510: error: `IDNA_MALLOC_ERROR' undeclared (first
use in this function)
../sysdeps/posix/getaddrinfo.c:512: error: `IDNA_DLOPEN_ERROR' undeclared (first
use in this function)
../sysdeps/posix/getaddrinfo.c:552: warning: cast discards qualifiers from
pointer target type
../sysdeps/posix/getaddrinfo.c:1059: warning: cast discards qualifiers from
pointer target type
../sysdeps/posix/getaddrinfo.c: In function `rfc3484_sort':
../sysdeps/posix/getaddrinfo.c:1404: warning: cast discards qualifiers from
pointer target type
../sysdeps/posix/getaddrinfo.c:1406: warning: cast discards qualifiers from
pointer target type
../sysdeps/posix/getaddrinfo.c:1424: warning: cast discards qualifiers from
pointer target type
../sysdeps/posix/getaddrinfo.c:1426: warning: cast discards qualifiers from
pointer target type
make[2]: *** [/tmp/glibc-2.4/build/posix/getaddrinfo.o] Error 1
make[2]: Leaving directory `/tmp/glibc-2.4/posix'
make[1]: *** [posix/subdir_lib] Error 2
make[1]: Leaving directory `/tmp/glibc-2.4'
make: *** [all] Error 2
Comment 1 Andreas Jaeger 2006-07-10 09:35:29 UTC

*** This bug has been marked as a duplicate of 333 ***
Comment 2 Pierre 2006-07-10 15:33:28 UTC
Isn't the libidn add-on working ?
Comment 3 Matthias Benkmann 2006-07-17 20:31:06 UTC
The glibc-libidn-2.4 archive extracts to glibc-libidn-2.4/ whereas earlier
versions extracted to plain libidn/. The build process doesn't take that into
account. Just rename  glibc-libidn-2.4 before building and it should work.
Comment 4 Pierre 2007-03-06 23:45:55 UTC
This problem is not fixed in glibc 2.5
Comment 5 Ulrich Drepper 2007-03-07 00:13:54 UTC
Stop reopening the bug.  Bugzilla is not for compilation problems which are all
of your own doing.

*** This bug has been marked as a duplicate of 333 ***
Comment 6 Pierre 2007-03-08 00:26:50 UTC
So what is to use for these problems please ?
Comment 7 Pierre 2008-05-25 01:42:35 UTC
This real problem is not fixed in 2.7
Comment 8 Pierre 2009-11-02 01:33:47 UTC
Same problem with 2.10.1

Why can't this be fixed ?

The glibc-libidn directory is detected by the configure script, so why not
saving the name and give it to the relevant files ?

Comment 9 Ulrich Drepper 2009-11-02 17:41:24 UTC

*** This bug has been marked as a duplicate of 333 ***