This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Bootstrap fails on i386-pc-solaris2.10


Hi.

This mornings bootstrap failed on my Solaris machine due to the recent
introduction of the various C++ compatibility warnings. Here's the
snippet from the build log where things failed:

/export/home/arth/gnu/gcc-0630/./prev-gcc/xgcc
-B/export/home/arth/gnu/gcc-0630/./prev-gcc/
-B/usr/local/i386-pc-solaris2.10/bin/ -c  -O2 -march=pentium4 -DIN_GCC  
-W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
-Wcast-qual -Wc++-compat -Wold-style-definition
-Wmissing-format-attribute -pedantic -Wno-long-long
-Wno-variadic-macros                                     
-Wno-overlength-strings -Werror   -DHAVE_CONFIG_H -I. -I.
-I/export/home/arth/gnu/gcc.git/gcc
-I/export/home/arth/gnu/gcc.git/gcc/.
-I/export/home/arth/gnu/gcc.git/gcc/../include
-I/export/home/arth/gnu/gcc.git/gcc/../libcpp/include
-I/usr/local/include -I/usr/local/include
-I/export/home/arth/gnu/gcc.git/gcc/../libdecnumber
-I/export/home/arth/gnu/gcc.git/gcc/../libdecnumber/dpd
-I../libdecnumber  /export/home/arth/gnu/gcc.git/gcc/ggc-common.c -o
ggc-common.o
cc1: warnings being treated as errors
/export/home/arth/gnu/gcc.git/gcc/ggc-common.c: In function
'mmap_gt_pch_get_address':
/export/home/arth/gnu/gcc.git/gcc/ggc-common.c:641: error: request for
implicit
conversion from 'void *' to 'caddr_t' not permitted in C++
/export/home/arth/gnu/gcc.git/gcc/ggc-common.c: In function
'mmap_gt_pch_use_address':
/export/home/arth/gnu/gcc.git/gcc/ggc-common.c:666: error: request for
implicit
conversion from 'void *' to 'caddr_t' not permitted in C++
make[3]: *** [ggc-common.o] Error 1

The build also failed on my sparc-sun-solaris2.10 system.

The mmap()/munmap() calls in these functions are the cause of the
problem.

Art Haas


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]