Hi, Sorry I forgot send to Mailing list the previous email. Thanks for testing and reporting , we need and I will report this upstream [1] , is the best way in my point of view, upstream include all the patches that aren't local customization.
Thanks, [1] http://trac.netlabs.org/kbuild/ On Qui, 2015-05-14 at 07:23 +0000, Gianfranco Costamagna wrote: > Hi Sérgio, > nack on this :) > > > I'm using 2780, so I should have a fixed version, but I get a stack smash and > a core dump on build without that patch. > > echo '#include "inlined_memchr.h"' >> > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/src/kmk/config.h.linux > cp -f > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/sed/config.h > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/src/sed/config.h.linux > KBUILD_BIN_PATH=/tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk > > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk > -C /tmp/buildd/kbuild-0.1.9998svn2780+dfsg KBUILD_BOOTSTRAP=1 > *** stack smashing detected ***: > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk > terminated > ======= Backtrace: ========= > /lib/x86_64-linux-gnu/libc.so.6(+0x731ff)[0x7ff1d294d1ff] > /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x37)[0x7ff1d29d04c7] > /lib/x86_64-linux-gnu/libc.so.6(__fortify_fail+0x0)[0x7ff1d29d0490] > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk[0x424989] > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk[0x4072ab] > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk[0x4049f6] > /lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf5)[0x7ff1d28fbb45] > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk[0x405c63] > ======= Memory map: ======== > 00400000-00485000 r-xp 00000000 08:12 6950421 > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk > 00684000-00685000 r--p 00084000 08:12 6950421 > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk > 00685000-00688000 rw-p 00085000 08:12 6950421 > /tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/kmk/kmk > 00688000-006ab000 rw-p 00000000 00:00 0 > 00b24000-00b75000 rw-p 00000000 00:00 0 > [heap] > 7ff1d24c1000-7ff1d24d7000 r-xp 00000000 08:12 6554531 > /lib/x86_64-linux-gnu/libgcc_s.so.1 > 7ff1d24d7000-7ff1d26d6000 ---p 00016000 08:12 6554531 > /lib/x86_64-linux-gnu/libgcc_s.so.1 > 7ff1d26d6000-7ff1d26d7000 rw-p 00015000 08:12 6554531 > /lib/x86_64-linux-gnu/libgcc_s.so.1 > 7ff1d26d7000-7ff1d28da000 rw-p 00000000 00:00 0 > 7ff1d28da000-7ff1d2a79000 r-xp 00000000 08:12 6554522 > /lib/x86_64-linux-gnu/libc-2.19.so > 7ff1d2a79000-7ff1d2c79000 ---p 0019f000 08:12 6554522 > /lib/x86_64-linux-gnu/libc-2.19.so > 7ff1d2c79000-7ff1d2c7d000 r--p 0019f000 08:12 6554522 > /lib/x86_64-linux-gnu/libc-2.19.so > 7ff1d2c7d000-7ff1d2c7f000 rw-p 001a3000 08:12 6554522 > /lib/x86_64-linux-gnu/libc-2.19.so > 7ff1d2c7f000-7ff1d2c83000 rw-p 00000000 00:00 0 > 7ff1d2c83000-7ff1d2ca3000 r-xp 00000000 08:12 6554653 > /lib/x86_64-linux-gnu/ld-2.19.so > 7ff1d2cd7000-7ff1d2e9d000 rw-p 00000000 00:00 0 > 7ff1d2ea0000-7ff1d2ea3000 rw-p 00000000 00:00 0 > 7ff1d2ea3000-7ff1d2ea4000 r--p 00020000 08:12 6554653 > /lib/x86_64-linux-gnu/ld-2.19.so > 7ff1d2ea4000-7ff1d2ea5000 rw-p 00021000 08:12 6554653 > /lib/x86_64-linux-gnu/ld-2.19.so > 7ff1d2ea5000-7ff1d2ea6000 rw-p 00000000 00:00 0 > 7ffc3df9e000-7ffc3dfbf000 rw-p 00000000 00:00 0 > [stack] > 7ffc3dfe0000-7ffc3dfe2000 r--p 00000000 00:00 0 > [vvar] > 7ffc3dfe2000-7ffc3dfe4000 r-xp 00000000 00:00 0 > [vdso] > ffffffffff600000-ffffffffff601000 r-xp 00000000 00:00 0 > [vsyscall] > Aborted (core dumped) > bootstrap.gmk:221: recipe for target > '/tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/ts-stage2-build' > failed > make[2]: *** > [/tmp/buildd/kbuild-0.1.9998svn2780+dfsg/out/linux.amd64/release/bootstrap/ts-stage2-build] > Error 134 > make[2]: Leaving directory '/tmp/buildd/kbuild-0.1.9998svn2780+dfsg' > kBuild/env.sh: info: rc=2: make -f bootstrap.gmk > SRCDIR=/tmp/buildd/kbuild-0.1.9998svn2780+dfsg ASH=/bin/bash ECHO=/bin/echo > MKDIR=/bin/mkdir CP=/bin/cp RM=/bin/rm INSTALL=/usr/bin/install > YACC=/usr/bin/byacc > debian/rules:21: recipe for target 'override_dh_auto_build' failed > make[1]: *** [override_dh_auto_build] Error 2 > make[1]: Leaving directory '/tmp/buildd/kbuild-0.1.9998svn2780+ > > > > cheers, > > Gianfranco > > > Il Mercoledì 13 Maggio 2015 16:44, Sérgio Basto <[email protected]> ha > scritto: > Hello , > > http://anonscm.debian.org/cgit/pkg-virtualbox/kbuild.git/diff/debian/patches/11_find-glob.patch > > Also seems that was fixed upstream in Feb 3, 2015 > http://trac.netlabs.org/kbuild/changeset/2773/ > > > > > On Qua, 2015-05-13 at 14:36 +0000, Gianfranco Costamagna wrote: > > Hi Sérgio, thanks for your suggestions, I sync'd patches with Fedora and > > committed on git > > http://anonscm.debian.org/cgit/pkg-virtualbox/kbuild.git/commit/?id=5df3a02c245bbe1b30bb0e6272b0a9176da0687f > > > > > > > > they really looks better, and more complete than ours... > > > > I didn't grab > > kBuild-0.1.5-dprintf.patch > > and > > kBuild-0.1.3-escape.patch > > > > because they seem to be not useful for Debian... > > > > thanks again! > > > > Gianfranco > > > > > > Il Mercoledì 13 Maggio 2015 16:25, Sérgio Basto <[email protected]> ha > > scritto: > > On Qua, 2015-05-13 at 10:48 +0000, Gianfranco Costamagna wrote: > > > > > 08_no_o3_optimization.diff --> disable 03 optimization, that causes a > > > problem with kmk_Sed > > > > kmk_sed problem with gcc 4.7 was fixed upstream , so I think this patch > > can be dropped . > > > > > > Best regards > -- Sérgio M. B. _______________________________________________ vbox-dev mailing list [email protected] https://www.virtualbox.org/mailman/listinfo/vbox-dev
