public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/1534] New: In function `__GI_fnmatch': undefined reference to `strnlen'
@ 2005-10-24 10:56 misiek at dione dot ids dot pl
  2005-10-24 14:07 ` [Bug libc/1534] " drepper at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: misiek at dione dot ids dot pl @ 2005-10-24 10:56 UTC (permalink / raw)
  To: glibc-bugs

glibc 2.5.6 snapshot build fails:

athlon-pld-linux-gcc   -nostdlib -nostartfiles -r -o /home/users/arekm/rpm/BUILD
/glibc-2.3-20051017/builddir/libc_pic.os \
 -Wl,-d -Wl,--whole-archive /home/users/arekm/rpm/BUILD/glibc-2.3-20051017/
builddir/libc_pic.a
athlon-pld-linux-gcc   -shared -Wl,-O1 \
  -nostdlib -nostartfiles \
   -Wl,-dynamic-linker=/lib/ld-linux.so.2 -Wl,-z,combreloc -Wl,-z,relro \
  -Wl,--verbose 2>&1 | \
  sed > /home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/shlib.ldsT \
      -e '/^=========/,/^=========/!d;/^=========/d' \
      -e 's/^.*\.hash[  ]*:.*$/  .note.ABI-tag : { *(.note.ABI-tag) } &/' \
      -e 's/^.*\*(\.dynbss).*$/& \
         PROVIDE(__start___libc_freeres_ptrs = .); \
         *(__libc_freeres_ptrs) \
         PROVIDE(__stop___libc_freeres_ptrs = .);/'\
      -e 's/^.*\*(\.jcr).*$/& \
         PROVIDE(__start___libc_subfreeres = .);\
         __libc_subfreeres : { *(__libc_subfreeres) }\
         PROVIDE(__stop___libc_subfreeres = .);\
         PROVIDE(__start___libc_atexit = .);\
         __libc_atexit : { *(__libc_atexit) }\
         PROVIDE(__stop___libc_atexit = .);\
         PROVIDE(__start___libc_thread_subfreeres = .);\
         __libc_thread_subfreeres : { *(__libc_thread_subfreeres) }\
         PROVIDE(__stop___libc_thread_subfreeres = .);/'
mv -f /home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/shlib.ldsT /home/
users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/shlib.lds
athlon-pld-linux-gcc   -shared -static-libgcc -Wl,-O1  -Wl,-z,defs -Wl,-dynamic-
linker=/lib/ld-linux.so.2  -B/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/
builddir/csu/  -Wl,--version-script=/home/users/arekm/rpm/BUILD/glibc-2.3-
20051017/builddir/libc.map -Wl,-soname=libc.so.6 -Wl,-z,combreloc -Wl,-z,relro -
nostdlib -nostartfiles -e __libc_main -L/home/users/arekm/rpm/BUILD/glibc-2.3-
20051017/builddir -L/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/math
 -L/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/elf -L/home/users/
arekm/rpm/BUILD/glibc-2.3-20051017/builddir/dlfcn -L/home/users/arekm/rpm/BUILD/
glibc-2.3-20051017/builddir/nss -L/home/users/arekm/rpm/BUILD/glibc-2.3-20051017
/builddir/nis -L/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/rt -L/
home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/resolv -L/home/users/
arekm/rpm/BUILD/glibc-2.3-20051017/builddir/crypt -L/home/users/arekm/rpm/BUILD/
glibc-2.3-20051017/builddir/linuxthreads -Wl,-rpath-link=/home/users/arekm/rpm/
BUILD/glibc-2.3-20051017/builddir:/home/users/arekm/rpm/BUILD/glibc-2.3-20051017
/builddir/math:/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/elf:/home
/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/dlfcn:/home/users/arekm/rpm/
BUILD/glibc-2.3-20051017/builddir/nss:/home/users/arekm/rpm/BUILD/glibc-2.3-
20051017/builddir/nis:/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/
rt:/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/resolv:/home/users/
arekm/rpm/BUILD/glibc-2.3-20051017/builddir/crypt:/home/users/arekm/rpm/BUILD/
glibc-2.3-20051017/builddir/linuxthreads -o /home/users/arekm/rpm/BUILD/glibc-2.
3-20051017/builddir/libc.so -T /home/users/arekm/rpm/BUILD/glibc-2.3-20051017/
builddir/shlib.lds /home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/csu/
abi-note.o /home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/elf/soinit.os
 /home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/libc_pic.os /home/users
/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/elf/sofini.os /home/users/arekm/rpm
/BUILD/glibc-2.3-20051017/builddir/elf/interp.os /home/users/arekm/rpm/BUILD/
glibc-2.3-20051017/builddir/elf/ld.so -lgcc
/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/libc_pic.os(.text+0x7a
011): In function `__GI_fnmatch':
: undefined reference to `strnlen'
/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/libc_pic.os(.text+0x7a
095): In function `__GI_fnmatch':
: undefined reference to `strnlen'
collect2: ld returned 1 exit status
make[1]: *** [/home/users/arekm/rpm/BUILD/glibc-2.3-20051017/builddir/libc.so] 
Error 1

gcc-3.3.6
binutils-2.15.94.0.2.2

configured with:

+ .././configure LDFLAGS= CFLAGS=-O2 -march=athlon CXXFLAGS=-O2 -march=athlon 
FFLAGS=-O2 -march=athlon CPPFLAG
S= CC=athlon-pld-linux-gcc CXX=athlon-pld-linux-g++ --host=athlon-pld-linux --
build=athlon-pld-linux --prefix=
/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc 
--datadir=/usr/share --include
dir=/usr/include --libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var --
sharedstatedir=/var/lib --mand
ir=/usr/share/man --infodir=/usr/share/info --x-libraries=/usr/X11R6/lib --
enable-kernel=2.4.6 --disable-omitf
p --without-__thread --with-headers=/usr/include --with-selinux --with-tls --
enable-add-ons=linuxthreads --ena
ble-profile

i686, Linux 2.6.12.6

-- 
           Summary: In function `__GI_fnmatch': undefined reference to
                    `strnlen'
           Product: glibc
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: drepper at redhat dot com
        ReportedBy: misiek at dione dot ids dot pl
                CC: glibc-bugs at sources dot redhat dot com


http://sourceware.org/bugzilla/show_bug.cgi?id=1534

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/1534] In function `__GI_fnmatch': undefined reference to `strnlen'
  2005-10-24 10:56 [Bug libc/1534] New: In function `__GI_fnmatch': undefined reference to `strnlen' misiek at dione dot ids dot pl
