Re: [eigen] Re: Infinite loop in gebp

[ Thread Index | Date Index | More lists.tuxfamily.org/eigen Archives ]


I am a homebrew user Gael which does not provide gcc. I guess its time to install macports.

Sameer



On Wed, Feb 27, 2013 at 12:01 PM, Gael Guennebaud <gael.guennebaud@xxxxxxxxx> wrote:
On mac I use the gcc of macports (http://www.macports.org/). It
provides all versions from 4.2 to 4.8-beta, as well as recent clang
version.

gael

On Wed, Feb 27, 2013 at 4:32 PM, Sameer Agarwal
<sameeragarwal@xxxxxxxxxx> wrote:
> Yes, but apple continues to ship gcc and I was hoping to use my mac for
> testing against gcc too. There is also the problem that there is no openmp
> support in clang right now, so compiling using gcc is the only way to
> develop and test with openmp.
>
> Sameer
>
>
>
> On Tue, Feb 26, 2013 at 4:10 PM, Benoit Jacob <jacob.benoit.1@xxxxxxxxx>
> wrote:
>>
>> Sure -- Apple switched XCode to Clang a while ago, right?
>>
>>
>> 2013/2/26 Sameer Agarwal <sameeragarwal@xxxxxxxxxx>
>>>
>>> Thanks Gael. Good to know that I did not introduce some craziness, since
>>> this code has been running fine before this. I am guessing Apple has no
>>> plans on upgrading g++ beyond 4.2.1 due to GPL issues.
>>>
>>> Sameer
>>>
>>>
>>>
>>> On Tue, Feb 26, 2013 at 2:58 PM, Gael Guennebaud
>>> <gael.guennebaud@xxxxxxxxx> wrote:
>>>>
>>>> Hi Sameer,
>>>>
>>>> indeed, I've already observed wrong code generation with this apple
>>>> compiler, and I know that other heavily templated libraries observed
>>>> similar problems. In my case it concerned our iterative solvers.So
>>>> I'd not spend too much time on it but just to be sure it might still
>>>> be interesting to check with other gcc versions and valgrind.
>>>>
>>>> gael
>>>>
>>>> On Tue, Feb 26, 2013 at 6:24 PM, Sameer Agarwal
>>>> <sameeragarwal@xxxxxxxxxx> wrote:
>>>> > Sorry, I reported the wrong version of gcc. Here is the version
>>>> > string. It
>>>> > is 4.2.1 instead of 4.1.2
>>>> >
>>>> > 686-apple-darwin11-g++-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5666) (dot
>>>> > 3)
>>>> >
>>>> > Sameer
>>>> >
>>>> >
>>>> >
>>>> > On Tue, Feb 26, 2013 at 9:19 AM, Sameer Agarwal
>>>> > <sameeragarwal@xxxxxxxxxx>
>>>> > wrote:
>>>> >>
>>>> >> Hi Guys,
>>>> >>
>>>> >> I am using eigen 3.1.2 on a mac and  I am observing an infinite loop
>>>> >> in
>>>> >>
>>>> >> Eigen::internal::gebp_kernel<double, double, long, 4, 4, false,
>>>> >> false>::operator()
>>>> >>
>>>> >> This is with g++4.1.2 -O3 -DNDEBUG  -fast -msse3
>>>> >>
>>>> >> the same code works just fine with clang 4.0.0
>>>> >>
>>>> >> I can provide instructions for reproducing this (its
>>>> >> corrector_test.cc of
>>>> >> the Ceres Solver code base).
>>>> >>
>>>> >> But before I do that, is there anything know about this
>>>> >> compiler/Eigen/OS
>>>> >> combination?
>>>> >>
>>>> >> Thank you,
>>>> >> Sameer
>>>> >>
>>>> >
>>>>
>>>>
>>>
>>
>





Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/