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

Robert P. J. Day rpjday at crashcourse.ca
Tue Mar 31 12:54:31 PDT 2015


  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"

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"

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

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================




More information about the yocto mailing list