@ 2005-10-24 14:07 ` drepper at redhat dot com
  2005-10-24 19:31 ` cvs-commit at gcc dot gnu dot org
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: drepper at redhat dot com @ 2005-10-24 14:07 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From drepper at redhat dot com  2005-10-24 14:07 -------


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

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |DUPLICATE


http://sourceware.org/bugzilla/show_bug.cgi?id=1534

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/1534] In function `__GI_fnmatch': undefined reference to `strnlen'
  2005-10-24 10:56 [Bug libc/1534] New: In function `__GI_fnmatch': undefined reference to `strnlen' misiek at dione dot ids dot pl
  2005-10-24 14:07 ` [Bug libc/1534] " drepper at redhat dot com
@ 2005-10-24 19:31 ` cvs-commit at gcc dot gnu dot org
  2005-10-24 19:32 ` roland at gnu dot org
  2005-10-24 19:32 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-24 19:31 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-10-24 19:31 -------
Subject: Bug 1534

CVSROOT:	/cvs/glibc
Module name:	libc
Changes by:	roland@sources.redhat.com	2005-10-24 19:31:14

Modified files:
	include        : string.h 

Log message:
	2005-10-24  Roland McGrath  <roland@redhat.com>
	
	[BZ #1534]
	* include/string.h: Use libc_hidden_proto for strnlen,
	not libc_hidden_builtin_proto.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/string.h.diff?cvsroot=glibc&r1=1.32&r2=1.33



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1534

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/1534] In function `__GI_fnmatch': undefined reference to `strnlen'
  2005-10-24 10:56 [Bug libc/1534] New: In function `__GI_fnmatch': undefined reference to `strnlen' misiek at dione dot ids dot pl
  2005-10-24 14:07 ` [Bug libc/1534] " drepper at redhat dot com
  2005-10-24 19:31 ` cvs-commit at gcc dot gnu dot org
@ 2005-10-24 19:32 ` roland at gnu dot org
  2005-10-24 19:32 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: roland at gnu dot org @ 2005-10-24 19:32 UTC (permalink / raw)
  To: glibc-bugs



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
OtherBugsDependingO|                            |852
              nThis|                            |


http://sourceware.org/bugzilla/show_bug.cgi?id=1534

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug libc/1534] In function `__GI_fnmatch': undefined reference to `strnlen'
  2005-10-24 10:56 [Bug libc/1534] New: In function `__GI_fnmatch': undefined reference to `strnlen' misiek at dione dot ids dot pl
                   ` (2 preceding siblings ...)
  2005-10-24 19:32 ` roland at gnu dot org
@ 2005-10-24 19:32 ` cvs-commit at gcc dot gnu dot org
  3 siblings, 0 replies; 5+ messages in thread
From: cvs-commit at gcc dot gnu dot org @ 2005-10-24 19:32 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From cvs-commit at gcc dot gnu dot org  2005-10-24 19:32 -------
Subject: Bug 1534

CVSROOT:	/cvs/glibc
Module name:	libc
Branch: 	glibc-2_3-branch
Changes by:	roland@sources.redhat.com	2005-10-24 19:32:17

Modified files:
	include        : string.h 

Log message:
	2005-10-24  Roland McGrath  <roland@redhat.com>
	
	[BZ #1534]
	* include/string.h: Use libc_hidden_proto, not
	libc_hidden_builtin_proto, for strnlen.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/libc/include/string.h.diff?cvsroot=glibc&only_with_tag=glibc-2_3-branch&r1=1.31.2.1&r2=1.31.2.2



-- 


http://sourceware.org/bugzilla/show_bug.cgi?id=1534

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-10-24 19:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-10-24 10:56 [Bug libc/1534] New: In function `__GI_fnmatch': undefined reference to `strnlen' misiek at dione dot ids dot pl
2005-10-24 14:07 ` [Bug libc/1534] " drepper at redhat dot com
2005-10-24 19:31 ` cvs-commit at gcc dot gnu dot org
2005-10-24 19:32 ` roland at gnu dot org
2005-10-24 19:32 ` cvs-commit at gcc dot gnu dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).