* [Buildroot] 2011_02 qt compilation error
@ 2011-03-01 10:45 Belisko Marek
2011-03-01 11:44 ` Thomas Petazzoni
0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2011-03-01 10:45 UTC (permalink / raw)
To: buildroot
Hi,
trying to compile QT with external toolchain lead to:
In file included from ../../include/QtCore/qatomic_arm.h:1:0,
from
../../include/QtCore/../../src/corelib/arch/qatomic_arch.h:54,
from ../../include/QtCore/qatomic_arch.h:1,
from
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:227,
from ../../include/QtCore/qbasicatomic.h:1,
from
../../include/QtCore/../../src/corelib/thread/qatomic.h:46,
from ../../include/QtCore/qatomic.h:1,
from
../../include/QtCore/../../src/corelib/tools/qbytearray.h:45,
from ../../include/QtCore/qbytearray.h:1,
from ../../include/QtCore/../../src/corelib/tools/qstring.h:46,
from ../../include/QtCore/qstring.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qobject.h:48,
from ../../include/QtCore/qobject.h:1,
from
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:45,
from ../../include/QtCore/qcoreapplication.h:1,
from global/qt_pch.h:58:
../../include/QtCore/../../src/corelib/arch/qatomic_arm.h: In function
'void qt_removeObject(QObject*)':
../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:361:35:
error: output number 1 not directly addressable
moc kernel/qtimer.cpp
compiling kernel/qtranslator.cpp
make[2]: *** [.obj/release-shared-emb-arm/qobject.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory
`/home/open-nandra/projects/buildroot_test/output/build/qt-everywhere-opensource-src-4.7.1/src/corelib'
make[1]: *** [sub-corelib-make_default-ordered] Error 2
make[1]: Leaving directory
`/home/open-nandra/projects/buildroot_test/output/build/qt-everywhere-opensource-src-4.7.1'
make: *** [/home/open-nandra/projects/buildroot_test/output/build/qt-everywhere-opensource-src-4.7.1/.compiled]
Error 2
Config in attachment.
Thanks,
marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: .config
Type: application/octet-stream
Size: 17493 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20110301/ae3af664/attachment-0001.obj>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] 2011_02 qt compilation error
2011-03-01 10:45 [Buildroot] 2011_02 qt compilation error Belisko Marek
@ 2011-03-01 11:44 ` Thomas Petazzoni
2011-03-01 12:19 ` Belisko Marek
0 siblings, 1 reply; 4+ messages in thread
From: Thomas Petazzoni @ 2011-03-01 11:44 UTC (permalink / raw)
To: buildroot
Hello,
On Tue, 1 Mar 2011 11:45:41 +0100
Belisko Marek <marek.belisko@gmail.com> wrote:
> ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:361:35:
> error: output number 1 not directly addressable
Reproduced. It's apparently a bug in gcc 4.5, see
https://bugs.launchpad.net/gcc-linaro/+bug/675347. I haven't checked if
there is a workaround at Qt level, but in the mean time, the easiest
solution is to revert to a gcc 4.4 based toolchain.
Regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] 2011_02 qt compilation error
2011-03-01 11:44 ` Thomas Petazzoni
@ 2011-03-01 12:19 ` Belisko Marek
2011-03-01 12:27 ` Belisko Marek
0 siblings, 1 reply; 4+ messages in thread
From: Belisko Marek @ 2011-03-01 12:19 UTC (permalink / raw)
To: buildroot
Hi,
On Tue, Mar 1, 2011 at 12:44 PM, Thomas Petazzoni
<thomas.petazzoni@free-electrons.com> wrote:
> Hello,
>
> On Tue, 1 Mar 2011 11:45:41 +0100
> Belisko Marek <marek.belisko@gmail.com> wrote:
>
>> ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:361:35:
>> error: output number 1 not directly addressable
>
> Reproduced. It's apparently a bug in gcc 4.5, see
> https://bugs.launchpad.net/gcc-linaro/+bug/675347. I haven't checked if
> there is a workaround at Qt level, but in the mean time, the easiest
> solution is to revert to a gcc 4.4 based toolchain.
Well try with buildroot internat toolchain and result isn't better:
For real value is
For cortex-a8 real value is cortexa8
Unknown arch used in --with-arch=armv7-a
make[1]: *** [configure-gcc] Error 1
make[1]: *** Waiting for unfinished jobs....
(trying to build for beagleboard).
>
> Regards,
>
> Thomas
> --
> Thomas Petazzoni, Free Electrons
> Kernel, drivers, real-time and embedded Linux
> development, consulting, training and support.
> http://free-electrons.com
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
>
thanks,
marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Buildroot] 2011_02 qt compilation error
2011-03-01 12:19 ` Belisko Marek
@ 2011-03-01 12:27 ` Belisko Marek
0 siblings, 0 replies; 4+ messages in thread
From: Belisko Marek @ 2011-03-01 12:27 UTC (permalink / raw)
To: buildroot
Sorry for previous post. Ommit that Cortex-A8 needs gcc>4.4
On Tue, Mar 1, 2011 at 1:19 PM, Belisko Marek <marek.belisko@gmail.com> wrote:
> Hi,
>
> On Tue, Mar 1, 2011 at 12:44 PM, Thomas Petazzoni
> <thomas.petazzoni@free-electrons.com> wrote:
>> Hello,
>>
>> On Tue, 1 Mar 2011 11:45:41 +0100
>> Belisko Marek <marek.belisko@gmail.com> wrote:
>>
>>> ../../include/QtCore/../../src/corelib/arch/qatomic_arm.h:361:35:
>>> error: output number 1 not directly addressable
>>
>> Reproduced. It's apparently a bug in gcc 4.5, see
>> https://bugs.launchpad.net/gcc-linaro/+bug/675347. I haven't checked if
>> there is a workaround at Qt level, but in the mean time, the easiest
>> solution is to revert to a gcc 4.4 based toolchain.
> Well try with buildroot internat toolchain and result isn't better:
>
> For ?real value is
> For cortex-a8 real value is cortexa8
> Unknown arch used in --with-arch=armv7-a
> make[1]: *** [configure-gcc] Error 1
> make[1]: *** Waiting for unfinished jobs....
>
> (trying to build for beagleboard).
>>
>> Regards,
>>
>> Thomas
>> --
>> Thomas Petazzoni, Free Electrons
>> Kernel, drivers, real-time and embedded Linux
>> development, consulting, training and support.
>> http://free-electrons.com
>> _______________________________________________
>> buildroot mailing list
>> buildroot at busybox.net
>> http://lists.busybox.net/mailman/listinfo/buildroot
>>
>
> thanks,
>
> marek
>
> --
> as simple and primitive as possible
> -------------------------------------------------
> Marek Belisko - OPEN-NANDRA
> Freelance Developer
>
> Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
> Tel: +421 915 052 184
> skype: marekwhite
> icq: 290551086
> web: http://open-nandra.com
>
marek
--
as simple and primitive as possible
-------------------------------------------------
Marek Belisko - OPEN-NANDRA
Freelance Developer
Ruska Nova Ves 219 | Presov, 08005 Slovak Republic
Tel: +421 915 052 184
skype: marekwhite
icq: 290551086
web: http://open-nandra.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2011-03-01 12:27 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-03-01 10:45 [Buildroot] 2011_02 qt compilation error Belisko Marek
2011-03-01 11:44 ` Thomas Petazzoni
2011-03-01 12:19 ` Belisko Marek
2011-03-01 12:27 ` Belisko Marek
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.