public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Pandu Poluan <pandu@poluan.info>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5
Date: Tue, 5 Apr 2011 14:03:15 +0700	[thread overview]
Message-ID: <BANLkTimU_7B=F9EouBRDOcZUQSo4O8mG5Q@mail.gmail.com> (raw)
In-Reply-To: <4D99BAD8.6030809@kutulu.org>

On Mon, Apr 4, 2011 at 19:34, Mike Edenfield <kutulu@kutulu.org> wrote:
> On 4/4/2011 8:07 AM, Pandu Poluan wrote:
>
>> MAKEOPTS="-j3"
>
>> {standard input}: Assembler messages:
>> {standard input}:146362: Error: open CFI at the end of file; missing
>> .cfi_endproc directive
>> xgcc: Internal error: Killed (program cc1)
>
> This kind of error is often caused by the parallel make not quite working.
> Try running the build like:
>
> MAKEOPTS="-j1" emerge =sys-devel/gcc-4.4.5
>
> In general, whenever you get strange build errors (i.e. that have no
> immediately obvious cause) you should try again with MAKEOPTS="-j1". Often
> it will fix the problem, but even when it doesn't you will usually get a
> much more useful error.

Thanks for the tip. Now it's 'partially successful':

 * QA Notice: Package has poor programming practices which may compile
 *            fine but exhibit random runtime failures.
 * /var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:321:
warning: dereferencing type-punned pointer will break strict-aliasing
rules

[-- snipped: a whole lotta warning for unwind-dw2-fde.c --]

 * /var/tmp/portage/sys-devel/gcc-4.4.5/work/gcc-4.4.5/libgcc/../gcc/unwind-dw2-fde.c:843:
warning: dereferencing type-punned pointer will break strict-aliasing
rules

 * Please do not file a Gentoo bug and instead report the above QA
 * issues directly to the upstream developers of this software.
 * Homepage: http://gcc.gnu.org/

>>> Installing (1 of 1) sys-devel/gcc-4.4.5
 * gcc-config: Could not locate 'x86_64-pc-linux-gnu-4.4.4' in
'/etc/env.d/gcc/' !
 * Running 'fix_libtool_files.sh 4.4.4'
 * Scanning libtool files for hardcoded gcc library paths...
cat: ld.so.conf.d/*.conf: No such file or directory
gcc-config: error: could not run/locate 'gcc'
:0: assertion failed: (gcc -dumpversion) | getline NEWVER)
 * Switching native-compiler to x86_64-pc-linux-gnu-4.4.5 ...

 * Your gcc has a bug with GCC_SPECS.
 * Please re-emerge gcc.
 * http://bugs.gentoo.org/68395

>>> Regenerating /etc/ld.so.cache...                                                                                                                   [ ok ]

 * If you intend to use the gcc from the new profile in an already
 * running shell, please remember to do:

 *   # source /etc/profile


 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.

 * You might want to review the GCC upgrade guide when moving between
 * major versions (like 4.2 to 4.3):
 * http://www.gentoo.org/doc/en/gcc-upgrading.xml


 * Messages for package sys-devel/gcc-4.4.5:

 * If you have issues with packages unable to locate libstdc++.la,
 * then try running 'fix_libtool_files.sh' on the old gcc versions.
 * You might want to review the GCC upgrade guide when moving between
 * major versions (like 4.2 to 4.3):
 * http://www.gentoo.org/doc/en/gcc-upgrading.xml
>>> Auto-cleaning packages...

>>> No outdated packages were found on your system.

 * GNU info directory index is up-to-date.
 * After world updates, it is important to remove obsolete packages with
 * emerge --depclean. Refer to `man emerge` for more information.

As instructed, I'll now re-emerge gcc.

Rgds,
--
Pandu E Poluan
~ IT Optimizer ~
Visit my Blog: http://pepoluan.posterous.com



  reply	other threads:[~2011-04-05  8:04 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-04  8:56 [gentoo-user] Failed to emerge sys-devel/gcc-4.4.5 Pandu Poluan
2011-04-04 11:41 ` Alan McKinnon
2011-04-04 12:07   ` Pandu Poluan
2011-04-04 12:34     ` Mike Edenfield
2011-04-05  7:03       ` Pandu Poluan [this message]
2011-04-05 13:02         ` [SOLVED] " Pandu Poluan
2011-04-05 14:42         ` Mike Edenfield
2011-04-06  5:55           ` Pandu Poluan
2011-04-06 15:15             ` Gregory Fontenele

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='BANLkTimU_7B=F9EouBRDOcZUQSo4O8mG5Q@mail.gmail.com' \
    --to=pandu@poluan.info \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox