This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[MAILER-DAEMON@sources.redhat.com: failure notice]


----- Forwarded message from MAILER-DAEMON@sources.redhat.com -----

Date: 12 Oct 2002 20:18:25 -0000
From: MAILER-DAEMON@sources.redhat.com
To: leitner@fefe.de
Subject: failure notice

Hi. This is the qmail-send program at sources.redhat.com.
I'm afraid I wasn't able to deliver your message to the following addresses.
This is a permanent error; I've given up. Sorry it didn't work out.

<libc-alpha@sources.redhat.com>:
Mail rejected: List address must be in To: or Cc: headers.
Contact libc-alpha-owner@sources.redhat.com if you have questions about this. (#5.7.2)

--- Below this line is a copy of the message.

Return-Path: <leitner@fefe.de>
Received: (qmail 28299 invoked from network); 12 Oct 2002 20:18:25 -0000
Received: from unknown (HELO fencepost.gnu.org) (199.232.76.164)
  by sources.redhat.com with SMTP; 12 Oct 2002 20:18:25 -0000
Received: from monty-python.gnu.org ([199.232.76.173])
	by fencepost.gnu.org with esmtp (Exim 4.10)
	id 180SiO-0003NJ-01
	for glibc-bug-reports-development@gnu.org; Sat, 12 Oct 2002 16:18:24 -0400
Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10)
	id 180SiK-0001Ds-00
	for glibc-bug-reports-development@gnu.org; Sat, 12 Oct 2002 16:18:23 -0400
Received: from pd9e10da3.dip.t-dialin.net ([217.225.13.163] helo=fefe.de)
	by monty-python.gnu.org with esmtp (Exim 4.10)
	id 180SiI-00012c-00
	for glibc-bug-reports-development@gnu.org; Sat, 12 Oct 2002 16:18:19 -0400
Received: (qmail 5582 invoked by uid 100); 12 Oct 2002 20:17:57 -0000
Date: 12 Oct 2002 20:17:57 -0000
Message-ID: <20021012201757.5581.qmail@fefe.de>
From: leitner@fefe.de
To: glibc-bug-reports-development@gnu.org
Subject: [50 character or so descriptive subject here (for reference)]
X-Spam-Status: No, hits=-1.9 required=5.0
	tests=NO_REAL_NAME,SPAM_PHRASE_00_01,SUPERLONG_LINE
	version=2.41
X-Spam-Level: 

>Submitter-Id:	net
>Originator:	Felix von Leitner
>Organization:
 
