http://gcc.gnu.org/bugzilla/show_bug.cgi?id=56703 Yves Caniou changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |yves.caniou@ens-lyon.fr --- Comment #4 from Yves Caniou --- I have the same issue with gcc-4.8.2 compiling gcc-4.8.2, on a Intel(R) Xeon(R) CPU E5-2630 0 @ 2.30GHz. First, compiling 4.8.2 from 4.7.2 (debian): no problem. I use gmp-5.1.3, mpfr-3.1.2, mpc-1.0.1. There are not intree. Once compiled, their respective prefix/lib are added to LD_LIBRARY_PATH. Gcc source is copied local disk, so no NFS or such. I call: /tmp/YC/gcc/src-4.8.2/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/ycaniou/bin/amd64/4.7.2/gcc --disable-altivec --disable-fixed-point --without-cloog --without-ppl --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-gmp=/home/ycaniou/bin/amd64/4.7.2/gmp --with-mpfr=/home/ycaniou/bin/amd64/4.7.2/mpfr --with-mpc=/home/ycaniou/bin/amd64/4.7.2/mpc Everything executes well after a "make -j 8", and "make install" does its job. Compiling 4.8.2 with the new installed 4.8.2: . First, environment variables are updated: library path with 4.7.2_gcc-4.8.2_prefix/lib64 CPLUS include path with 4.7.2_gcc-4.8.2_prefix/include (I also tried with in addition include/c++/4.8.2, with same errors...) binary path with 4.7.2_gcc-4.8.2_prefix/bin . gmp-5.1.3, mpfr-3.1.2, mpc-1.0.1, not intree, are compiled with the 4.7.2_gcc-4.8.2 without any problem. And same steps are made: their respective 4.8.2_prefix/lib are added to LD_LIBRARY_PATH. GCC source on local disk. I call: /tmp/YC/gcc/src-4.8.2/configure --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/home/ycaniou/bin/amd64/4.8.2/gcc --disable-altivec --disable-fixed-point --without-cloog --without-ppl --disable-lto --enable-nls --without-included-gettext --with-system-zlib --enable-obsolete --disable-werror --enable-secureplt --disable-multilib --enable-libmudflap --disable-libssp --enable-libgomp --enable-checking=release --disable-libgcj --enable-libstdcxx-time --enable-languages=c,c++,fortran --enable-shared --enable-threads=posix --enable-__cxa_atexit --enable-clocale=gnu --enable-targets=all --with-gmp=/home/ycaniou/bin/amd64/4.8.2/gmp --with-mpfr=/home/ycaniou/bin/amd64/4.8.2/mpfr --with-mpc=/home/ycaniou/bin/amd64/4.8.2/mpc And got the errors: x86_64-linux-gnu-g++ -c -DGENERATOR_FILE -g -DIN_GCC -fno-exceptions -fno-rtti -fasynchronous-unwind-tables -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/tmp/YC/gcc/src-4.8.2/gcc -I/tmp/YC/gcc/src-4.8.2/gcc/. -I/tmp/YC/gcc/src-4.8.2/gcc/../include -I/tmp/YC/gcc/src-4.8.2/gcc/../libcpp/include -I/home/ycaniou/bin/amd64/4.8.2/gmp/include -I/home/ycaniou/bin/amd64/4.8.2/mpfr/include -I/home/ycaniou/bin/amd64/4.8.2/mpc/include -I/tmp/YC/gcc/src-4.8.2/gcc/../libdecnumber -I/tmp/YC/gcc/src-4.8.2/gcc/../libdecnumber/bid -I../libdecnumber -I/tmp/YC/gcc/src-4.8.2/gcc/../libbacktrace /tmp/YC/gcc/src-4.8.2/gcc/gengtype.c -o gengtype.o In file included from /tmp/YC/gcc/src-4.8.2/gcc/gcc-ar.c:22:0: /tmp/YC/gcc/src-4.8.2/gcc/system.h:500:34: error: declaration of C function ‘const char* strsignal(int)’ conflicts with extern const char *strsignal (int); ^ In file included from /home/ycaniou/bin/amd64/4.7.2/gcc-4.8.2_install/include/c++/4.8.2/cstring:42:0, from /tmp/YC/gcc/src-4.8.2/gcc/system.h:205, from /tmp/YC/gcc/src-4.8.2/gcc/gcc-ar.c:22: /usr/include/string.h:566:14: error: previous declaration ‘char* strsignal(int)’ here extern char *strsignal (int __sig) __THROW; ^ In file included from /tmp/YC/gcc/src-4.8.2/gcc/system.h:645:0, from /tmp/YC/gcc/src-4.8.2/gcc/gcc-ar.c:22: /tmp/YC/gcc/src-4.8.2/gcc/../include/libiberty.h:110:36: error: new declaration ‘char* basename(const char*)’ extern char *basename (const char *); ^ In file included from /home/ycaniou/bin/amd64/4.7.2/gcc-4.8.2_install/include/c++/4.8.2/cstring:42:0, from /tmp/YC/gcc/src-4.8.2/gcc/system.h:205, from /tmp/YC/gcc/src-4.8.2/gcc/gcc-ar.c:22: /usr/include/string.h:603:28: error: ambiguates old declaration ‘const char* basename(const char*)’ extern "C++" __const char *basename (__const char *__filename) >From gcc-bugs-return-434696-listarch-gcc-bugs=gcc.gnu.org@gcc.gnu.org Fri Nov 15 14:04:22 2013 Return-Path: Delivered-To: listarch-gcc-bugs@gcc.gnu.org Received: (qmail 26911 invoked by alias); 15 Nov 2013 14:04:22 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Delivered-To: mailing list gcc-bugs@gcc.gnu.org Received: (qmail 26884 invoked by uid 48); 15 Nov 2013 14:04:19 -0000 From: "rglindley at gmail dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/59147] 128-bit division error Date: Fri, 15 Nov 2013 14:04:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 4.6.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: rglindley at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2013-11/txt/msg01473.txt.bz2 Content-length: 299 http://gcc.gnu.org/bugzilla/show_bug.cgi?idY147 --- Comment #1 from rglindley at gmail dot com --- Created attachment 31227 --> http://gcc.gnu.org/bugzilla/attachment.cgi?id1227&actioníit compiler information Output from following: gfortran -v -save-temps -Wall -Wextra division_test.f90