FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 04-16-2012, 05:34 PM
Doug Hunley
 
Default dev-libs/ppl-0.12 breaks gcc?

On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@gmail.com> wrote:
> Are you using ccache?

nope. no ccache, no distcc

--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd * * * * * * * * * * * * * * * * * * * * * * * Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
 
Old 04-16-2012, 05:39 PM
Michael Mol
 
Default dev-libs/ppl-0.12 breaks gcc?

On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
> On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@gmail.com> wrote:
>> Are you using ccache?
>
> nope. no ccache, no distcc

What are you using for CFLAGS?

--
:wq
 
Old 04-16-2012, 05:53 PM
Doug Hunley
 
Default dev-libs/ppl-0.12 breaks gcc?

On Mon, Apr 16, 2012 at 13:39, Michael Mol <mikemol@gmail.com> wrote:
> On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
>> On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@gmail.com> wrote:
>>> Are you using ccache?
>>
>> nope. no ccache, no distcc
>
> What are you using for CFLAGS?

~ $ more /etc/make.conf
# ---[Compiler Settings]---
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=native -mtune=native -mpopcnt -msahf
-fomit-frame-pointer -fforce-addr -floop-interchange -floop-strip-mine
-floop-block -ftree-loop-distribution -ftree-loop-linear"
CXXFLAGS="${CFLAGS} -Wabi"
LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu,-O1 -Wl,--as-needed
-Wl,--sort-common -Wl,--enable-new-dtags"
MAKEOPTS="-j8 -l6 --quiet"

--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd * * * * * * * * * * * * * * * * * * * * * * * Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
 
Old 04-16-2012, 06:16 PM
Michael Mol
 
Default dev-libs/ppl-0.12 breaks gcc?

On Mon, Apr 16, 2012 at 1:53 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
> On Mon, Apr 16, 2012 at 13:39, Michael Mol <mikemol@gmail.com> wrote:
>> On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley <doug.hunley@gmail.com> wrote:
>>> On Mon, Apr 16, 2012 at 13:20, Michael Mol <mikemol@gmail.com> wrote:
>>>> Are you using ccache?
>>>
>>> nope. no ccache, no distcc
>>
>> What are you using for CFLAGS?
>
> ~ $ more /etc/make.conf
> # ---[Compiler Settings]---
> CHOST="x86_64-pc-linux-gnu"
> CFLAGS="-O2 -pipe -march=native -mtune=native -mpopcnt -msahf
> -fomit-frame-pointer -fforce-addr -floop-interchange -floop-strip-mine
> -floop-block -ftree-loop-distribution -ftree-loop-linear"

-O2, -pipe, -march and -mtune look fine (though -mtune is implied by
-march), as does -mpopcnt and -msahf. -fomit-frame-pointer is implied
by -O2.

I don't know about the others.

> CXXFLAGS="${CFLAGS} -Wabi"
> LDFLAGS="${LDFLAGS} -Wl,--hash-style=gnu,-O1 -Wl,--as-needed
> -Wl,--sort-common -Wl,--enable-new-dtags"

Given you're updating a shared library, I'd wonder about some of these.


I'd also wonder if a depclean and revdep-rebuild prior to upgrading
ppi might reveal something.


> MAKEOPTS="-j8 -l6 --quiet"

Aside. Try:
MAKEOPTS="--jobs --load=6"
(--quiet is default for parallel builds)

Also, try:
EMERGE_DEFAULT_OPTS="--jobs --load-average=6"

--
:wq
 
Old 04-16-2012, 06:47 PM
Alex Schuster
 
Default dev-libs/ppl-0.12 breaks gcc?

Doug Hunley writes:

> I'm currently running ~amd64 and when I ran a world update,
> dev-libs/ppl-0.12 was pulled down, compiled and installed. At that
> point, gcc stops compiling. It doesn't matter what I try to compile,
> whether it's the dev-libs/cloog-ppl rebuild that dev-libs/ppl-0.12.
> says to do, a recompile of gcc, or anything else. They all die with
> with 'internal compiler error'. I end up having to 'emerge -k gcc' and
> then masking dev-libs/ppl-0.12 to get back to a working compiler
> chain.

Strange, isn't it. How can those bugs make it into the tree? It's ~arch,
but this should not mean that it hasn't been tested at all.

> Am I the only one facing this?

Nope.

> How did you guys get through the mud here?

Looking for ppl on bugs.gentoo org, finding bug #412117[*], rebuilding
ppl and cloog-ppl without -floop* CFLAGS, then again with floop* CFLAGS.

Wonko
[*] https://bugs.gentoo.org/show_bug.cgi?id=412117
 
