[Pkg-virtualbox-devel] Bug#697892: kbuild compiled with gcc-4.6 -O3 works

James McCoy jamessan at debian.org
Wed Feb 27 01:33:17 UTC 2013


On Tue, Feb 26, 2013 at 05:52:36PM +0100, Andrey Gursky wrote:
> Hi James,
> 
> >The kbuild NMU, which migrated on Jan. 12th, seems to have exposed a bug
> >in kmk_sed which is affecting the virtualbox build.  I've tried
> >rebuilding kbuild with Wheezy's gcc-4.6, since upstream indicates this
> >is a gcc-4.7-specific problem, but that didn't make a difference.
> >
> >Reassigning to kbuild.
> 
> How did you specify the 4.6? Doing that a straightforward way fails
> for some reason. Would be nice if it could be also investigated.

If I recall correctly, I used sbuild.  Something along the line of

  $ echo '$build_environment = { CC => 'gcc-4.6' };' >> ~/.sbuildrc
  $ sbuild --add-depends gcc-4.6 -sA -c wheezy -d wheezy kbuild_0.1.9998svn2543+dfsg-0.1.dsc

with the appropriate chroot already setup.

> Global switching gcc to gcc-4.6 with attached scripts did the job
> well. kbuild can be compiled even with -O3 and it works. Do you know,
> whether this bug with a kbuild/virtualbox as test case is already
> reported to gcc?

According to upstream sed, this isn't a GCC problem.  kBuild just hasn't
updated to a more recent version of sed which already fixed this
problem.

Cheers,
-- 
James
GPG Key: 4096R/331BA3DB 2011-12-05 James McCoy <jamessan at debian.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-virtualbox-devel/attachments/20130226/27f2a7aa/attachment.pgp>


More information about the Pkg-virtualbox-devel mailing list