* [Buildroot] qtwebkit illegal instruction problem with external toolchain
@ 2011-01-17 12:06 Belisko Marek
2011-01-17 18:45 ` Matt Johnson
0 siblings, 1 reply; 6+ messages in thread
From: Belisko Marek @ 2011-01-17 12:06 UTC (permalink / raw)
To: buildroot
My git head is ca2b65a6515800991dae49d1815b7bb933f4015c.
Compile qt including webkit with external toolchain (codesourcery
default from selection).
Use simple qt code to test webkit:
int main(int argc, char *argv[])
{
QApplication a(argc, argv);
QWebView *view = new QWebView();
view->load(QUrl("http://mrdoob.com/projects/chromeexperiments/ball_pool/"));
view->showFullScreen();
return a.exec();
}
After app. starting it failed with Illegal instruction (don't check deeply).
Do same with buildroot builded toolchain (default selection just add
WCHAR and C++ support to be able compile QT).
Application work fine without problem.
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] 6+ messages in thread* [Buildroot] qtwebkit illegal instruction problem with external toolchain 2011-01-17 12:06 [Buildroot] qtwebkit illegal instruction problem with external toolchain Belisko Marek @ 2011-01-17 18:45 ` Matt Johnson 2011-01-24 17:22 ` Thomas Petazzoni 0 siblings, 1 reply; 6+ messages in thread From: Matt Johnson @ 2011-01-17 18:45 UTC (permalink / raw) To: buildroot Haven't tested webkit, but this is probably the same issue I've been finding in lots of other packages. CodeSourcery is a multilib toolchain, and it picks its library based on the machine architecture flag (-march). It assumes armv5te by default, so it is critical when you are targeting one of the other libraries like armv4t or armv7-a (thumb) to provide -march to the package. This is part of the $(TARGET_CFLAGS) variable, but some packages don't pass it properly. -Matt -----Original Message----- From: buildroot-bounces@busybox.net [mailto:buildroot-bounces at busybox.net] On Behalf Of Belisko Marek Sent: Monday, January 17, 2011 5:06 AM To: buildroot at uclibc.org Subject: [Buildroot] qtwebkit illegal instruction problem with external toolchain My git head is ca2b65a6515800991dae49d1815b7bb933f4015c. Compile qt including webkit with external toolchain (codesourcery default from selection). Use simple qt code to test webkit: int main(int argc, char *argv[]) { QApplication a(argc, argv); QWebView *view = new QWebView(); view->load(QUrl("http://mrdoob.com/projects/chromeexperiments/ball_pool/")); view->showFullScreen(); return a.exec(); } After app. starting it failed with Illegal instruction (don't check deeply). Do same with buildroot builded toolchain (default selection just add WCHAR and C++ support to be able compile QT). Application work fine without problem. 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 _______________________________________________ buildroot mailing list buildroot at busybox.net http://lists.busybox.net/mailman/listinfo/buildroot ^ permalink raw reply [flat|nested] 6+ messages in thread
* [Buildroot] qtwebkit illegal instruction problem with external toolchain 2011-01-17 18:45 ` Matt Johnson @ 2011-01-24 17:22 ` Thomas Petazzoni 2011-01-24 20:00 ` Belisko Marek 0 siblings, 1 reply; 6+ messages in thread From: Thomas Petazzoni @ 2011-01-24 17:22 UTC (permalink / raw) To: buildroot Hello, On Mon, 17 Jan 2011 11:45:44 -0700 Matt Johnson <mj1856@hotmail.com> wrote: > Haven't tested webkit, but this is probably the same issue I've been finding > in lots of other packages. CodeSourcery is a multilib toolchain, and it > picks its library based on the machine architecture flag (-march). It > assumes armv5te by default, so it is critical when you are targeting one of > the other libraries like armv4t or armv7-a (thumb) to provide -march to the > package. This is part of the $(TARGET_CFLAGS) variable, but some packages > don't pass it properly. Yes, quite likely. Marek, could you give us some details about your hardware configuration (which CPU type) and Buildroot configuration ? Thanks, 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] 6+ messages in thread
* [Buildroot] qtwebkit illegal instruction problem with external toolchain 2011-01-24 17:22 ` Thomas Petazzoni @ 2011-01-24 20:00 ` Belisko Marek 2011-01-24 20:09 ` Thomas Petazzoni 0 siblings, 1 reply; 6+ messages in thread From: Belisko Marek @ 2011-01-24 20:00 UTC (permalink / raw) To: buildroot Hi, On Mon, Jan 24, 2011 at 6:22 PM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > Hello, > > On Mon, 17 Jan 2011 11:45:44 -0700 > Matt Johnson <mj1856@hotmail.com> wrote: > >> Haven't tested webkit, but this is probably the same issue I've been finding >> in lots of other packages. ?CodeSourcery is a multilib toolchain, and it >> picks its library based on the machine architecture flag (-march). ?It >> assumes armv5te by default, so it is critical when you are targeting one of >> the other libraries like armv4t or armv7-a (thumb) to provide -march to the >> package. ?This is part of the $(TARGET_CFLAGS) variable, but some packages >> don't pass it properly. > > Yes, quite likely. > > Marek, could you give us some details about your hardware configuration > (which CPU type) and Buildroot configuration ? ARCH=arm920t and just select qt including webkit + select external toolchain. > > Thanks, > > Thomas > -- > Thomas Petazzoni, Free Electrons > Kernel, drivers, real-time and embedded Linux > development, consulting, training and support. > http://free-electrons.com > 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] 6+ messages in thread
* [Buildroot] qtwebkit illegal instruction problem with external toolchain 2011-01-24 20:00 ` Belisko Marek @ 2011-01-24 20:09 ` Thomas Petazzoni 2011-01-24 20:11 ` Belisko Marek 0 siblings, 1 reply; 6+ messages in thread From: Thomas Petazzoni @ 2011-01-24 20:09 UTC (permalink / raw) To: buildroot On Mon, 24 Jan 2011 21:00:58 +0100 Belisko Marek <marek.belisko@gmail.com> wrote: > ARCH=arm920t What does that mean ? Does that mean that your processor is an ARM920T *and* that you selected this CPU type in Buildroot ? 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] 6+ messages in thread
* [Buildroot] qtwebkit illegal instruction problem with external toolchain 2011-01-24 20:09 ` Thomas Petazzoni @ 2011-01-24 20:11 ` Belisko Marek 0 siblings, 0 replies; 6+ messages in thread From: Belisko Marek @ 2011-01-24 20:11 UTC (permalink / raw) To: buildroot On Mon, Jan 24, 2011 at 9:09 PM, Thomas Petazzoni <thomas.petazzoni@free-electrons.com> wrote: > On Mon, 24 Jan 2011 21:00:58 +0100 > Belisko Marek <marek.belisko@gmail.com> wrote: > >> ARCH=arm920t > > What does that mean ? Does that mean that your processor is an ARM920T > *and* that you selected this CPU type in Buildroot ? Sorry have it setup on my laptop @ work. Yes CPU type is ARM920T (mini2440) and of course is selected. I can post .config tomorrow at morning. > > 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] 6+ messages in thread
end of thread, other threads:[~2011-01-24 20:11 UTC | newest] Thread overview: 6+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2011-01-17 12:06 [Buildroot] qtwebkit illegal instruction problem with external toolchain Belisko Marek 2011-01-17 18:45 ` Matt Johnson 2011-01-24 17:22 ` Thomas Petazzoni 2011-01-24 20:00 ` Belisko Marek 2011-01-24 20:09 ` Thomas Petazzoni 2011-01-24 20:11 ` 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.