Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 14 May 2013 22:54:14 +0200
From:      Xavier <xavierfreebsdquestions@gmail.com>
To:        freebsd-questions <freebsd-questions@freebsd.org>
Subject:   Re: can't compile lang/gcc port
Message-ID:  <CALe6D=t0ghUHnuf8XNOq0zn99jAPFLvQ1gpGbxYDsSB9=XHgPA@mail.gmail.com>
In-Reply-To: <20130514203111.GA27011@slackbox.erewhon.net>
References:  <CALe6D=sZRr9D4p9kw3XO4fJiSY2xjODzO_St4cVPfuy71Se%2BPw@mail.gmail.com> <20130514171417.GB25885@slackbox.erewhon.net> <CALe6D=sLk%2BJFz7waRid7AAOx2Qei3t0n2eASW9Q3bEugVqVPVw@mail.gmail.com> <20130514203111.GA27011@slackbox.erewhon.net>

next in thread | previous in thread | raw e-mail | index | archive | help
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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CALe6D=t0ghUHnuf8XNOq0zn99jAPFLvQ1gpGbxYDsSB9=XHgPA>