This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug other/32184] Library makefiles are not created properly. Re-configuring and creating warnings.
- From: "egallager at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Jul 2017 14:31:23 +0000
- Subject: [Bug other/32184] Library makefiles are not created properly. Re-configuring and creating warnings.
- Auto-submitted: auto-generated
- References: <bug-32184-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=32184
Eric Gallager <egallager at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |WAITING
Last reconfirmed| |2017-07-24
CC| |egallager at gcc dot gnu.org
Ever confirmed|0 |1
--- Comment #1 from Eric Gallager <egallager at gcc dot gnu.org> ---
(In reply to Rob from comment #0)
> Two little things when building the libraries.
>
> When building all languages on the target i686-pc-linux-gnu the make does
> all it's stages and then builds the libraries.
>
> It build them in this order: libgcc, libada, libstdc++-v3, libiberty,
> libmudflap, libssp, libgfortran, boehm-gc, libobjc, libffi and then
> finally zlib. The next library build is libjava.
>
> 1): Then it goes back after configuring classpath and _rebuilds_ zlib
> again. After re-doing zlib it continues with the rest of libjava.
>
> It is too bad it can't build it satisfactory for libjava the first time.
>
>
> 2): Another issue is I see this warning:
>
> # grep -B 2 -A 2 --color=always configure:\ WARNING:
> /opt/gcc-4_3-build/make_9_log.txt
> no
> checking whether Solaris gcc optimization fix is necessary... no
> configure: WARNING: "Must define GC_DEBUG and use debug alloc. in clients."
> configure: WARNING: "Client must not use -fomit-frame-pointer."
> updating cache ./config.cache
> configure: creating ./config.status
>
>
> Why take an action to trigger the warning, apparently we should define
> GC_DEBUG
> and not use -fomit-frame-pointer so lets refrain from creating the Makefile
> that way.
>
>
> # gcc/xgcc -v
> Using built-in specs.
> Target: i686-pc-linux-gnu
> Configured with: /root/downloads/gcc-4_3-trunk/configure --verbose
> --enable-languages=c,ada,c++,fortran,java,objc,obj-c++ --with-tune=athlon-xp
> --prefix=/usr --enable-objc-gc --enable-concept-checks --disable-multilib
> --with-gxx-include-dir=/usr/include/c++/4.3 --enable-libstdcxx-debug
> --enable-static --enable-shared --enable-initfini-array
> --enable-__cxa_atexit --enable-threads=posix
> --enable-version-specific-runtime-libs --enable-libssp --enable-libmudflap
> --enable-libgomp --disable-werror --enable-nls --with-included-gettext
> --enable-decimal-float --with-long-double-128 --enable-debug
> --enable-java-gc=boehm --with-x --x-includes=/usr/X11R6/include
> --x-libraries=/usr/X11R6/lib --enable-java-awt=gtk,xlib --enable-gtk-cairo
> --enable-qt-peer --enable-xmlj --enable-gconf-peer --enable-tool-wrappers
> --enable-portable-native-sync --enable-examples --enable-libgcj-multifile
> --with-stabs --enable-hash-synchronization --enable-gc-debug
> --enable-interpreter --with-system-zlib --enable-libada --with-tls
> --with-cpu=athlon-xp --with-arch=athlon-xp
> --enable-stage1-checking=assert,gc,misc,rtl,rtlflag,runtime,tree
> Thread model: posix
> gcc version 4.3.0 20070601 (experimental)
As far as 1 goes, libjava has been removed so that part is no longer relevant.
For 2, which configure script prints that warning?