[yocto] what is the proper way to build with fedora rawhide/gcc-5.0?

Khem Raj raj.khem at gmail.com
Tue Mar 31 14:16:23 PDT 2015


> On Mar 31, 2015, at 12:54 PM, Robert P. J. Day <rpjday at crashcourse.ca> wrote:
> 
> 
>  i asked about this a few weeks ago, finally getting back to it ...
> for better or worse, i'm running fedora rawhide, updated to the point
> where i have gcc-5.0.0:
> 
> $ gcc --version
> gcc (GCC) 5.0.0 20150208 (Red Hat 5.0.0-0.10)
> Copyright (C) 2015 Free Software Foundation, Inc.
> This is free software; see the source for copying conditions.  There is NO
> warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
> $
> 
> which causes a number of build issues trying to build for something as
> simple as qemux86.
> 
>  first, there is a linemarkers issue with gcc-5.0 that i got around
> by adding to local.conf:
> 
>  CPPFLAGS_append= " -P”

This should not be required. Can you post the failing package with error details
it should be fixed.

> 
> and there were two native build issues due to gcc-5.0 being far
> pickier with warnings that i sidestepped with the cheap hack:
> 
>  ASSUME_PROVIDED += "elfutils-native"
>  ASSUME_PROVIDED += "binutils-native”

There is 2.25 update available on my contrib tree.
http://git.openembedded.org/openembedded-core-contrib/log/?h=kraj/master
should help with binutils.

> 
> at this point, the build was almost complete when i hit another
> compile error for udev on the target:
> 
> DEBUG: SITE files ['endian-little', 'bit-32', 'ix86-common',
> 'common-linux', 'common-glibc', 'i586-linux', 'common']
> DEBUG: Executing shell function do_compile
> NOTE: make -j 8
> make: *** No rule to make target '/linux/input.h', needed by
> 'src/keymap/keys.txt'.  Stop.

that seems to be unrelated to gcc 5.0 on host. May be you have a different issue there.

> ERROR: oe_runmake failed
> WARNING:
> /home/rpjday/oe/builds/qemux86/tmp/work/i586-poky-linux/udev/182-r9/temp/run.do_compile.30377:1
> exit 1 from
>  exit 1
> ERROR: Function failed: do_compile (log file is located at
> /home/rpjday/oe/builds/qemux86/tmp/work/i586-poky-linux/udev/182-r9/temp/log.do_compile.30377)
> 
>  in any event, is there a *preferred* way to build using fedora
> rawide at this point?

I think people will care when fedora 22 comes out later this summer or may be when they have beta’s coming out.

> 
> rday
> 
> -- 
> 
> ========================================================================
> Robert P. J. Day                                 Ottawa, Ontario, CANADA
>                        http://crashcourse.ca
> 
> Twitter:                                       http://twitter.com/rpjday
> LinkedIn:                               http://ca.linkedin.com/in/rpjday
> ========================================================================
> 
> -- 
> _______________________________________________
> yocto mailing list
> yocto at yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto




More information about the yocto mailing list