public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
From: Johann.Schaeuble@t-online.de
To: gcc-gnats@gcc.gnu.org
Subject: c++/5394: gcc-3.0.3 not build with --prefix=/usr, xemacs configure
Date: Tue, 15 Jan 2002 14:26:00 -0000	[thread overview]
Message-ID: <20020115221808.4356.qmail@sources.redhat.com> (raw)


>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
>Closed-Date:
>Last-Modified:
>Originator:     Johann.Schaeuble@t-online.de
>Release:        unknown-1.0
>Organization:
>Environment:
Suse 7.3, kernel 2.4.10-4GB
>Description:
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
>How-To-Repeat:

>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:
----gnatsweb-attachment----
Content-Type: text/plain; name="gcc3.03-bug"
Content-Disposition: inline; filename="gcc3.03-bug"


Hello

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
glibc-2.2.4-21

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() {
db_open()
; 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;}


             reply	other threads:[~2002-01-15 22:26 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-15 14:26 Johann.Schaeuble [this message]
2002-04-19 13:34 pme

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020115221808.4356.qmail@sources.redhat.com \
    --to=johann.schaeuble@t-online.de \
    --cc=gcc-gnats@gcc.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).