* [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
@ 2010-09-29 13:38 ` gzp at gmx dot net
2010-09-30 0:21 ` rwild at gcc dot gnu.org
` (7 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: gzp at gmx dot net @ 2010-09-29 13:38 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
--- Comment #14 from Gabor Z. Papp <gzp at gmx dot net> 2010-09-29 11:04:26 UTC ---
$ getconf ARG_MAX
2097152
Problem still exist with 4.4.4
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
2010-09-29 13:38 ` [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library gzp at gmx dot net
@ 2010-09-30 0:21 ` rwild at gcc dot gnu.org
2010-10-01 18:42 ` gzp at papp dot hu
` (6 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: rwild at gcc dot gnu.org @ 2010-09-30 0:21 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
--- Comment #15 from Ralf Wildenhues <rwild at gcc dot gnu.org> 2010-09-29 19:33:50 UTC ---
Please attach i686-pc-linux-gnu/libmudflap/config.log
Please post the output of the following commands (modifying the configure
script to post verbose output, and rerunning it):
sed -i '/checking the maximum length/a\
set -x
' libmudflap/configure
rm -f i686-pc-linux-gnu/libmudflap/Makefile
make configure-target-libmudflap
Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
2010-09-29 13:38 ` [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library gzp at gmx dot net
2010-09-30 0:21 ` rwild at gcc dot gnu.org
@ 2010-10-01 18:42 ` gzp at papp dot hu
2010-10-02 5:34 ` rwild at gcc dot gnu.org
` (5 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: gzp at papp dot hu @ 2010-10-01 18:42 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
--- Comment #17 from Gabor Z. Papp <gzp at papp dot hu> 2010-10-01 18:42:49 UTC ---
(In reply to comment #15)
> Please attach i686-pc-linux-gnu/libmudflap/config.log
Done.
> Please post the output of the following commands (modifying the configure
> script to post verbose output, and rerunning it):
>
> sed -i '/checking the maximum length/a\
> set -x
> ' libmudflap/configure
I'm not sure I understand this part. In what directory level run this command?
~/src/gcc-4.4.5/obj/i686-pc-linux-gnu $ sed -i '/checking the maximum length/a\
> set -x
> ' libmudflap/configure
sed: can't read libmudflap/configure: No such file or directory
~/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap $ ls -l
total 504
-rw-r--r-- 1 gzp gzp 30715 Oct 1 20:35 Makefile
-rw-r--r-- 1 gzp gzp 8728 Oct 1 20:34 config.cache
-rw-r--r-- 1 gzp gzp 7996 Oct 1 20:35 config.h
-rw-r--r-- 1 gzp gzp 102009 Oct 1 20:35 config.log
-rwxr-xr-x 1 gzp gzp 78680 Oct 1 20:35 config.status
-rwxr-xr-x 1 gzp gzp 258177 Oct 1 20:35 libtool
-rw-r--r-- 1 gzp gzp 3 Oct 1 20:34 multilib.out
drwxr-xr-x 2 gzp gzp 4096 Oct 1 20:34 pth
-rw-r--r-- 1 gzp gzp 23 Oct 1 20:35 stamp-h1
drwxr-xr-x 2 gzp gzp 4096 Oct 1 20:35 testsuite
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
` (2 preceding siblings ...)
2010-10-01 18:42 ` gzp at papp dot hu
@ 2010-10-02 5:34 ` rwild at gcc dot gnu.org
2010-10-02 6:56 ` gzp at papp dot hu
` (4 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: rwild at gcc dot gnu.org @ 2010-10-02 5:34 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
--- Comment #18 from Ralf Wildenhues <rwild at gcc dot gnu.org> 2010-10-02 05:34:16 UTC ---
Ah, sorry. The sed script was meant for the toplevel source directory.
Your .../libmudflap/config.log however looks like configure did compute the
maximum command line length correctly. Let's hope the shell trace log will
provide more clues. Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
` (3 preceding siblings ...)
2010-10-02 5:34 ` rwild at gcc dot gnu.org
@ 2010-10-02 6:56 ` gzp at papp dot hu
2010-10-02 6:58 ` gzp at papp dot hu
` (3 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: gzp at papp dot hu @ 2010-10-02 6:56 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
--- Comment #19 from Gabor Z. Papp <gzp at papp dot hu> 2010-10-02 06:56:43 UTC ---
(In reply to comment #15)
> make configure-target-libmudflap
make: *** No rule to make target `configure-target-libmudflap'. Stop.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
` (4 preceding siblings ...)
2010-10-02 6:56 ` gzp at papp dot hu
@ 2010-10-02 6:58 ` gzp at papp dot hu
2010-10-02 7:13 ` rwild at gcc dot gnu.org
` (2 subsequent siblings)
8 siblings, 0 replies; 9+ messages in thread
From: gzp at papp dot hu @ 2010-10-02 6:58 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
--- Comment #20 from Gabor Z. Papp <gzp at papp dot hu> 2010-10-02 06:58:38 UTC ---
(In reply to comment #19)
> > make configure-target-libmudflap
>
> make: *** No rule to make target `configure-target-libmudflap'. Stop.
My bad. I'm building gcc in ./obj
So running make configure-target-libmudflag in obj:
$ make configure-target-libmudflap
Checking multilib configuration for libmudflap...
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
` (5 preceding siblings ...)
2010-10-02 6:58 ` gzp at papp dot hu
@ 2010-10-02 7:13 ` rwild at gcc dot gnu.org
2010-10-02 7:17 ` gzp at papp dot hu
2010-10-02 11:09 ` [Bug bootstrap/38339] " rwild at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: rwild at gcc dot gnu.org @ 2010-10-02 7:13 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
--- Comment #23 from Ralf Wildenhues <rwild at gcc dot gnu.org> 2010-10-02 07:13:39 UTC ---
The 'make configure-target-libmudflap' log you just sent does not show the
'expr syntax error' failures from the log.make in comment 1 any more. Can you
please verify that your build error is gone now also? Should be sufficient to
make all-target-libmudflap
Thanks.
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug libmudflap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
` (6 preceding siblings ...)
2010-10-02 7:13 ` rwild at gcc dot gnu.org
@ 2010-10-02 7:17 ` gzp at papp dot hu
2010-10-02 11:09 ` [Bug bootstrap/38339] " rwild at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: gzp at papp dot hu @ 2010-10-02 7:17 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
--- Comment #24 from Gabor Z. Papp <gzp at papp dot hu> 2010-10-02 07:17:33 UTC ---
(In reply to comment #23)
> The 'make configure-target-libmudflap' log you just sent does not show the
> 'expr syntax error' failures from the log.make in comment 1 any more. Can you
> please verify that your build error is gone now also? Should be sufficient to
> make all-target-libmudflap
Yes:
$ make all-target-libmudflap
Checking multilib configuration for libmudflap...
make[1]: Entering directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
make "AR_FLAGS=rc" "CC_FOR_BUILD=gcc" "CFLAGS=-g -O2 " "CXXFLAGS=-g -O2
-D_GNU_SOURCE " "CFLAGS_FOR_BUILD=-g -O2" "CFLAGS_FOR_TARGET=-g -O2"
"INSTALL=/pkg/bin/install -c" "INSTALL_DATA=/pkg/bin/install -c -m 644"
"INSTALL_PROGRAM=/pkg/bin/install -c" "INSTALL_SCRIPT=/pkg/bin/install -c"
"JC1FLAGS=" "LDFLAGS=" "LIBCFLAGS=-g -O2 " "LIBCFLAGS_FOR_TARGET=-g -O2"
"MAKE=make" "MAKEINFO=makeinfo --split-size=5000000 " "PICFLAG="
"PICFLAG_FOR_TARGET=" "SHELL=/bin/sh" "RUNTESTFLAGS=" "exec_prefix=/pkg"
"infodir=/pkg/info" "libdir=/pkg/lib" "prefix=/pkg" "includedir=/pkg/include"
"AR=ar" "AS=/home/gzp/src/gcc-4.4.5/obj/./gcc/as"
"CC=/home/gzp/src/gcc-4.4.5/obj/./gcc/xgcc -B/home/gzp/src/gcc-4.4.5/obj/./gcc/
-B/pkg/i686-pc-linux-gnu/bin/ -B/pkg/i686-pc-linux-gnu/lib/ -isystem
/pkg/i686-pc-linux-gnu/include -isystem /pkg/i686-pc-linux-gnu/sys-include"
"CXX=/home/gzp/src/gcc-4.4.5/obj/./gcc/g++ -B/home/gzp/src/gcc-4.4.5/obj/./gcc/
-nostdinc++ -nostdinc++
-I/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libstdc++-v3/include/i686-pc-linux-gnu
-I/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libstdc++-v3/include
-I/home/gzp/src/gcc-4.4.5/libstdc++-v3/libsupc++
-I/home/gzp/src/gcc-4.4.5/libstdc++-v3/include/backward
-I/home/gzp/src/gcc-4.4.5/libstdc++-v3/testsuite/util
-L/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libstdc++-v3/src
-L/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libstdc++-v3/src/.libs
-B/pkg/i686-pc-linux-gnu/bin/ -B/pkg/i686-pc-linux-gnu/lib/ -isystem
/pkg/i686-pc-linux-gnu/include -isystem /pkg/i686-pc-linux-gnu/sys-include"
"LD=/home/gzp/src/gcc-4.4.5/obj/./gcc/collect-ld" "LIBCFLAGS=-g -O2 "
"NM=/home/gzp/src/gcc-4.4.5/obj/./gcc/nm" "PICFLAG=" "RANLIB=ranlib" "DESTDIR="
all-recursive
make[2]: Entering directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
Making all in testsuite
make[3]: Entering directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap/testsuite'
make[3]: Nothing to be done for `all'.
make[3]: Leaving directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap/testsuite'
make[3]: Entering directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
if /bin/sh ./libtool --tag=CC --mode=compile
/home/gzp/src/gcc-4.4.5/obj/./gcc/xgcc -B/home/gzp/src/gcc-4.4.5/obj/./gcc/
-B/pkg/i686-pc-linux-gnu/bin/ -B/pkg/i686-pc-linux-gnu/lib/ -isystem
/pkg/i686-pc-linux-gnu/include -isystem /pkg/i686-pc-linux-gnu/sys-include
-DHAVE_CONFIG_H -I. -I../../../libmudflap -I. -Wall -ffunction-sections
-fdata-sections -g -O2 -MT mf-runtime.lo -MD -MP -MF ".deps/mf-runtime.Tpo"
-c -o mf-runtime.lo ../../../libmudflap/mf-runtime.c; \
then mv -f ".deps/mf-runtime.Tpo" ".deps/mf-runtime.Plo"; else rm -f
".deps/mf-runtime.Tpo"; exit 1; fi
libtool: compile: not configured to build any kind of library
libtool: compile: See the libtool documentation for more information.
libtool: compile: Fatal configuration error.
make[3]: *** [mf-runtime.lo] Error 1
make[3]: Leaving directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
make[1]: *** [all] Error 2
make[1]: Leaving directory
`/home/gzp/src/gcc-4.4.5/obj/i686-pc-linux-gnu/libmudflap'
make: *** [all-target-libmudflap] Error 2
^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug bootstrap/38339] libtool: compile: not configured to build any kind of library
[not found] <bug-38339-4@http.gcc.gnu.org/bugzilla/>
` (7 preceding siblings ...)
2010-10-02 7:17 ` gzp at papp dot hu
@ 2010-10-02 11:09 ` rwild at gcc dot gnu.org
8 siblings, 0 replies; 9+ messages in thread
From: rwild at gcc dot gnu.org @ 2010-10-02 11:09 UTC (permalink / raw)
To: gcc-bugs
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38339
Ralf Wildenhues <rwild at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Component|libmudflap |bootstrap
Resolution| |INVALID
--- Comment #25 from Ralf Wildenhues <rwild at gcc dot gnu.org> 2010-10-02 11:09:14 UTC ---
We hashed this out a bit off-list, to avoid filling the audit trail with more
bad guessing of mine.
Anyway, turned out the exposer for this issue was the passing of a number of
configure command lines that conflicted:
--enable-shared --disable-static --enable-shared=libstdc++ --enable-static
I told Gabor to rebuild with
--disable-shared --enable-static --enable-shared=libstdc++-v3
intending to create a shared C++ library but everything else static. The build
finished successfully, but without creating a shared C++ library. I now
checked the libstdc++-v3/configure code, and sorry to say so, but I was wrong,
libstdc++-v3/configure defines $PACKAGE as "libstdc++", so that the right set
of args would have been
--disable-shared --enable-static --enable-shared=libstdc++
instead. Gabor, can I ask you to retry with these argumenst one more time? If
that fails to produce a shared C++ library, then please open a new PR "building
only some GCC libraries shared" against component bootstrap, point to this PR,
Cc: me, and attach the build log, gzip'ed. Thank you.
I'm closing this PR as invalid. (I don't want to retitle it because the old
name should remain searchable.)
^ permalink raw reply [flat|nested] 9+ messages in thread