From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30532 invoked by alias); 20 Oct 2011 12:46:04 -0000 Received: (qmail 30510 invoked by uid 22791); 20 Oct 2011 12:46:01 -0000 X-SWARE-Spam-Status: No, hits=1.2 required=5.0 tests=AWL,BAYES_00,BOTNET,TW_BJ,TW_CX,TW_DC,TW_GX,TW_PX,TW_SV X-Spam-Check-By: sourceware.org Received: from smtp-104-thursday.noc.nerim.net (HELO mallaury.nerim.net) (178.132.17.104) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 20 Oct 2011 12:45:33 +0000 Received: from hector.lesours (ours.starynkevitch.net [213.41.244.95]) by mallaury.nerim.net (Postfix) with ESMTPS id C09C315345D for ; Thu, 20 Oct 2011 14:45:32 +0200 (CEST) Received: from basile18 by hector.lesours with local (Exim 4.76) (envelope-from ) id 1RGs04-00040D-AM for gcc@gcc.gnu.org; Thu, 20 Oct 2011 14:45:32 +0200 Date: Thu, 20 Oct 2011 13:53:00 -0000 From: Basile Starynkevitch To: gcc@gcc.gnu.org Subject: trunk (rev 180248) not buildable --with-gc=zone: undefined ggc_alloced_size_for_request Message-ID: <20111020124532.GA15333@ours.starynkevitch.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2011-10/txt/msg00347.txt.bz2 Hello All, On my GNU/Linux/x86-64 Debian/Sid system, I am not able to build trunk svn revision 180248 when it is configuresd with '/usr/src/Lang/gcc-trunk-bstarynk/configure' '--enable-maintainer-mode' '--enable-checks=tree,gc' '--enable-bootstrap' '--disable-multilib' '--enable-plugin' 'CFLAGS=-O -g' '--enable-lto' '--with-gc=zone' '--enable-languages=c,c++,lto' I am getting gcc -c -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -I. -I. -I/usr/src/Lang/gcc-trunk-bstarynk/gcc -I/usr/src/Lang/gcc-trunk-bstarynk/gcc/. -I/usr/src/Lang/gcc-trunk-bstarynk/gcc/../include -I/usr/src/Lang/gcc-trunk-bstarynk/gcc/../libcpp/include -I/usr/src/Lang/gcc-trunk-bstarynk/gcc/../libdecnumber -I/usr/src/Lang/gcc-trunk-bstarynk/gcc/../libdecnumber/bid -I../libdecnumber cc1-checksum.c -o cc1-checksum.o gcc -g -fkeep-inline-functions -DIN_GCC -W -Wall -Wwrite-strings -Wcast-qual -Wstrict-prototypes -Wmissing-prototypes -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -Wold-style-definition -Wc++-compat -fno-common -DHAVE_CONFIG_H -o cc1 c-lang.o c-family/stub-objc.o attribs.o c-errors.o c-decl.o c-typeck.o c-convert.o c-aux-info.o c-objc-common.o c-parser.o tree-mudflap.o c-family/c-common.o c-family/c-cppbuiltin.o c-family/c-dump.o c-family/c-format.o c-family/c-gimplify.o c-family/c-lex.o c-family/c-omp.o c-family/c-opts.o c-family/c-pch.o c-family/c-ppoutput.o c-family/c-pragma.o c-family/c-pretty-print.o c-family/c-semantics.o c-family/c-ada-spec.o i386-c.o default-c.o \ cc1-checksum.o main.o tree-browser.o libbackend.a libcommon-target.a libcommon.a ../libcpp/libcpp.a ../libdecnumber/libdecnumber.a libcommon.a ../libcpp/libcpp.a ../libiberty/libiberty.a ../libdecnumber/libdecnumber.a -lcloog -lppl_c -lppl -lpwl -lgmpxx -lmpc -lmpfr -lgmp -rdynamic -ldl -L../zlib -lz libbackend.a(ggc-zone.o): In function `ggc_internal_alloc_zone_stat': /usr/src/Lang/gcc-trunk-bstarynk/gcc/ggc-zone.c:1105: undefined reference to `ggc_alloced_size_for_request' The compiler compiling the trunk is: % gcc -v Using built-in specs. COLLECT_GCC=/usr/bin/gcc COLLECT_LTO_WRAPPER=/usr/lib/gcc/x86_64-linux-gnu/4.6/lto-wrapper Target: x86_64-linux-gnu Configured with: ../src/configure -v --with-pkgversion='Debian 4.6.1-14' --with-bugurl=file:///usr/share/doc/gcc-4.6/README.Bugs --enable-languages=c,c++,fortran,objc,obj-c++,go --prefix=/usr --program-suffix=-4.6 --enable-shared --enable-linker-build-id --with-system-zlib --libexecdir=/usr/lib --without-included-gettext --enable-threads=posix --with-gxx-include-dir=/usr/include/c++/4.6 --libdir=/usr/lib --enable-nls --enable-clocale=gnu --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-plugin --enable-objc-gc --with-arch-32=i586 --with-tune=generic --enable-checking=release --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu Thread model: posix gcc version 4.6.1 (Debian 4.6.1-14) and the linker is % ld -v GNU ld (GNU Binutils for Debian) 2.21.90.20111004 Does any one reproduce the same behevior? If the file gcc/ggc-zone.c is becoming deprecated, when configured --with-gc=zone maybe we should add a comment about it. What do you think? Cheers -- Basile STARYNKEVITCH http://starynkevitch.net/Basile/ email: basilestarynkevitchnet mobile: +33 6 8501 2359 8, rue de la Faiencerie, 92340 Bourg La Reine, France *** opinions {are only mines, sont seulement les miennes} ***