From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14284 invoked by alias); 4 Nov 2011 02:03:07 -0000 Received: (qmail 14087 invoked by uid 22791); 4 Nov 2011 02:03:06 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RP_MATCHES_RCVD,SARE_TOWRITE,SPF_HELO_PASS,TW_WX X-Spam-Check-By: sourceware.org Received: from lo.gmane.org (HELO lo.gmane.org) (80.91.229.12) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 04 Nov 2011 02:02:51 +0000 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RM97K-0004pV-2u for gcc-help@gcc.gnu.org; Fri, 04 Nov 2011 03:02:50 +0100 Received: from 71-17-69-121.yktn.hsdb.sasknet.sk.ca ([71.17.69.121]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Nov 2011 03:02:50 +0100 Received: from dirtyepic by 71-17-69-121.yktn.hsdb.sasknet.sk.ca with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 04 Nov 2011 03:02:50 +0100 To: gcc-help@gcc.gnu.org From: Ryan Hill Subject: Re: make install fails due to "-Wno-overlength-strings" Date: Fri, 04 Nov 2011 02:03:00 -0000 Message-ID: <20111103201239.6f771401@gentoo.org> References: Mime-Version: 1.0 Content-Type: multipart/signed; micalg=PGP-SHA1; boundary="Sig_/NMpPHbrUL3X9LGKmWTeAjWp"; protocol="application/pgp-signature" X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2011-11/txt/msg00034.txt.bz2 --Sig_/NMpPHbrUL3X9LGKmWTeAjWp Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-length: 2219 On Thu, 3 Nov 2011 10:34:23 -0500 Todd Sayers wrote: >=20 > I'm attempting to install gcc 4.3.6 on RHEL 5.5 x86_64 using the installe= d (default, from Redhat) gcc version 4.1.2.=A0 Everything [except the `make= install`] appears to work well.=A0 Only the `make install` of gcc 4.3.6 fa= ils.=A0 It dies with this error: >=20 > cc1: error: unrecognized command line option "-Wno-overlength-strings" >=20 > gmp,mpfr, and mpc all compiled without error, passed `make check`, and we= re installed via `make install.`=A0 There were no issues.=A0 GCC 4.3.6 comp= iles without error (make) and passes almost 96,000 tests before `make check= ` dies (after >2hrs using -j4).=A0 GCC 4.3.6 was configured=20 > with: >=20 > ../gcc-4.3.6/configure --prefix=3D/foo/HPC_apps/AMD --with-gmp-lib=3D/foo= /HPC_apps/AMD/lib --with-gmp-include=3D/foo/HPC_apps/AMD/include --with-mpf= r-include=3D/foo/HPC_apps/AMD/include --with-mpfr-lib=3D/foo/HPC_apps/AMD/l= ib >=20 > Please note that (per the instructions) I am NOT building in the source d= irectory.=A0 I Googled until I reached the end of the Internet... and, well= , after that I decided to write this e-mail.=A0 What gives?=A0 Is there an = environment variable that can be set to force gcc to not attempt to use thi= s option (in the configure logs, it discovers that "-Wno-overlength-strings= " is not an available option.=A0 WTF? We've run into this several times with 4.3. Never did find a solution and ended up going away with 4.4. https://bugs.gentoo.org/241604 Comment 13 (which i sadly just noticed now):=20 Since this is the "make install" stage, there shouldn't be any recompilation necessary, but in my log file, it shows that "Must remake target `cc1-checksum.o'", which caused the compile error mentioned in the opening.= The interesting bit is that inside the work/build/gcc dir there is a "cc1-checksum.c" file, but no .o nor executable was created for it (but cc1plus-checksum.o does exist). -- fonts, gcc-porting, it makes no sense how it makes no sense toolchain, wxwidgets but i'll take it free anytime @ gentoo.org EFFD 380E 047A 4B51 D2BD C64F 8AA8 8346 F9A4 06= 62 --Sig_/NMpPHbrUL3X9LGKmWTeAjWp Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc Content-length: 198 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) iEYEARECAAYFAk6zShcACgkQiqiDRvmkBmLbBgCffISjIh4+Hm3LPL1C2yjy56Zn szAAoKoEHiVXquMQK3f4aDBHufdyph6f =dcOr -----END PGP SIGNATURE----- --Sig_/NMpPHbrUL3X9LGKmWTeAjWp--