gcc 4.7 changes binary behaviors ?

Jakub Jelinek jakub at redhat.com
Thu Jan 26 20:15:47 UTC 2012


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.
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


More information about the devel mailing list