>Confidential:	no
>Synopsis:	../sysdeps/unix/sysv/linux/alpha/gethostname.c:36: `__NR_gethostname' undeclared
>Severity:	critical
>Priority:	high
>Category:	libc
>Class:		sw-bug
>Release:	libc-2.3
>Environment:
	
Host type: alpha-unknown-linux-gnu
System: Linux beholder 2.4.19 i686 unknown unknown GNU/Linux
Architecture: i686

Addons: linuxthreads
Build CFLAGS: -pipe -Os
Build CC: alpha-linux-gcc
Compiler version: 3.2
Kernel headers: 2.4.19
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: no
Build omitfp: no
Build bounded: no
Build static-nss: no

>Description:
	cross-compiling glibc 2.3 to alpha-linux, compilation aborts
	with this error message:

alpha-linux-gcc ../sysdeps/unix/sysv/linux/alpha/gethostname.c -c -Os -Wall -Winline -Wstrict-prototypes -Wwrite-strings -pipe -mieee     -I../include -I. -I/tmp/glibc-build/misc -I.. -I../libio  -I/tmp/glibc-build -I../linuxthreads/sysdeps/alpha/elf -I../sysdeps/alpha/elf -I../linuxthreads/sysdeps/unix/sysv/linux/alpha -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/alpha -I../sysdeps/unix/sysv/linux/alpha/alpha -I../sysdeps/unix/sysv/linux/alpha -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu
-I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv -I../sysdeps/unix/alpha -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/alpha/fpu -I../sysdeps/alpha -I../sysdeps/wordsize-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic  -I /lib/modules/2.4.19/build/include -D_LIBC_REENTRANT -include ../include/libc-symbols.h      -o /tmp/glibc-build/misc/gethostname.o
In file included from ../sysdeps/unix/sysv/linux/alpha/gethostname.c:24:
../sysdeps/unix/sysv/linux/alpha/sysdep.h:44:1: warning: "__NR_getpid" redefined
In file included from ../sysdeps/unix/sysv/linux/sys/syscall.h:25,
                 from ../sysdeps/unix/sysdep.h:21,
                 from ../sysdeps/unix/alpha/sysdep.h:20,
                 from ../sysdeps/unix/sysv/linux/alpha/sysdep.h:28,
                 from ../sysdeps/unix/sysv/linux/alpha/gethostname.c:24:
/lib/modules/2.4.19/build/include/asm/unistd.h:27:1: warning: this is the location of the previous definition
In file included from ../sysdeps/unix/sysv/linux/alpha/gethostname.c:24:
../sysdeps/unix/sysv/linux/alpha/sysdep.h:45:1: warning: "__NR_getuid" redefined
In file included from ../sysdeps/unix/sysv/linux/sys/syscall.h:25,
                 from ../sysdeps/unix/sysdep.h:21,
                 from ../sysdeps/unix/alpha/sysdep.h:20,
                 from ../sysdeps/unix/sysv/linux/alpha/sysdep.h:28,
                 from ../sysdeps/unix/sysv/linux/alpha/gethostname.c:24:
/lib/modules/2.4.19/build/include/asm/unistd.h:31:1: warning: this is the location of the previous definition
In file included from ../sysdeps/unix/sysv/linux/alpha/gethostname.c:24:
../sysdeps/unix/sysv/linux/alpha/sysdep.h:46:1: warning: "__NR_getgid" redefined
In file included from ../sysdeps/unix/sysv/linux/sys/syscall.h:25,
                 from ../sysdeps/unix/sysdep.h:21,
                 from ../sysdeps/unix/alpha/sysdep.h:20,
                 from ../sysdeps/unix/sysv/linux/alpha/sysdep.h:28,
                 from ../sysdeps/unix/sysv/linux/alpha/gethostname.c:24:
/lib/modules/2.4.19/build/include/asm/unistd.h:54:1: warning: this is the location of the previous definition
../sysdeps/unix/sysv/linux/alpha/gethostname.c: In function `__gethostname':
../sysdeps/unix/sysv/linux/alpha/gethostname.c:36: `__NR_gethostname' undeclared (first use in this function)
../sysdeps/unix/sysv/linux/alpha/gethostname.c:36: (Each undeclared identifier is reported only once
../sysdeps/unix/sysv/linux/alpha/gethostname.c:36: for each function it appears in.)
make[2]: *** [/tmp/glibc-build/misc/gethostname.o] Error 1
make[2]: Leaving directory `/tmp/glibc-2.3/misc'
make[1]: *** [misc/subdir_lib] Error 2
make[1]: Leaving directory `/tmp/glibc-2.3'
make: *** [all] Error 2

__NR_gethostname is defined in asm-alpha/unistd.h, which is symlinked to
/opt/cross/alpha-linux/include/asm so it is in the default gcc include search
path.

>How-To-Repeat:
	CC=alpha-linux-gcc ../glibc-2.3/configure --prefix=/opt/cross/alpha-linux --enable-add-ons --disable-profile --disable-static --host=alpha-linux --disable-nls --enable-kernel=2.4 && make
>Fix:
	don't use /lib/modules/2.4.19/build/include/asm/unistd.h, which
links to the build platform's (i386 in my case) include files.  By the
way, using --host instead of --target yields the error that configure
says it thinks the build system is alpha-linux, too, instead of using
uname to detect the build system's platform by itself.

----- End forwarded message -----


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]