public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: c++/5394: gcc-3.0.3 not build with --prefix=/usr, xemacs configure
@ 2002-04-19 13:34 pme
0 siblings, 0 replies; 2+ messages in thread
From: pme @ 2002-04-19 13:34 UTC (permalink / raw)
To: Johann.Schaeuble, gcc-bugs, gcc-prs, nobody
Synopsis: gcc-3.0.3 not build with --prefix=/usr, xemacs configure
State-Changed-From-To: open->closed
State-Changed-By: pme
State-Changed-When: Fri Apr 19 13:34:35 2002
State-Changed-Why:
1) The GCC installation instructions strongly recommend
that you not configure/build in the source directory.
2) The same instructions also strongly recommend that you
not configure with --prefix=/usr unless you are a system
vendor and know what you're doing.
3) The xemacs problem is not our fault. :-)
Problems with in-source builds have been fixed since 3.0.3.
Please download a later version of GCC and try building it.
Thanks.
http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=5394
^ permalink raw reply [flat|nested] 2+ messages in thread
* c++/5394: gcc-3.0.3 not build with --prefix=/usr, xemacs configure
@ 2002-01-15 14:26 Johann.Schaeuble
0 siblings, 0 replies; 2+ messages in thread
From: Johann.Schaeuble @ 2002-01-15 14:26 UTC (permalink / raw)
To: gcc-gnats
>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;}
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-04-19 20:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-19 13:34 c++/5394: gcc-3.0.3 not build with --prefix=/usr, xemacs configure pme
-- strict thread matches above, loose matches on Subject: below --
2002-01-15 14:26 Johann.Schaeuble
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).