This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
[mwh@sysrq.dk] libc/2225: Compiletime error. Please help.
- To: libc-alpha at sources dot redhat dot com
- Subject: [mwh@sysrq.dk] libc/2225: Compiletime error. Please help.
- From: Andreas Jaeger <aj at suse dot de>
- Date: 01 May 2001 09:35:56 +0200
- Cc: mwh at sysrq dot dk
Hi glibc folks,
the appended bug report looks like a broken installation of
GCC. Doesn't it?
Martin, what's the output of:
gcc -print-file-name=cpp
and of:
ls -l `gcc -print-file-name=cpp`
Shouldn't we test in configure for such broken installations? What's
a proper test to do so?
Andreas
Topics:
libc/2225: Compiletime error. Please help.
- To: libc-gnats at gnu dot org, gnats-admin at gnu dot org
- Subject: libc/2225: Compiletime error. Please help.
- From: mwh at sysrq dot dk
- Date: Tue, 01 May 2001 02:55:02 -0400
Note: There was a bad value `' for the field `Class'.
It was set to the default value of `sw-bug'.
Note: There was a bad value `' for the field `Priority'.
It was set to the default value of `medium'.
Note: There was a bad value `' for the field `Severity'.
It was set to the default value of `serious'.
>Number: 2225
>Category: libc
>Synopsis: Compiletime error. Please help.
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: libc-gnats
>State: open
>Quarter:
>Keywords:
>Class: sw-bug
>Submitter-Id: unknown
>Arrival-Date: Tue May 01 02:55:01 -0400 2001
>Cases:
>Originator: Martin Willemoes Hansen
>Release: libc-2.2.3
>Organization:
>Environment:
Host type: i586-pc-linux-gnu
System: Linux hugoboss 2.4.4 #15 Mon Apr 30 17:10:36 CEST 2001 i586 unknown
Architecture: i586 --- K6-2
Addons: linuxthreads
Build CC: gcc
Compiler version: 2.95.3
Kernel headers: 2.4.4
Symbol versioning: yes
Build static: yes
Build shared: yes
Build pic-default: no
Build profile: yes
Build omitfp: no
Build bounded: no
Build static-nss: no
Stdio: libio
>Description:
gcc -nostdlib -nostartfiles -o rpcinfo -Wl,-dynamic-linker=/lib/ld-linux.so.2 ../csu/crt1.o ../csu/crti.o `gcc --print-file-name=crtbegin.o` rpcinfo.o -Wl,-rpath-link=..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads ../libc.so.6 ../libc_nonshared.a -lgcc `gcc --print-file-name=crtend.o` ../csu/crtn.o
../elf/ld-linux.so.2 --library-path ..:../math:../elf:../dlfcn:../nss:../nis:../rt:../resolv:../crypt:../linuxthreads ./rpcgen -Y `gcc -print-file-name=cpp | sed 's|/cpp$||'` -c rpcsvc/bootparam_prot.x -o xbootparam_prot.T
rpcsvc/bootparam_prot.x: file not recognized: File format not recognized
collect2: ld returned 1 exit status
./rpcgen: C preprocessor failed with exit code 1
make[1]: *** [xbootparam_prot.stmp] Error 1
>How-To-Repeat:
configure --prefix=$PREFIX --disable-static \
--enable-add-ons \
--mandir=/usr/share/man --infodir=/usr/share/info && \
make
>Fix:
Unknown
--
Andreas Jaeger
SuSE Labs aj@suse.de
private aj@arthur.inka.de
http://www.suse.de/~aj