public inbox for crossgcc@sourceware.org
 help / color / mirror / Atom feed
* Re: Bug: compile i686-nptl-linux-gnu with crosstool-ng-1.5.2
       [not found] <b080de6d0912171930l29f3d1e4ya9753683df493c0b@mail.gmail.com>
@ 2009-12-18 16:57 ` Yann E. MORIN
  2009-12-19  5:55   ` Nicolas Alvarez
  0 siblings, 1 reply; 2+ messages in thread
From: Yann E. MORIN @ 2009-12-18 16:57 UTC (permalink / raw)
  To: He Gang; +Cc: crossgcc

Hello He!
All,

On Friday 18 December 2009 04:30:16 He Gang wrote:
> I am very glad to see you make crosstool continued, I am encountering
> a bug with the lastest build (crosstool-ng-1.5.2) to compile
> i686-nptl-linux-gnu on Ubuntu 9.10 or Fedora 12,
> The attached is the configuration file .config and buildlog, in fact,
> I just copied the default configuration file from samples.

The process to use an existing configuration is not to copy files, but to
tell crosstool-NG to use an existing sample:

  ct-ng i686-nptl-linux-gnu

> Could you take a look, see if there is a fix?

(Excerpt from your build.log:)
[ERROR]    i686-nptl-linux-gnu-gcc: Internal error: Segmentation fault
(program as)
[ALL  ]    Please submit a full bug report.
[ALL  ]    See <http://gcc.gnu.org/bugs.html> for instructions.


As you can see by yourself, it's not crosstool-NG that fails, but 'as' that
is segfaulting.

It is difficult to remotely solve a segfault. There can be various causes
for a segfault. To try to debug this, ask yourself the following questions:

1) Does it happen again if you re-run the build?
   - no: see (A), below
   - yes: go to question 2

2) Does it happen systematically at the same point?
  - no: see (A) below
  - yes: go to question 3

3) Does it happen if you select other components for the toolchain?
   - no, see (B), below
   - yes, go to question 4

4) Does running other CPU/memory intensive applications (eg. video encoding
   or other big compilation...) also segfault?
   - no: see (A), below
   - yes: see (B), below


(A) There is a non-reproducible glitch somewhere, most probably due to
    any or many of:
    - CPU/memory over-heating
    - CPU/memory over-clocking
    - one or more bad memory module(s)
    This is known as the infamous "SIG11 problem", with explanations and
    solutions described there: http://www.bitwizard.nl/sig11/

(B) Indeed, there is a problem when building this very source code.
    In this case, try re-running the same compilation command manually
    with debug turned on ( eg.: -v --verbose -Wa,-a=as-debug.log ) and
    see what it says.

Sorry I can't help you more. Next time, please post to the crossgcc mailing
list, there are many nice and knowledgeable people hanging on there.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
`------------------------------^-------^------------------^--------------------'



--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Bug: compile i686-nptl-linux-gnu with crosstool-ng-1.5.2
  2009-12-18 16:57 ` Bug: compile i686-nptl-linux-gnu with crosstool-ng-1.5.2 Yann E. MORIN
@ 2009-12-19  5:55   ` Nicolas Alvarez
  0 siblings, 0 replies; 2+ messages in thread
From: Nicolas Alvarez @ 2009-12-19  5:55 UTC (permalink / raw)
  To: crossgcc

Yann E. MORIN wrote:
> 4) Does running other CPU/memory intensive applications (eg. video
> encoding
>    or other big compilation...) also segfault?
>    - no: see (A), below
>    - yes: see (B), below
> 
> (A) There is a non-reproducible glitch somewhere
> 
> (B) Indeed, there is a problem when building this very source code.

It *seems* to me that the answers in question 4 are swapped.

-- 
Nicolas

I read mailing lists through Gmane. Please don't Cc me on replies; it makes 
me get one message on my newsreader and another on email.


--
For unsubscribe information see http://sourceware.org/lists.html#faq

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-12-19  5:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b080de6d0912171930l29f3d1e4ya9753683df493c0b@mail.gmail.com>
2009-12-18 16:57 ` Bug: compile i686-nptl-linux-gnu with crosstool-ng-1.5.2 Yann E. MORIN
2009-12-19  5:55   ` Nicolas Alvarez

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).