From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5827 invoked by alias); 19 Jul 2012 20:32:56 -0000 Received: (qmail 5798 invoked by uid 22791); 19 Jul 2012 20:32:56 -0000 X-SWARE-Spam-Status: No, hits=-2.8 required=5.0 tests=AWL,BAYES_00,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_YE,SPF_HELO_PASS X-Spam-Check-By: sourceware.org Received: from moutng.kundenserver.de (HELO moutng.kundenserver.de) (212.227.17.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 19 Jul 2012 20:32:41 +0000 Received: from matterhorn.local.emrich-ebersheim.de (95-89-201-80-dynip.superkabel.de [95.89.201.80]) by mrelayeu.kundenserver.de (node=mreu1) with ESMTP (Nemesis) id 0M6RPb-1Tlr0n3S6F-00xq25; Thu, 19 Jul 2012 22:32:39 +0200 Received: from localhost (localhost [127.0.0.1]) by matterhorn.local.emrich-ebersheim.de (Postfix) with ESMTP id 491FD6006F7; Thu, 19 Jul 2012 22:32:38 +0200 (CEST) Received: from matterhorn.local.emrich-ebersheim.de ([127.0.0.1]) by localhost (matterhorn.local.emrich-ebersheim.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id v3SaOBvQCNN1; Thu, 19 Jul 2012 22:32:33 +0200 (CEST) Received: from [192.168.0.13] (kasandra.local.emrich-ebersheim.de [192.168.0.13]) by matterhorn.local.emrich-ebersheim.de (Postfix) with ESMTP id 3321A600737; Thu, 19 Jul 2012 22:32:33 +0200 (CEST) Message-ID: <50086EE1.2090009@emrich-ebersheim.de> Date: Thu, 19 Jul 2012 20:32:00 -0000 From: Rainer Emrich User-Agent: Mozilla/5.0 (Windows NT 5.2; WOW64; rv:10.0.6esrpre) Gecko/20120713 Thunderbird/10.0.6 MIME-Version: 1.0 To: "redi at gcc dot gnu.org" CC: iant@google.com, gcc@gcc.gnu.org Subject: Re: [Bug bootstrap/53912] [4.7/4.8 Regression] bootstrap fails using default c++ mode in stage 2 and 3 for native x86_64-w64-mingw32 References: In-Reply-To: OpenPGP: url=random.sks.keyserver.penguin.de Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit 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: 2012-07/txt/msg00169.txt.bz2 Am 19.07.2012 18:12, schrieb redi at gcc dot gnu.org: > http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912 > > --- Comment #5 from Jonathan Wakely 2012-07-19 16:12:18 UTC --- > Does changing the definition of POINTER_HASH to use intptr_t instead of long > work? > This works for ggc-common.c. Ian Lance Taylor recommended to use uintptr_t instead, but I haven't tested that. The next failure now is: /SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/./prev-gcc/g++ -B/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/./prev-gcc/ -B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.8.0/x86_64-w64-mingw32/bin/ -nostdinc++ -B/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs -B/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs -I/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32 -I/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/include -I/SCRATCH/tmp.xipisatGtI/src/gcc-4.8.0/libstdc++-v3/libsupc++ -L/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs -L/SCRATCH/tmp.xipisatGtI/gcc-4.8.0/gcc-4.8.0/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs -c -g -O2 -D__USE_MINGW_ACCESS -Wno-pedantic-ms-format -gtoggle -DIN_GCC -fno-exceptions -fno-rtti -W -Wall -Wno-narrowing -Wwrite-strings -Wcast-qual -Wmissing-format-attribute -pedantic -Wno-long-long -Wno-variadic-macros -Wno-overlength-strings -DHAVE_CONFIG_H -I. -I. -I../../../src/gcc-4.8.0/gcc -I../../../src/gcc-4.8.0/gcc/. -I../../../src/gcc-4.8.0/gcc/../include -I./../intl -I../../../src/gcc-4.8.0/gcc/../libcpp/include -I/SCRATCH/tmp.xipisatGtI/install/include -I/SCRATCH/tmp.xipisatGtI/install/include -I/SCRATCH/tmp.xipisatGtI/install/include -I../../../src/gcc-4.8.0/gcc/../libdecnumber -I../../../src/gcc-4.8.0/gcc/../libdecnumber/bid -I../libdecnumber -DCLOOG_INT_GMP -I/SCRATCH/tmp.xipisatGtI/install/include -I/SCRATCH/tmp.xipisatGtI/install/include ../../../src/gcc-4.8.0/gcc/pointer-set.c -o pointer-set.o ../../../src/gcc-4.8.0/gcc/pointer-set.c: In function 'size_t hash1(const void*, long unsigned int, long unsigned int)': ../../../src/gcc-4.8.0/gcc/pointer-set.c:67:32: error: cast from 'const void*' to 'long unsigned int' loses precision [-fpermissive] return ((A * (unsigned long) p) >> shift) & (max - 1); ^ make[3]: *** [pointer-set.o] Error 1