All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Robert P. J. Day" <rpjday@crashcourse.ca>
To: Yocto discussion list <yocto@yoctoproject.org>
Subject: what is the proper way to build with fedora rawhide/gcc-5.0?
Date: Tue, 31 Mar 2015 15:54:31 -0400 (EDT)	[thread overview]
Message-ID: <alpine.LFD.2.11.1503311547440.7527@localhost> (raw)


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



             reply	other threads:[~2015-03-31 19:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-31 19:54 Robert P. J. Day [this message]
2015-03-31 20:56 ` what is the proper way to build with fedora rawhide/gcc-5.0? Burton, Ross
2015-03-31 21:16 ` Khem Raj
2015-03-31 21:41   ` Robert P. J. Day
2015-04-02 10:45   ` Robert P. J. Day
2015-04-02 10:56   ` Robert P. J. Day
2015-04-02 13:12   ` Robert P. J. Day
2015-04-02 16:17     ` Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=alpine.LFD.2.11.1503311547440.7527@localhost \
    --to=rpjday@crashcourse.ca \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.