gcc 4.7 changes binary behaviors ?

Sérgio Basto sergio at serjux.com
Fri Jan 27 03:25:51 UTC 2012


On Thu, 2012-01-26 at 22:01 +0000, Sérgio Basto wrote:
> On Thu, 2012-01-26 at 21:15 +0100, Jakub Jelinek wrote: 
> > On Thu, Jan 26, 2012 at 07:12:43AM +0000, Sérgio Basto wrote:
> > > Hi, hope that also could help 
> > > 
> > > Has package builder we also build kBuid 
> > > http://koji.fedoraproject.org/koji/packageinfo?packageID=7356
> > > , after use kBuid compile with gcc 4.7 I got this error on building
> > > virtuaBox
> > > 
> > > /usr/bin/kmk_sed: file /builddir/build/BUILD/VirtualBox-4.1.8_OSE/src/VBox/Runtime/common/err/errmsg.sed line 31: Unmatched [ or [^
> > > kmk: *** [/builddir/build/BUILD/VirtualBox-4.1.8_OSE/obj/obj/Runtime/errmsgdata.h] Error 1
> > > kmk: *** Deleting file `/builddir/build/BUILD/VirtualBox-4.1.8_OSE/obj/obj/Runtime/errmsgdata.h'
> > > kmk: *** Waiting for unfinished jobs....
> > > 
> > > build virtualbox with same kBuild but that was build with gcc 4.6 I
> > > don't have this problem using kBuild-0.1.98-1.r1.fc17 works, using
> > > kBuild-0.1.98-2.r1.fc17 I got this error, with kmk_sed. 
> > > Any clue is appreciated 
> > 
> > That just clearly shows how bundling libraries (violation of Fedora
> > packaging guidelines) is harmful.
> 
> I'd rather build virtualbox with binaries of kmk_sed provide by
> virtualbox, than put this kBuild package on fedora and build it from
> sources. Is just a waste of time.
> 
> but yeah, not my fault, but diff 
> /var/lib/mock/fedora-rawhide-x86_64/root/builddir/build/BUILD/kBuild-0.1.9998/src/sed 
> and
> ~/rpmbuild/SOURCES/sed-4.2.1 
> have 147 identical files 
> 
> NEWS says that is Sed 4.1.5 
> 
> Thanks for the tip , I will see what I can do about "not bundle sed" .

 
kmk_sed is based based on sed 4.1.5 but is very modified, for support
others OS like ms windows , darwin etc . 


> > Apparently, kBuild/src/sed/lib contains a copy of sed? regex code
> > which is a copy of the glibc code (but I hope sed is configured to
> > use the system regex),
> >  so it hits the same problem as has been already fixed
> > in glibc:
> > http://sources.redhat.com/ml/libc-alpha/2011-12/msg00091.html
> > Please file bugs against kBuild and possibly against sed too.
> > 	Jakub
> 



-- 
Sérgio M. B.




More information about the devel mailing list