Old 04-16-2012, 06:54 PM
walt
 
Default dev-libs/ppl-0.12 breaks gcc?

On 04/16/2012 10:14 AM, Doug Hunley wrote:
> I'm currently running ~amd64 and when I ran a world update,
> dev-libs/ppl-0.12 was pulled down, compiled and installed. At that
> point, gcc stops compiling. It doesn't matter what I try to compile,
> whether it's the dev-libs/cloog-ppl rebuild that dev-libs/ppl-0.12.
> says to do, a recompile of gcc, or anything else. They all die with
> with 'internal compiler error'. I end up having to 'emerge -k gcc' and
> then masking dev-libs/ppl-0.12 to get back to a working compiler
> chain.

I can't explain why the "internal compiler error" but I'd guess it's
probably something in your CFLAGS, as the other replies suggested.

But be aware that once you finally get ppl upgraded you'll need to
rebuild cloog-ppl *without* the -floop-* flags because gcc will not
build anything *with* those flags because the old cloog-ppl will
now be broken. Until you rebuild it, of course.
 
Old 04-16-2012, 08:00 PM
Doug Hunley
 
Default dev-libs/ppl-0.12 breaks gcc?

On Mon, Apr 16, 2012 at 14:47, Alex Schuster <wonko@wonkology.org> wrote:
> Looking for ppl on bugs.gentoo org, finding bug #412117[*], rebuilding
> ppl and cloog-ppl without -floop* CFLAGS, then again with floop* CFLAGS.

damn, I searched, didn't see this. thanks

--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd * * * * * * * * * * * * * * * * * * * * * * * Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
 
Old 04-16-2012, 08:20 PM
Doug Hunley
 
Default dev-libs/ppl-0.12 breaks gcc?

On Mon, Apr 16, 2012 at 16:00, Doug Hunley <doug.hunley@gmail.com> wrote:
> On Mon, Apr 16, 2012 at 14:47, Alex Schuster <wonko@wonkology.org> wrote:
>> Looking for ppl on bugs.gentoo org, finding bug #412117[*], rebuilding
>> ppl and cloog-ppl without -floop* CFLAGS, then again with floop* CFLAGS.
>
> damn, I searched, didn't see this. thanks

didn't see it cause I looked on Sat, it was filed yesterday

fixed now. thanks mucho!

--
Douglas J Hunley (doug.hunley@gmail.com)
Twitter: @hunleyd * * * * * * * * * * * * * * * * * * * * * * * Web:
douglasjhunley.com
G+: http://goo.gl/sajR3
 
Old 04-17-2012, 12:39 AM
Pandu Poluan
 
Default dev-libs/ppl-0.12 breaks gcc?

On Apr 17, 2012 3:23 AM, "Doug Hunley" <doug.hunley@gmail.com> wrote:

>

> On Mon, Apr 16, 2012 at 16:00, Doug Hunley <doug.hunley@gmail.com> wrote:

> > On Mon, Apr 16, 2012 at 14:47, Alex Schuster <wonko@wonkology.org> wrote:

> >> Looking for ppl on bugs.gentoo org, finding bug #412117[*], rebuilding

> >> ppl and cloog-ppl without -floop* CFLAGS, then again with floop* CFLAGS.

> >

> > damn, I searched, didn't see this. thanks

>

> didn't see it cause I looked on Sat, it was filed yesterday

>

> fixed now. thanks mucho!

>


I see you're using gcc's graphite...


Welcome to the club! :-D


Oh, and glad you had the problem fixed ;-)


Rgds,
 
Old 04-17-2012, 08:12 AM
Nikos Chantziaras
 
Default dev-libs/ppl-0.12 breaks gcc?

On 16/04/12 20:53, Doug Hunley wrote:

On Mon, Apr 16, 2012 at 13:39, Michael Mol<mikemol@gmail.com> wrote:

On Mon, Apr 16, 2012 at 1:34 PM, Doug Hunley<doug.hunley@gmail.com> wrote:

On Mon, Apr 16, 2012 at 13:20, Michael Mol<mikemol@gmail.com> wrote:

Are you using ccache?


nope. no ccache, no distcc


What are you using for CFLAGS?


-O2 -pipe -march=native -mtune=native -mpopcnt -msahf
-fomit-frame-pointer -fforce-addr -floop-interchange -floop-strip-mine
-floop-block -ftree-loop-distribution -ftree-loop-linear


-ftree-loop-linear is an alias for -floop-interchange. They do the same
thing.
 

Thread Tools




All times are GMT. The time now is 02:21 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org