c++/5394: gcc-3.0.3 not build with --prefix=/usr, xemacs configure

Johann.Schaeuble@t-online.de Johann.Schaeuble@t-online.de
Tue Jan 15 14:26:00 GMT 2002

>Number:         5394
>Category:       c++
>Synopsis:       gcc-3.0.3 not build with --prefix=/usr, xemacs configure
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Jan 15 14:26:00 PST 2002
>Originator:     Johann.Schaeuble@t-online.de
>Release:        unknown-1.0
Suse 7.3, kernel 2.4.10-4GB
Cannot build gcc-3.0.3 after configuring with --prefix=/usr
build with default configuring works, but after
./configure --prefix=/usr the make does not succeed.

Cannot configure xemacs with gcc-3.0.3
./configure breaks with error when testing dlerr...

s. attachement


Content-Type: text/plain; name="gcc3.03-bug"
Content-Disposition: inline; filename="gcc3.03-bug"


I cannot build gcc-3.0.3 when configuring with --prefix=/usr
Default succeeds.

My system:

cat /etc/issue

Welcome to SuSE Linux 7.3 (i386) - Kernel \r (\l).

uname -a
Linux linux 2.4.10-4GB #1 Tue Sep 25 12:33:54 GMT 2001 i686 unknown

rpm -q glibc

gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/specs
Configured with: ./configure  : (reconfigured) ./configure --prefix=/usr : (reconfigured) ./configure  : (reconfigured) ./configure 
Thread model: single
gcc version 3.0.3

cc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-linux-gnu/3.0.3/specs
Configured with: ./configure  : (reconfigured) ./configure --prefix=/usr : (reconfigured) ./configure  : (reconfigured) ./configure 
Thread model: single
gcc version 3.0.3

libtool --version
ltmain.sh (GNU libtool) 1.4.1 (1.922.2.34 2001/09/03 01:22:13)

output of make, 2>1:

make[2]: Leaving directory `/home/cross/us/tools/gcc/gcc-3.0.3/i686-pc-linux-gnu/zlib'
make[1]: Leaving directory `/home/cross/us/tools/gcc/gcc-3.0.3/i686-pc-linux-gnu/zlib'
make[1]: Entering directory `/home/cross/us/tools/gcc/gcc-3.0.3/i686-pc-linux-gnu/boehm-gc'
/bin/sh ./libtool --mode=compile /home/cross/us/tools/gcc/gcc-3.0.3/gcc/xgcc -B/home/cross/us/tools/gcc/gcc-3.0.3/gcc/ -B/usr/i686-pc-linux-gnu/bin/ -B/usr/i686-pc-linux-gnu/lib/ -isystem /usr/i686-pc-linux-gnu/include -DSILENT=1 -DNO_SIGNALS=1 -DJAVA_FINALIZATION=1 -DGC_GCJ_SUPPORT=1  -I. -I.     -I././targ-include -I././.././libc/include -fno-builtin -g -O2 -c allchblk.c
libtool: compile: unable to infer tagged configuration
make[1]: Leaving directory `/home/cross/us/tools/gcc/gcc-3.0.3/i686-pc-linux-gnu/boehm-gc'

Afterwards another problem arose (after I built gcc with default config):
Could not build xemacs 21.1.14, configure with defaults produced:
(I reported this to xemacs team)

int main() {
; return 0; }
configure:11860: checking for dlfcn.h
configure:11868: gcc -E       -I/usr/X11/include conftest.c >/dev/null 2>conftest.out
configure:11899: checking for dlopen in -ldl
configure:11915: gcc -o conftest -g -O3 -Wall -Wno-switch       -I/usr/X11/include      -L/usr/X11/lib  conftest.c   -ldl   -lXm -lcompface -ltiff -ljpeg -lz -lXmu -lXt -lXext -lX11  -lSM -lICE -lgdbm -lgpm -lncurses -lm    -lshell32 -lgdi32 -luser32 -lcomctl32 -lgcc -lc -lgcc /usr/lib/crtn.o 1>&5
configure:12145: checking how to build a shared library
configure:12236: checking for dlerror
configure:12262: gcc -o conftest -g -O3 -Wall -Wno-switch       -I/usr/X11/include      -L/usr/X11/lib  conftest.c    -lXm -lcompface -ltiff -ljpeg -lz -lXmu -lXt -lXext -lX11  -lSM -lICE -ldl -lgdbm -lgpm -lncurses -lm    -lshell32 -lgdi32 -luser32 -lcomctl32 -lgcc -lc -lgcc /usr/lib/crtn.o 1>&5
configure:12302: gcc -o conftest -g -O3 -Wall -Wno-switch       -I/usr/X11/include      -L/usr/X11/lib  conftest.c    -lXm -lcompface -ltiff -ljpeg -lz -lXmu -lXt -lXext -lX11  -lSM -lICE -ldl -lgdbm -lgpm -lncurses -lm    -lshell32 -lgdi32 -luser32 -lcomctl32 -lgcc -lc -lgcc /usr/lib/crtn.o 1>&5
./configure: line 12325: 25422 Segmentation fault      ./conftest
configure: failed program was:
#line 12298 "configure"
#include "confdefs.h"
int main(int c,char *v[]){return 0;}

More information about the Gcc-bugs mailing list