public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/242] New: MORE compile errors.
@ 2004-06-27 12:10 carlo at alinoe dot com
  2004-06-27 12:30 ` [Bug linuxthreads/242] " carlo at alinoe dot com
  2004-06-27 17:02 ` carlo at alinoe dot com
  0 siblings, 2 replies; 3+ messages in thread
From: carlo at alinoe dot com @ 2004-06-27 12:10 UTC (permalink / raw)
  To: glibc-bugs

Argh - will I ever be able to compile the C library or what?

CFLAGS="-g -O" ../configure --without-cvs --with-elf --enable-add-ons
--enable-shared --prefix=/usr/src/install/debug --enable-kernel=2.6.5
--disable-static --enable-debug
make default_flags="-g -O"

gcc manager.c -c -std=gnu99 -O -Wall -Winline -Wstrict-prototypes
-Wwrite-strings -g   -fno-omit-frame-pointer   -I../include -I.
-I/usr/src/glibc/glibc-2.3.2/build/linuxthreads -I.. -I../libio 
-I/usr/src/glibc/glibc-2.3.2/build -I../sysdeps/i386/elf
-I../linuxthreads/sysdeps/unix/sysv/linux/i386
-I../linuxthreads/sysdeps/unix/sysv/linux -I../linuxthreads/sysdeps/pthread
-I../sysdeps/pthread -I../linuxthreads/sysdeps/unix/sysv
-I../linuxthreads/sysdeps/unix -I../linuxthreads/sysdeps/i386/i686
-I../linuxthreads/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386
-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../sysdeps/unix/sysv -I../sysdeps/unix/i386 -I../sysdeps/unix
-I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686
-I../sysdeps/i386/i486 -I../sysdeps/i386/fpu -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
/lib/modules/2.6.5/build/include -D_LIBC_REENTRANT -include
../include/libc-symbols.h   -DNOT_IN_libc=1 -DIS_IN_libpthread=1    -o
/usr/src/glibc/glibc-2.3.2/build/linuxthreads/manager.o
manager.c: In function `__pthread_manager':
manager.c:121: error: `__NR_set_thread_area' undeclared (first use in this function)
manager.c:121: error: (Each undeclared identifier is reported only once
manager.c:121: error: for each function it appears in.)
manager.c: In function `__pthread_manager_event':
manager.c:234: error: `__NR_set_thread_area' undeclared (first use in this function)
manager.c: In function `pthread_start_thread':
manager.c:259: error: `__NR_set_thread_area' undeclared (first use in this function)
manager.c: In function `pthread_start_thread_event':
manager.c:313: error: `__NR_set_thread_area' undeclared (first use in this function)
../stdio-common/_itoa.h: At top level:
../stdio-common/_itoa.h:40: warning: inlining failed in call to `_itoa_word'
../stdio-common/_itoa.h:76: warning: called from here
make[2]: *** [/usr/src/glibc/glibc-2.3.2/build/linuxthreads/manager.o] Error 1
make[2]: Leaving directory `/usr/src/glibc/glibc-2.3.2/linuxthreads'
make[1]: *** [linuxthreads/others] Error 2
make[1]: Leaving directory `/usr/src/glibc/glibc-2.3.2'
make: *** [all] Error 2

-- 
           Summary: MORE compile errors.
           Product: glibc
           Version: 2.3.2
            Status: NEW
          Severity: normal
          Priority: P2
         Component: libc
        AssignedTo: gotom at debian dot or dot jp
        ReportedBy: carlo at alinoe dot com
                CC: glibc-bugs at sources dot redhat dot com


http://sources.redhat.com/bugzilla/show_bug.cgi?id=242

------- 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] 3+ messages in thread

* [Bug linuxthreads/242] MORE compile errors.
  2004-06-27 12:10 [Bug libc/242] New: MORE compile errors carlo at alinoe dot com
@ 2004-06-27 12:30 ` carlo at alinoe dot com
  2004-06-27 17:02 ` carlo at alinoe dot com
  1 sibling, 0 replies; 3+ messages in thread
From: carlo at alinoe dot com @ 2004-06-27 12:30 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From carlo at alinoe dot com  2004-06-27 12:30 -------
I worked around this compile error by adding

#include <asm/unistd.h>

to linuxthreads/manager.c

The same header needed to be added to linuxthreads/pthread.c

I don't that is clean solution though - that header should
be included by whatever is defining INIT_THREAD_SELF
but I didn't want to change header files and recompile :/



-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|libc                        |linuxthreads


http://sources.redhat.com/bugzilla/show_bug.cgi?id=242

------- 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] 3+ messages in thread

* [Bug linuxthreads/242] MORE compile errors.
  2004-06-27 12:10 [Bug libc/242] New: MORE compile errors carlo at alinoe dot com
  2004-06-27 12:30 ` [Bug linuxthreads/242] " carlo at alinoe dot com
@ 2004-06-27 17:02 ` carlo at alinoe dot com
  1 sibling, 0 replies; 3+ messages in thread
From: carlo at alinoe dot com @ 2004-06-27 17:02 UTC (permalink / raw)
  To: glibc-bugs


------- Additional Comments From carlo at alinoe dot com  2004-06-27 17:02 -------
This seems to be fixed on mainline cvs (2.3.3).


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


http://sources.redhat.com/bugzilla/show_bug.cgi?id=242

------- 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] 3+ messages in thread

end of thread, other threads:[~2004-06-27 17:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-27 12:10 [Bug libc/242] New: MORE compile errors carlo at alinoe dot com
2004-06-27 12:30 ` [Bug linuxthreads/242] " carlo at alinoe dot com
2004-06-27 17:02 ` carlo at alinoe dot com

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).