From owner-freebsd-questions@FreeBSD.ORG Tue May 14 20:31:14 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 25DB7C1F for ; Tue, 14 May 2013 20:31:14 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr13.xs4all.nl (smtp-vbr13.xs4all.nl [194.109.24.33]) by mx1.freebsd.org (Postfix) with ESMTP id 9D85EA34 for ; Tue, 14 May 2013 20:31:13 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr13.xs4all.nl (8.13.8/8.13.8) with ESMTP id r4EKVCsC008797; Tue, 14 May 2013 22:31:12 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id D2CCE1239C; Tue, 14 May 2013 22:31:11 +0200 (CEST) Date: Tue, 14 May 2013 22:31:11 +0200 From: Roland Smith To: Xavier Subject: Re: can't compile lang/gcc port Message-ID: <20130514203111.GA27011@slackbox.erewhon.net> References: <20130514171417.GB25885@slackbox.erewhon.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline In-Reply-To: X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 May 2013 20:31:14 -0000 --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 14, 2013 at 09:07:59PM +0200, Xavier wrote: > > > > There is probably a compiler error somewhere before the lines that you = posted. > > Can you show a little bit more? > > >=20 > I don't show more lines because the log is very long for paste here. >=20 > I can send directly to your private email the 1.6 MB of log file ? For > your review. Don't send me the whole log file! Using e.g. grep(1) or the old-fasfioned eyeball look for the _first_ line in the log file that contains the word "error". Post that line and some lines before and after it here on the mail= ing list. At a minimum, these lines should show; - what was the command that failed (compiler, linker, ...) - what was the _exact_ error message? - which file was it processing when the error occurred? For an example look below: clang -O2 -pipe -pipe -fmerge-constants --fast-math -DDEBUG -pipe -fme= rge-constants --fast-math -DVERSION=3D\"3.0.0beta2\" -DPACKAGE=3D\"stl2pov\= " -c ftobuf.c clang: error: unsupported option '--fast-math' *** [ftobuf.o] Error code 1 Stop in /home/rsmith/src/progs/attic/stl2pov3. The line containing the word "error" tells you what went wrong. In this case the clang compiler got an option it doesn't recognize. The line _before_ sh= ows the actual command that was run. The line _after_, starting with '***' is a notification from the 'make' program that building the file ftobuf.o failed. But this line is _useless_ without the lines before it. Roland --=20 R.F.Smith http://rsmith.home.xs4all.nl/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --17pEHd4RhPHOinZp Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAlGSnw8ACgkQEnfvsMMhpyUEsQCcDcwG/VHymXSQuQYlMVwgRH3j eeAAn3Dhm79hkziV6da0DVtpvmuxEvdB =PEJh -----END PGP SIGNATURE----- --17pEHd4RhPHOinZp--