[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#623281: qt4-x11: sh4: FTBFS: ./../include/QtCore/../../src/corelib/arch/qatomic_generic.h:197: error: invalid conversion from 'const void*' to 'void*'


2011/4/28 Pino Toscano <toscano.pino@tiscali.it>:
> Hi Nobuhiro,
> Alle martedì 19 aprile 2011, Nobuhiro Iwamatsu ha scritto:
>> Because In the case of sh4, the architecture is set in 'generic', and
>> use src/corelib/arch/generic/.
> Theorically qt4 should build with the 'generic' architecture.

OK, I misunderstood.

>> Determining system architecture...
>> (Linux: Trying 'sh4'...
>>     'sh4' is unsupported, using 'generic'
>>     'sh4' is unsupported, using 'generic'
>> System architecture: 'generic'
>> [...]
>> I made patch to support sh4. Could you apply this patch?
> Your patch is based on the code resulting after the qt4-x11 patch
> 07_trust_dpkg-arch_over_uname-m.diff, hence it is wrong.
> Attached there is an attempt of better patch for sh4; could you please
> try it?

Sure,  and I tried. work fine with this patch.

> Also, please note that in qt4 there seems to be two sh architectures,
> see the the src/corelib/arch/qatomic_{sh,sh4a}.h and the two 'sh' and
> 'sh4a' directories in src/corelib/arch/; the patch you did and the one I
> just attached use the 'sh' variant (which I guess is the generic one for
> SH).

Yes,  sh in qt4 supprt sh3 and sh4.
sh4a uses the order that sh do not support with these CPU's.
Your patch is right.

> Thanks,
> --
> Pino Toscano

Best regards,

Nobuhiro Iwamatsu
   iwamatsu at {nigauri.org / debian.org}
   GPG ID: 40AD1FA6

Reply to: