public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug bootstrap/53912] New: bootstrap fails at stage 2 with error: cast from 'void*' to 'long int' loses precision in ggc-common.c
@ 2012-07-10  8:00 rainer@emrich-ebersheim.de
  2012-07-10  9:09 ` [Bug bootstrap/53912] [4.7 Regression] " rguenth at gcc dot gnu.org
                   ` (37 more replies)
  0 siblings, 38 replies; 39+ messages in thread
From: rainer@emrich-ebersheim.de @ 2012-07-10  8:00 UTC (permalink / raw)
  To: gcc-bugs

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53912

             Bug #: 53912
           Summary: bootstrap fails at stage 2 with error: cast from
                    'void*' to 'long int' loses precision in ggc-common.c
    Classification: Unclassified
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: bootstrap
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: rainer@emrich-ebersheim.de


bootstrap native x86_64-w64-mingw32 fails at stage 2:

/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/./prev-gcc/g++
-B/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/./prev-gcc/
-B/opt/devel/gnu/gcc/MINGW_NT/x86_64-w64-mingw32/mingw-w64-runtime-trunk-svn/gcc-4.7.2/x86_64-w64-mingw32/bin/
-nostdinc++
-B/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs
-B/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/libsupc++/.libs
-I/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/include/x86_64-w64-mingw32
-I/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/include
-I/SCRATCH/tmp.pBPKMqodMC/src/gcc-4.7.2/libstdc++-v3/libsupc++
-L/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/prev-x86_64-w64-mingw32/libstdc++-v3/src/.libs
-L/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/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.7.2/gcc
-I../../../src/gcc-4.7.2/gcc/. -I../../../src/gcc-4.7.2/gcc/../include
-I./../intl -I../../../src/gcc-4.7.2/gcc/../libcpp/include
-I/SCRATCH/tmp.pBPKMqodMC/install/include
-I/SCRATCH/tmp.pBPKMqodMC/install/include
-I/SCRATCH/tmp.pBPKMqodMC/install/include 
-I../../../src/gcc-4.7.2/gcc/../libdecnumber
-I../../../src/gcc-4.7.2/gcc/../libdecnumber/bid -I../libdecnumber
-I/SCRATCH/tmp.pBPKMqodMC/install/include 
-I/SCRATCH/tmp.pBPKMqodMC/install/include 
../../../src/gcc-4.7.2/gcc/ggc-common.c -o ggc-common.o
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'int
gt_pch_note_object(void*, void*, gt_note_pointers, gt_types_enum)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:326:49: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'void
gt_pch_note_reorder(void*, void*, gt_handle_reorder)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:359:44: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'hashval_t
saving_htab_hash(const void*)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:370:10: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'void relocate_ptrs(void*,
void*)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:443:45: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
../../../src/gcc-4.7.2/gcc/ggc-common.c: In function 'void
write_pch_globals(const ggc_root_tab* const*, traversal_state*)':
../../../src/gcc-4.7.2/gcc/ggc-common.c:472:42: error: cast from 'void*' to
'long int' loses precision [-fpermissive]
make[3]: *** [ggc-common.o] Error 1
make[3]: Leaving directory `/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2/gcc'
make[2]: *** [all-stage2-gcc] Error 2
make[2]: Leaving directory `/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2'
make[1]: *** [stage2-bubble] Error 2
make[1]: Leaving directory `/SCRATCH/tmp.pBPKMqodMC/gcc-4.7.2/gcc-4.7.2'
make: *** [all] Error 2



If configured with --disable-build-poststage1-with-cxx bootstrap succeeds.


^ permalink raw reply	[flat|nested] 39+ messages in thread

end of thread, other threads:[~2012-12-20 19:23 UTC | newest]

Thread overview: 39+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-07-10  8:00 [Bug bootstrap/53912] New: bootstrap fails at stage 2 with error: cast from 'void*' to 'long int' loses precision in ggc-common.c rainer@emrich-ebersheim.de
2012-07-10  9:09 ` [Bug bootstrap/53912] [4.7 Regression] " rguenth at gcc dot gnu.org
2012-07-11 14:07 ` rainer@emrich-ebersheim.de
2012-07-16 17:10 ` [Bug bootstrap/53912] [4.7/4.8 " rainer@emrich-ebersheim.de
2012-07-16 17:17 ` rainer@emrich-ebersheim.de
2012-07-19 15:41 ` [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 rainer@emrich-ebersheim.de
2012-07-19 16:12 ` redi at gcc dot gnu.org
2012-07-19 20:33 ` rainer@emrich-ebersheim.de
2012-07-19 20:52 ` iant at google dot com
2012-07-19 22:31 ` rainer@emrich-ebersheim.de
2012-07-19 22:41 ` rainer@emrich-ebersheim.de
2012-07-19 23:17 ` rainer@emrich-ebersheim.de
2012-07-19 23:51 ` redi at gcc dot gnu.org
2012-07-20 15:30 ` rainer@emrich-ebersheim.de
2012-07-20 15:44 ` ubizjak at gmail dot com
2012-07-20 15:53 ` ubizjak at gmail dot com
2012-07-20 15:54 ` jakub at gcc dot gnu.org
2012-07-20 15:57 ` ubizjak at gmail dot com
2012-07-20 16:18 ` rainer@emrich-ebersheim.de
2012-08-18 13:13 ` vanboxem.ruben at gmail dot com
2012-09-07  9:43 ` rguenth at gcc dot gnu.org
2012-09-10 20:04 ` i.nixman at gmail dot com
2012-09-20 10:16 ` jakub at gcc dot gnu.org
2012-11-29 15:26 ` ktietz at gcc dot gnu.org
2012-11-29 15:28 ` ktietz at gcc dot gnu.org
2012-11-29 15:29 ` ktietz at gcc dot gnu.org
2012-11-29 18:41 ` ktietz at gcc dot gnu.org
2012-11-29 18:44 ` ktietz at gcc dot gnu.org
2012-12-03  6:56 ` ktietz at gcc dot gnu.org
2012-12-03  6:57 ` ktietz at gcc dot gnu.org
2012-12-03  7:02 ` ktietz at gcc dot gnu.org
2012-12-03  7:02 ` ktietz at gcc dot gnu.org
2012-12-03  7:05 ` ktietz at gcc dot gnu.org
2012-12-03  7:05 ` ktietz at gcc dot gnu.org
2012-12-10  9:53 ` ktietz at gcc dot gnu.org
2012-12-10  9:54 ` ktietz at gcc dot gnu.org
2012-12-10  9:57 ` ktietz at gcc dot gnu.org
2012-12-10 10:01 ` ktietz at gcc dot gnu.org
2012-12-20 19:23 ` ktietz at gcc dot gnu.org

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).