Hello,

Just for information purposes: Ed sent me a patch for aoe6-85pre1 (to 
workaround 
gcc 4.8 specific) and I quickly tested it  - everything works fine. As far as I 
understand, this patch will be a part of next aoe6 release / release candidate.

Thanks a lot!

Sincerely,
Serge


On 10/14/2013 05:46 PM, Ed Cashin wrote:
> Hi, Serge.
>
> Thanks for the information.  Are you using Fedora?  That's the only place 
> I've seen this build error, but I haven't had time to investigate yet.
>
> If you wouldn't mind please sending me the tarball generated by "make report" 
> in a freshly extracted aoe6-85pre1 source tree (same URL as aoe6-84.tar.gz 
> with 85pre1 instead of 84) I would like to check that out.  Please don't send 
> it to the list, as it's an attachment that won't go through.  If you can also 
> include the output of aoetools-36/sos-linux, that would be helpful as well.
>
> I might not get to it right away, but I'll try my best to check it out when I 
> can make time.
>
> On Oct 14, 2013, at 5:11 PM, Serge Leschinsky wrote:
>
>> Hello,
>>
>> I was constructing a new build environment (gcc 4.8.1 , glibc 2.18)  and 
>> found
>> out that build of aoe6-84 / aoe6-85pre1 fails with the following error:
>>
>> make[1]: Entering directory `/data/tmp/linux-3.10'
>>    CC [M]  /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.o
>> In file included from 
>> /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.c:15:0:
>> /data/tmp/aoe6-84/linux/drivers/block/aoe/aoe.h:16:0: warning: 
>> "DEFINE_SPINLOCK"
>> redefined [enabled by default]
>>   #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
>>   ^
>> In file included from include/linux/spinlock.h:81:0,
>>                   from include/linux/seqlock.h:29,
>>                   from include/linux/time.h:5,
>>                   from include/uapi/linux/timex.h:56,
>>                   from include/linux/timex.h:56,
>>                   from include/linux/sched.h:17,
>>                   from include/linux/blkdev.h:4,
>>                   from /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.c:8:
>> include/linux/spinlock_types.h:84:0: note: this is the location of the 
>> previous
>> definition
>>   #define DEFINE_SPINLOCK(x) spinlock_t x = __SPIN_LOCK_UNLOCKED(x)
>>   ^
>> In file included from 
>> /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.c:15:0:
>> /data/tmp/aoe6-84/linux/drivers/block/aoe/aoe.h:16:43: error:
>> 'SPIN_LOCK_UNLOCKED' undeclared here (not in a function)
>>   #define DEFINE_SPINLOCK(x) spinlock_t x = SPIN_LOCK_UNLOCKED
>>                                             ^
>> /data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.c:26:8: note: in expansion 
>> of
>> macro 'DEFINE_SPINLOCK'
>>   static DEFINE_SPINLOCK(devlist_lock);
>>          ^
>> make[2]: *** [/data/tmp/aoe6-84/linux/drivers/block/aoe/aoedev.o] Error 1
>> make[1]: *** [_module_/data/tmp/aoe6-84/linux/drivers/block/aoe] Error 2
>>
>>
>> Thanks,
>> Serge
>>
>> ------------------------------------------------------------------------------
>> October Webinars: Code for Performance
>> Free Intel webinars can help you accelerate application performance.
>> Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from
>> the latest Intel processors and coprocessors. See abstracts and register >
>> http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
>> _______________________________________________
>> Aoetools-discuss mailing list
>> Aoetools-discuss@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/aoetools-discuss
>


------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135031&iu=/4140/ostg.clktrk
_______________________________________________
Aoetools-discuss mailing list
Aoetools-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/aoetools-discuss

Reply via email to