From owner-freebsd-questions@FreeBSD.ORG Tue May 14 20:50:37 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 9079C22B for ; Tue, 14 May 2013 20:50:37 +0000 (UTC) (envelope-from xavierfreebsdquestions@gmail.com) Received: from mail-qc0-x22a.google.com (mail-qc0-x22a.google.com [IPv6:2607:f8b0:400d:c01::22a]) by mx1.freebsd.org (Postfix) with ESMTP id 58C11B46 for ; Tue, 14 May 2013 20:50:37 +0000 (UTC) Received: by mail-qc0-f170.google.com with SMTP id s11so37592qcw.29 for ; Tue, 14 May 2013 13:50:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:x-received:in-reply-to:references:date:message-id :subject:from:to:content-type; bh=+KJvy6GnwG7VgnDyoLxjIE/tNTfbER1steQ2L6d9B4U=; b=MSWetKg8w8r91yoCvzUtG+d2t/jZVj/3sednNfx6thPqoFQy2IU11TFffgYSb2xPMM DoBwL69FPxKy21lUkyYPRr7IX4BqXKt/GXxLPLuApFDgt92HrozTEoKnmBf8f4mwFXDh xOPfajQrll32Wk9vfIggA2ONbvRzvKyggswW1rlrgBcxu5nmMcRZOaW7R4BOGYqJNKHQ t7PHo7p/Y4PCGXRH4BBUS6WznMaTgHcF4otsPjRXnuelQhhs/3+YjMUpBZdigfYWkuVh MgOPQz+mf0lKTQk6gzyIX5K9ppXZZiUm2ZIoLjyQhHNdIuEXJUf8kwjCOixdKRxpfe8A aSwg== MIME-Version: 1.0 X-Received: by 10.224.198.194 with SMTP id ep2mr25067554qab.51.1368564636901; Tue, 14 May 2013 13:50:36 -0700 (PDT) Received: by 10.49.2.100 with HTTP; Tue, 14 May 2013 13:50:36 -0700 (PDT) In-Reply-To: <20130514203111.GA27011@slackbox.erewhon.net> References: <20130514171417.GB25885@slackbox.erewhon.net> <20130514203111.GA27011@slackbox.erewhon.net> Date: Tue, 14 May 2013 22:50:36 +0200 Message-ID: Subject: Re: can't compile lang/gcc port From: Xavier To: freebsd-questions Content-Type: text/plain; charset=ISO-8859-1 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:50:37 -0000 On Tue, May 14, 2013 at 10:31:11PM +0200, Roland Smith wrote: Hi Roland, > 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? > > > > > > > I don't show more lines because the log is very long for paste here. > > > > 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 OK. > 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 mailing > 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 -fmerge-constants --fast-math -DVERSION=\"3.0.0beta2\" -DPACKAGE=\"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_ shows > 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. > Here an overview of log error: http://pastebin.com/X0C1gtaG ( I cut in middle log for limit of 500 KB in pastebin.com web site ). Thanks, see you.