* Ugly build problem with emacs/qemu
@ 2009-02-19 8:21 Sledz, Steffen
[not found] ` <49A7BD17.2080407@dresearch.de>
0 siblings, 1 reply; 9+ messages in thread
From: Sledz, Steffen @ 2009-02-19 8:21 UTC (permalink / raw)
To: openembedded-devel; +Cc: mlauer
I'm not sure if this is a problem with emacs itself or qemu.
I try to build exactly the same image with the same configuration (fyi CCACHE="") on different computers. On one everything builds fine on the other compiling emacs fails with a segmentation fault. :(
NOTE: make QEMU=qemu-arm -s 1048576 -L /home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi
cd lib-src; make all \
CC='arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mthumb' CFLAGS='-isystem/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/i
nclude -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2' CPPFLAGS='-D_BSD_SOURCE -isystem/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/include' \
LDFLAGS='-L/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,-
-hash-style=gnu -Wl,-znocombreloc' MAKE='make'
make[1]: Entering directory `/home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-src'
arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mthumb -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gn
ueabi/emacs-22.3-r0/emacs-22.3/lib-src -I/home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-src/../src -L/home/sledz/oe/tmp.1/staging/armv5te-angstrom-
linux-gnueabi/usr/lib -Wl,-rpath-link,/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-znocombreloc -D_BSD_SOURCE -isystem/home/sled
z/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/include -isystem/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers
-fomit-frame-pointer -O2 -o test-distrib /home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-src/test-distrib.c
qemu-arm -s 1048576 -L /home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi ./test-distrib /home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-s
rc/testfile
make[1]: *** [test-distrib] Segmentation fault
make[1]: *** Deleting file `test-distrib'
make[1]: Leaving directory `/home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-src'
make: *** [lib-src] Error 2
FATAL: oe_runmake failed
^ permalink raw reply [flat|nested] 9+ messages in thread[parent not found: <49A7BD17.2080407@dresearch.de>]
* Re: Ugly build problem with emacs/qemu [not found] ` <49A7BD17.2080407@dresearch.de> @ 2009-02-27 20:28 ` Justin Patrin 2009-03-01 15:11 ` Steffen Sledz 0 siblings, 1 reply; 9+ messages in thread From: Justin Patrin @ 2009-02-27 20:28 UTC (permalink / raw) To: openembedded-devel Are the machines you're building on exactly the same? Do they perhaps have different architectures or distributions? Have you tried updating the systems? This looks like a qemu failure to me. On 2/27/09, Steffen Sledz <sledz@dresearch.de> wrote: > Hi Justin and Richard, > > this problem is still existing. Do you have an idea what's wrong here? Is there anything i can do to help finding the problem. > > > Steffen > > > > I'm not sure if this is a problem with emacs itself or qemu. > > > > I try to build exactly the same image with the same configuration (fyi CCACHE="") on different computers. On one everything builds fine on the other compiling emacs fails with a segmentation fault. :( > > > > NOTE: make QEMU=qemu-arm -s 1048576 -L /home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi > > cd lib-src; make all \ > > CC='arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mthumb' CFLAGS='-isystem/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/i > > nclude -fexpensive-optimizations -frename-registers -fomit-frame-pointer -O2' CPPFLAGS='-D_BSD_SOURCE -isystem/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/include' \ > > LDFLAGS='-L/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-rpath-link,/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,- > > -hash-style=gnu -Wl,-znocombreloc' MAKE='make' > > make[1]: Entering directory `/home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-src' > > arm-angstrom-linux-gnueabi-gcc -march=armv5te -mtune=arm926ej-s -mthumb-interwork -mthumb -D_BSD_SOURCE -DHAVE_CONFIG_H -I. -I../src -I/home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gn > > ueabi/emacs-22.3-r0/emacs-22.3/lib-src -I/home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-src/../src -L/home/sledz/oe/tmp.1/staging/armv5te-angstrom- > > linux-gnueabi/usr/lib -Wl,-rpath-link,/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/lib -Wl,-O1 -Wl,--hash-style=gnu -Wl,-znocombreloc -D_BSD_SOURCE -isystem/home/sled > > z/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/include -isystem/home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi/usr/include -fexpensive-optimizations -frename-registers > > -fomit-frame-pointer -O2 -o test-distrib /home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-src/test-distrib.c > > qemu-arm -s 1048576 -L /home/sledz/oe/tmp.1/staging/armv5te-angstrom-linux-gnueabi ./test-distrib /home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-s > > rc/testfile > > make[1]: *** [test-distrib] Segmentation fault > > make[1]: *** Deleting file `test-distrib' > > make[1]: Leaving directory `/home/sledz/oe/tmp.1/work/armv5te-angstrom-linux-gnueabi/emacs-22.3-r0/emacs-22.3/lib-src' > > make: *** [lib-src] Error 2 > > FATAL: oe_runmake failed > > _______________________________________________ > > Openembedded-devel mailing list > > Openembedded-devel@lists.openembedded.org > > http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel > > -- Justin Patrin ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Ugly build problem with emacs/qemu 2009-02-27 20:28 ` Justin Patrin @ 2009-03-01 15:11 ` Steffen Sledz 2009-03-02 17:42 ` Hans Henry von Tresckow 0 siblings, 1 reply; 9+ messages in thread From: Steffen Sledz @ 2009-03-01 15:11 UTC (permalink / raw) To: openembedded-devel Justin Patrin schrieb: > Are the machines you're building on exactly the same? Do they perhaps > have different architectures or distributions? Have you tried updating > the systems? The machines are different. The one that works fine: Ubuntu 8.10 Linux bfg9000 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux The one with the problem: openSUSE 11.1 Linux recycler 2.6.27.19-3.2-default #1 SMP 2009-02-25 15:40:44 +0100 i686 athlon i386 GNU/Linux > This looks like a qemu failure to me. I agree. But i can't believe, that the different OS my be involved in that. Both are up-to-date. And i thought that all the tools needed to cross-build the packages are build by OE itself. Steffen ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Ugly build problem with emacs/qemu 2009-03-01 15:11 ` Steffen Sledz @ 2009-03-02 17:42 ` Hans Henry von Tresckow 2009-03-06 18:47 ` Justin Patrin 0 siblings, 1 reply; 9+ messages in thread From: Hans Henry von Tresckow @ 2009-03-02 17:42 UTC (permalink / raw) To: openembedded-devel On Sun, Mar 1, 2009 at 7:11 AM, Steffen Sledz <sledz@dresearch.de> wrote: > Justin Patrin schrieb: >> Are the machines you're building on exactly the same? Do they perhaps >> have different architectures or distributions? Have you tried updating >> the systems? > > The machines are different. > > The one that works fine: > Ubuntu 8.10 > Linux bfg9000 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux > > The one with the problem: > openSUSE 11.1 > Linux recycler 2.6.27.19-3.2-default #1 SMP 2009-02-25 15:40:44 +0100 i686 athlon i386 GNU/Linux > >> This looks like a qemu failure to me. > > I agree. But i can't believe, that the different OS my be involved in that. Both are up-to-date. And i thought that all the tools needed to cross-build the packages are build by OE itself. > > Steffen > I don't kow about openSuse, but I remember that Fedora used to have some kernel patches that did not play well with QEMU. But that was back on Ferora 7, since then I switched to ubuntu. I don't even rmember exactly what patch caused the problems, but IIRC it was security related. -- Henry von Tresckow (hvontres) W. C. Fields - "I never drink water because of the disgusting things that fish do in it." ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Ugly build problem with emacs/qemu 2009-03-02 17:42 ` Hans Henry von Tresckow @ 2009-03-06 18:47 ` Justin Patrin 2009-03-06 19:24 ` Marcin Juszkiewicz 2009-03-06 20:27 ` GNUtoo 0 siblings, 2 replies; 9+ messages in thread From: Justin Patrin @ 2009-03-06 18:47 UTC (permalink / raw) To: openembedded-devel On 3/2/09, Hans Henry von Tresckow <hvontres@gmail.com> wrote: > On Sun, Mar 1, 2009 at 7:11 AM, Steffen Sledz <sledz@dresearch.de> wrote: > > Justin Patrin schrieb: > >> Are the machines you're building on exactly the same? Do they perhaps > >> have different architectures or distributions? Have you tried updating > >> the systems? > > > > The machines are different. > > > > The one that works fine: > > Ubuntu 8.10 > > Linux bfg9000 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux > > > > The one with the problem: > > openSUSE 11.1 > > Linux recycler 2.6.27.19-3.2-default #1 SMP 2009-02-25 15:40:44 +0100 i686 athlon i386 GNU/Linux > > > >> This looks like a qemu failure to me. > > > > I agree. But i can't believe, that the different OS my be involved in that. Both are up-to-date. And i thought that all the tools needed to cross-build the packages are build by OE itself. > > > > Steffen > > > > > I don't kow about openSuse, but I remember that Fedora used to have > some kernel patches that did not play well with QEMU. But that was > back on Ferora 7, since then I switched to ubuntu. I don't even > rmember exactly what patch caused the problems, but IIRC it was > security related. > > Hmmm, good point it could be SELinux. Could you try disabling that, if you have it enabled? -- Justin Patrin ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Ugly build problem with emacs/qemu 2009-03-06 18:47 ` Justin Patrin @ 2009-03-06 19:24 ` Marcin Juszkiewicz 2009-03-06 20:28 ` GNUtoo 2009-03-07 12:37 ` Steffen Sledz 2009-03-06 20:27 ` GNUtoo 1 sibling, 2 replies; 9+ messages in thread From: Marcin Juszkiewicz @ 2009-03-06 19:24 UTC (permalink / raw) To: openembedded-devel On Friday 06 of March 2009 19:47:58 Justin Patrin wrote: > > I don't kow about openSuse, but I remember that Fedora used to have > > some kernel patches that did not play well with QEMU. But that was > > back on Ferora 7, since then I switched to ubuntu. I don't even > > rmember exactly what patch caused the problems, but IIRC it was > > security related. > > Hmmm, good point it could be SELinux. Could you try disabling that, > if you have it enabled? It is not SELinux but one kernel patch - linux-2.6-execshield.patch to be exact. Rebuild Fedora kernel without that one or use vanilla one. Took me lot of kernel rebuilds to find that out. Regards, -- JID: hrw@jabber.org Website: http://marcin.juszkiewicz.com.pl/ LinkedIn: http://www.linkedin.com/in/marcinjuszkiewicz ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Ugly build problem with emacs/qemu 2009-03-06 19:24 ` Marcin Juszkiewicz @ 2009-03-06 20:28 ` GNUtoo 2009-03-07 12:37 ` Steffen Sledz 1 sibling, 0 replies; 9+ messages in thread From: GNUtoo @ 2009-03-06 20:28 UTC (permalink / raw) To: openembedded-devel On Fri, 2009-03-06 at 20:24 +0100, Marcin Juszkiewicz wrote: > On Friday 06 of March 2009 19:47:58 Justin Patrin wrote: > > > I don't kow about openSuse, but I remember that Fedora used to have > > > some kernel patches that did not play well with QEMU. But that was > > > back on Ferora 7, since then I switched to ubuntu. I don't even > > > rmember exactly what patch caused the problems, but IIRC it was > > > security related. > > > > Hmmm, good point it could be SELinux. Could you try disabling that, > > if you have it enabled? > > It is not SELinux but one kernel patch - linux-2.6-execshield.patch to > be exact. Rebuild Fedora kernel without that one or use vanilla one. > > Took me lot of kernel rebuilds to find that out. > > Regards, ah ok I do not have that because I run a stock vanilla kernel. Denis. ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Ugly build problem with emacs/qemu 2009-03-06 19:24 ` Marcin Juszkiewicz 2009-03-06 20:28 ` GNUtoo @ 2009-03-07 12:37 ` Steffen Sledz 1 sibling, 0 replies; 9+ messages in thread From: Steffen Sledz @ 2009-03-07 12:37 UTC (permalink / raw) To: openembedded-devel Am 06.03.2009 20:24, schrieb Marcin Juszkiewicz: > On Friday 06 of March 2009 19:47:58 Justin Patrin wrote: >>> I don't kow about openSuse, but I remember that Fedora used to have >>> some kernel patches that did not play well with QEMU. But that was >>> back on Ferora 7, since then I switched to ubuntu. I don't even >>> rmember exactly what patch caused the problems, but IIRC it was >>> security related. >> Hmmm, good point it could be SELinux. Could you try disabling that, >> if you have it enabled? > > It is not SELinux but one kernel patch - linux-2.6-execshield.patch to > be exact. Rebuild Fedora kernel without that one or use vanilla one. > > Took me lot of kernel rebuilds to find that out. I've no SELinux running and i've tried the vanilla kernel. But the problem's still there. :( # uname -a Linux mobil-400-300 2.6.27.19-3.2-vanilla #1 SMP 2009-02-25 15:40:44 +0100 i686 i686 i386 GNU/Linux Steffen ^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: Ugly build problem with emacs/qemu 2009-03-06 18:47 ` Justin Patrin 2009-03-06 19:24 ` Marcin Juszkiewicz @ 2009-03-06 20:27 ` GNUtoo 1 sibling, 0 replies; 9+ messages in thread From: GNUtoo @ 2009-03-06 20:27 UTC (permalink / raw) To: openembedded-devel On Fri, 2009-03-06 at 10:47 -0800, Justin Patrin wrote: > On 3/2/09, Hans Henry von Tresckow <hvontres@gmail.com> wrote: > > On Sun, Mar 1, 2009 at 7:11 AM, Steffen Sledz <sledz@dresearch.de> wrote: > > > Justin Patrin schrieb: > > >> Are the machines you're building on exactly the same? Do they perhaps > > >> have different architectures or distributions? Have you tried updating > > >> the systems? > > > > > > The machines are different. > > > > > > The one that works fine: > > > Ubuntu 8.10 > > > Linux bfg9000 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64 GNU/Linux > > > > > > The one with the problem: > > > openSUSE 11.1 > > > Linux recycler 2.6.27.19-3.2-default #1 SMP 2009-02-25 15:40:44 +0100 i686 athlon i386 GNU/Linux > > > > > >> This looks like a qemu failure to me. > > > > > > I agree. But i can't believe, that the different OS my be involved in that. Both are up-to-date. And i thought that all the tools needed to cross-build the packages are build by OE itself. > > > > > > Steffen > > > > > > > > > I don't kow about openSuse, but I remember that Fedora used to have > > some kernel patches that did not play well with QEMU. But that was > > back on Ferora 7, since then I switched to ubuntu. I don't even > > rmember exactly what patch caused the problems, but IIRC it was > > security related. > > > > > > Hmmm, good point it could be SELinux. Could you try disabling that, if > you have it enabled? > I have selinux but for now it is in enforcing=0 (I have some problem to resolve before putting it in enforcing mode...but I'll try to disable it totally) Denis. ^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2009-03-07 12:42 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-19 8:21 Ugly build problem with emacs/qemu Sledz, Steffen
[not found] ` <49A7BD17.2080407@dresearch.de>
2009-02-27 20:28 ` Justin Patrin
2009-03-01 15:11 ` Steffen Sledz
2009-03-02 17:42 ` Hans Henry von Tresckow
2009-03-06 18:47 ` Justin Patrin
2009-03-06 19:24 ` Marcin Juszkiewicz
2009-03-06 20:28 ` GNUtoo
2009-03-07 12:37 ` Steffen Sledz
2009-03-06 20:27 ` GNUtoo
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.