Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-09 Thread Martin Jansa
On Sun, Jul 08, 2012 at 09:26:12PM -0700, Khem Raj wrote:
 On Sun, Jul 8, 2012 at 9:10 AM, Khem Raj raj.k...@gmail.com wrote:
  V2:
 
  Additionally, changed gcc to use git fetcher
  update E5500/E6500 patches for gcc and binutils (backported from mainline)
  images form p5020ds 32/64 bit built fine. (btw. it does not build with 
  eglibc-2.15)
  Updated eglibc rpc patch needed for cross build from scratch
  Updates the gets patch for busybox now its a backport instead of
  home grown.
 
  bitbake world works clean for ppc/x86/x86_64 , for mips and arm
  the failures are prexisting.
  mips - webkit and pseudo fail to build
  arm - guile-2.0 and pseudo fail to build
 
  V1:
  This patch adds eglibc 2.16 recipes. I was able to build world
  on x86 except perf which was failing with 2.15 as well.
 
  I have also build and run core-image-sato on all qemus
 
  I did not remove 2.15 to allow some soak in time.
 
  The following changes since commit 8f16811a8d51982a8b3d70e6087aef4a41926840:
 
bootimg: Use STAGING_KERNEL_DIR (2012-07-06 09:38:17 +0100)
 
  are available in the git repository at:
 
git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16

  http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16
 
  Khem Raj (19):
mirrors: Add debian archive snapshot mirrors to search list
gdb: Replace struct siginfo with proper siginfo_t
busybox: Include sys/resource.h for rusage definition
coreutils: Fix build with eglibc 2.16
diffutils: Fix build with eglibc 2.16
udev: Fix build with eglibc 2.16
gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
bison: Fix for gets being removed from eglibc 2.16
grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
boost: Upgrade recipe to 1.50.0
puzzles: Fix checksums
valgrind: Fix build with eglibc 2.16
libpam: Fix build with eglibc 2.16
gcc-cross-initial.inc: Use BFD ld as default always
gcc: Switch to git SRC_URI
 
 more testing shows that switching to git is causing do_unpack tasks
 from various gcc recipes to have
 different checksums and that triggers rerun of do_patch do_unpack
 tasks in shared workdir and does not
 go well. so I pulled the above commit out for now until we sort the
 real reason why this is happening by just switching the fetcher
 
 second problem is that it messed the upgrade path since 's'vn sorts
 after 'g'it and they appear in PV

yes wait with svn-git switch for 4.7.2 release and corresponding SRCREV
bump

or bump PE in gcc recipes

or bump PR in a lot of packages which has runtime dependency on
libstdc++ or libgcc, but this doesn't fix upgrade path for gcc recipes
already installed on target :/.

in my tmpdir it is:
vagalume vim x11vnc xchat xinput-calibrator xserver-xorg xz udev
systemd tar sylpheed util-linux shadow samba rsync qt4-x11-free speex
sysstat pidgin pulseaudio procps polkit postgresql mysql5 php
qt-mobility-x11 openssh numptyphysics navit mplayer2 monav mesa-dri
pango powertop poppler mcnavi mtd-utils net-tools nfs-utils abiword curl
gzip mc mbuffer m4 matchbox-panel-2 matchbox-keyboard ltrace lttng-ust
live555 links links-x11 zlib webkit-gtk talloc libtheora tiff gawk gtk+3
ntp libsndfile1 icu  kmod libnl perl libsexy librsvg libproxy pixman
avahi sqlite libffi gstreamer pangomm gtk+ gst-plugins-base
gst-plugins-good expat cairo cairomm fltk gdbm gettext libglade glib-2.0
gmp imlib2 boost webkit-efl flac libpcap ode libvpx vte hdparm gwaterpas
qfsodbusxml2cpp python-pygtk python-gst python libvorbis sqlite
libsigc++-2.0 libsdl pth popt gpsd libgpewidget gnutls libfso-qt
libevent libav iputils iptables iproute2 imagemagick hdparm id3lib gtkmm
gtkmathview less aspell libass libdrm emotion evolution-data-server
gnuplot groff grep gnome-keyring git gdb fsoaudiod findutils file
evopedia evas ethumb epdfview epdf gst-plugin-bluetooth gst-plugins-ugly
aurora-daemon alsa-utils bash bind bluez-hcidump
claws-plugin-gtkhtml2-viewer claws-plugin-mailmbox claws-plugin-rssyl
coreutils dosfstools e-wm e2fsprogs e-wm edje eina elfutils emtooth2
enchant glibmm openssl sqlite3 tremor eglibc gtk-engines bluez4
gstreamer gtkhtml2 dconf-qt alsa-lib claws-mail libgsf libetpan fbreader
firefox libidl orbit2

Cheers,

 
 latest patch to switch the URI is here
 http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/miscid=81b8073a82fd480e6a5d011a3c8a28ad5fbe542f
 
 anyone ideas ?
 
binutils: Backport the e5500/e6500 patches from mainline
gcc: Refresh support for fsl E5500/E6500
qemu: Explicitly add --disable-gl-accel when gl is not enabled
eglibc: Add recipes for 2.16 release
 
   meta/classes/mirrors.bbclass   |4 +-
   meta/recipes-bsp/grub/grub-1.99/remove-gets.patch  |   20 +
   meta/recipes-bsp/grub/grub_1.99.bb |3 +-
   .../busybox/busybox-1.19.4/sys_resource.patch  |   99 +++
   meta/recipes-core/busybox/busybox_1.19.4.bb

Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-09 Thread Richard Purdie
On Mon, 2012-07-09 at 11:56 +0200, Martin Jansa wrote:
 On Sun, Jul 08, 2012 at 09:26:12PM -0700, Khem Raj wrote:
  On Sun, Jul 8, 2012 at 9:10 AM, Khem Raj raj.k...@gmail.com wrote:
   V2:
  
   Additionally, changed gcc to use git fetcher
   update E5500/E6500 patches for gcc and binutils (backported from mainline)
   images form p5020ds 32/64 bit built fine. (btw. it does not build with 
   eglibc-2.15)
   Updated eglibc rpc patch needed for cross build from scratch
   Updates the gets patch for busybox now its a backport instead of
   home grown.
  
   bitbake world works clean for ppc/x86/x86_64 , for mips and arm
   the failures are prexisting.
   mips - webkit and pseudo fail to build
   arm - guile-2.0 and pseudo fail to build
  
   V1:
   This patch adds eglibc 2.16 recipes. I was able to build world
   on x86 except perf which was failing with 2.15 as well.
  
   I have also build and run core-image-sato on all qemus
  
   I did not remove 2.15 to allow some soak in time.
  
   The following changes since commit 
   8f16811a8d51982a8b3d70e6087aef4a41926840:
  
 bootimg: Use STAGING_KERNEL_DIR (2012-07-06 09:38:17 +0100)
  
   are available in the git repository at:
  
 git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
 
   http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16
  
   Khem Raj (19):
 mirrors: Add debian archive snapshot mirrors to search list
 gdb: Replace struct siginfo with proper siginfo_t
 busybox: Include sys/resource.h for rusage definition
 coreutils: Fix build with eglibc 2.16
 diffutils: Fix build with eglibc 2.16
 udev: Fix build with eglibc 2.16
 gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
 bison: Fix for gets being removed from eglibc 2.16
 grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
 boost: Upgrade recipe to 1.50.0
 puzzles: Fix checksums
 valgrind: Fix build with eglibc 2.16
 libpam: Fix build with eglibc 2.16
 gcc-cross-initial.inc: Use BFD ld as default always
 gcc: Switch to git SRC_URI
  
  more testing shows that switching to git is causing do_unpack tasks
  from various gcc recipes to have
  different checksums and that triggers rerun of do_patch do_unpack
  tasks in shared workdir and does not
  go well. so I pulled the above commit out for now until we sort the
  real reason why this is happening by just switching the fetcher
  
  second problem is that it messed the upgrade path since 's'vn sorts
  after 'g'it and they appear in PV
 
 yes wait with svn-git switch for 4.7.2 release and corresponding SRCREV
 bump
 
 or bump PE in gcc recipes
 
 or bump PR in a lot of packages which has runtime dependency on
 libstdc++ or libgcc, but this doesn't fix upgrade path for gcc recipes
 already installed on target :/.

How about updating to 4.7.1.0 in PV to let us avoid this issue and then
this will automatically resolve itself come 4.7.2?

Cheers,

Richard




___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-09 Thread Khem Raj
On Sun, Jul 8, 2012 at 9:26 PM, Khem Raj raj.k...@gmail.com wrote:
 On Sun, Jul 8, 2012 at 9:10 AM, Khem Raj raj.k...@gmail.com wrote:
 V2:

 Additionally, changed gcc to use git fetcher
 update E5500/E6500 patches for gcc and binutils (backported from mainline)
 images form p5020ds 32/64 bit built fine. (btw. it does not build with 
 eglibc-2.15)
 Updated eglibc rpc patch needed for cross build from scratch
 Updates the gets patch for busybox now its a backport instead of
 home grown.

 bitbake world works clean for ppc/x86/x86_64 , for mips and arm
 the failures are prexisting.
 mips - webkit and pseudo fail to build
 arm - guile-2.0 and pseudo fail to build

 V1:
 This patch adds eglibc 2.16 recipes. I was able to build world
 on x86 except perf which was failing with 2.15 as well.

 I have also build and run core-image-sato on all qemus

 I did not remove 2.15 to allow some soak in time.

 The following changes since commit 8f16811a8d51982a8b3d70e6087aef4a41926840:

   bootimg: Use STAGING_KERNEL_DIR (2012-07-06 09:38:17 +0100)

 are available in the git repository at:

   git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
   
 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16

 Khem Raj (19):
   mirrors: Add debian archive snapshot mirrors to search list
   gdb: Replace struct siginfo with proper siginfo_t
   busybox: Include sys/resource.h for rusage definition
   coreutils: Fix build with eglibc 2.16
   diffutils: Fix build with eglibc 2.16
   udev: Fix build with eglibc 2.16
   gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
   bison: Fix for gets being removed from eglibc 2.16
   grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
   boost: Upgrade recipe to 1.50.0
   puzzles: Fix checksums
   valgrind: Fix build with eglibc 2.16
   libpam: Fix build with eglibc 2.16
   gcc-cross-initial.inc: Use BFD ld as default always
   gcc: Switch to git SRC_URI

 more testing shows that switching to git is causing do_unpack tasks
 from various gcc recipes to have
 different checksums and that triggers rerun of do_patch do_unpack
 tasks in shared workdir and does not
 go well. so I pulled the above commit out for now until we sort the
 real reason why this is happening by just switching the fetcher


with RPs help we figured out the issue and I have created a patch
which fixed this issue the patch is here

http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/eglibc-2.16id=3f0f25f272cc4fb0839f9c68f10d3bdd4b79fb47


 second problem is that it messed the upgrade path since 's'vn sorts
 after 'g'it and they appear in PV

we are using 4.7.1.0 for now and will drop the .0 when we upgrade part 4.7.2
release this should ensure upgrade paths are intact.

I have updated the pull request with these two changes made in there.


 latest patch to switch the URI is here
 http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/miscid=81b8073a82fd480e6a5d011a3c8a28ad5fbe542f

 anyone ideas ?

   binutils: Backport the e5500/e6500 patches from mainline
   gcc: Refresh support for fsl E5500/E6500
   qemu: Explicitly add --disable-gl-accel when gl is not enabled
   eglibc: Add recipes for 2.16 release

  meta/classes/mirrors.bbclass   |4 +-
  meta/recipes-bsp/grub/grub-1.99/remove-gets.patch  |   20 +
  meta/recipes-bsp/grub/grub_1.99.bb |3 +-
  .../busybox/busybox-1.19.4/sys_resource.patch  |   99 +++
  meta/recipes-core/busybox/busybox_1.19.4.bb|3 +-
  .../coreutils/coreutils-8.14/remove-gets.patch |   23 +
  meta/recipes-core/coreutils/coreutils_8.14.bb  |3 +-
  .../eglibc/cross-localedef-native_2.16.bb  |   44 +
  .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch|  108 +++
  .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch   |   17 +
  .../eglibc-svn-arm-lowlevellock-include-tls.patch  |   21 +
  .../eglibc_fix_findidx_parameters.patch|   38 +
  .../eglibc/eglibc-2.16/generate-supported.mk   |   11 +
  .../eglibc/eglibc-2.16/initgroups_keys.patch   |   20 +
  .../eglibc/eglibc-2.16/ld-search-order.patch   |   56 ++
  .../eglibc/eglibc-2.16/mips-rld-map-check.patch|   26 +
  .../eglibc/eglibc-2.16/multilib_readlib.patch  |   17 +
  .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch |  538 
  .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch   |  112 +++
  .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch |  123 +++
  .../eglibc/eglibc-2.16/rpc-bootstrap.patch |   63 ++
  .../eglibc-2.16/use-sysroot-cxx-headers.patch  |   42 +
  meta/recipes-core/eglibc/eglibc-initial_2.16.bb|6 +
  meta/recipes-core/eglibc/eglibc-locale_2.16.bb |1 +
  meta/recipes-core/eglibc/eglibc_2.16.bb|  146 
  .../gettext/gettext-0.18.1.1/remove_gets.patch |   58 ++
  meta/recipes-core/gettext/gettext_0.18.1.1.bb  |3 +-
  

Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Khem Raj
On Sun, Jul 8, 2012 at 9:10 AM, Khem Raj raj.k...@gmail.com wrote:
 V2:

 Additionally, changed gcc to use git fetcher
 update E5500/E6500 patches for gcc and binutils (backported from mainline)
 images form p5020ds 32/64 bit built fine. (btw. it does not build with 
 eglibc-2.15)
 Updated eglibc rpc patch needed for cross build from scratch
 Updates the gets patch for busybox now its a backport instead of
 home grown.

 bitbake world works clean for ppc/x86/x86_64 , for mips and arm
 the failures are prexisting.
 mips - webkit and pseudo fail to build
 arm - guile-2.0 and pseudo fail to build

 V1:
 This patch adds eglibc 2.16 recipes. I was able to build world
 on x86 except perf which was failing with 2.15 as well.

 I have also build and run core-image-sato on all qemus

 I did not remove 2.15 to allow some soak in time.

 The following changes since commit 8f16811a8d51982a8b3d70e6087aef4a41926840:

   bootimg: Use STAGING_KERNEL_DIR (2012-07-06 09:38:17 +0100)

 are available in the git repository at:

   git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
   
 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16

 Khem Raj (19):
   mirrors: Add debian archive snapshot mirrors to search list
   gdb: Replace struct siginfo with proper siginfo_t
   busybox: Include sys/resource.h for rusage definition
   coreutils: Fix build with eglibc 2.16
   diffutils: Fix build with eglibc 2.16
   udev: Fix build with eglibc 2.16
   gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
   bison: Fix for gets being removed from eglibc 2.16
   grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
   boost: Upgrade recipe to 1.50.0
   puzzles: Fix checksums
   valgrind: Fix build with eglibc 2.16
   libpam: Fix build with eglibc 2.16
   gcc-cross-initial.inc: Use BFD ld as default always
   gcc: Switch to git SRC_URI

The above patch has been updated to include changing S value in
gcc-common.inc which was missing in last patch
additionally another patch is added where do_headerfix is converted
into a static patch

   binutils: Backport the e5500/e6500 patches from mainline
   gcc: Refresh support for fsl E5500/E6500
   qemu: Explicitly add --disable-gl-accel when gl is not enabled
   eglibc: Add recipes for 2.16 release

  meta/classes/mirrors.bbclass   |4 +-
  meta/recipes-bsp/grub/grub-1.99/remove-gets.patch  |   20 +
  meta/recipes-bsp/grub/grub_1.99.bb |3 +-
  .../busybox/busybox-1.19.4/sys_resource.patch  |   99 +++
  meta/recipes-core/busybox/busybox_1.19.4.bb|3 +-
  .../coreutils/coreutils-8.14/remove-gets.patch |   23 +
  meta/recipes-core/coreutils/coreutils_8.14.bb  |3 +-
  .../eglibc/cross-localedef-native_2.16.bb  |   44 +
  .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch|  108 +++
  .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch   |   17 +
  .../eglibc-svn-arm-lowlevellock-include-tls.patch  |   21 +
  .../eglibc_fix_findidx_parameters.patch|   38 +
  .../eglibc/eglibc-2.16/generate-supported.mk   |   11 +
  .../eglibc/eglibc-2.16/initgroups_keys.patch   |   20 +
  .../eglibc/eglibc-2.16/ld-search-order.patch   |   56 ++
  .../eglibc/eglibc-2.16/mips-rld-map-check.patch|   26 +
  .../eglibc/eglibc-2.16/multilib_readlib.patch  |   17 +
  .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch |  538 
  .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch   |  112 +++
  .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch |  123 +++
  .../eglibc/eglibc-2.16/rpc-bootstrap.patch |   63 ++
  .../eglibc-2.16/use-sysroot-cxx-headers.patch  |   42 +
  meta/recipes-core/eglibc/eglibc-initial_2.16.bb|6 +
  meta/recipes-core/eglibc/eglibc-locale_2.16.bb |1 +
  meta/recipes-core/eglibc/eglibc_2.16.bb|  146 
  .../gettext/gettext-0.18.1.1/remove_gets.patch |   58 ++
  meta/recipes-core/gettext/gettext_0.18.1.1.bb  |3 +-
  meta/recipes-core/udev/udev/include_resource.patch |   31 +
  meta/recipes-core/udev/udev_164.bb |7 +-
  meta/recipes-devtools/binutils/binutils-2.22.inc   |2 +-
  .../binutils/binutils/binutils-powerpc-e5500.patch |  918 
 +++-
  .../recipes-devtools/bison/bison/remove-gets.patch |   20 +
  meta/recipes-devtools/bison/bison_2.5.bb   |6 +-
  meta/recipes-devtools/gcc/gcc-4.7.inc  |   17 +-
  .../gcc/gcc-4.7/define_insn_reservation.patch  |  118 +++
  .../gcc/gcc-4.7/ppc_with_cpu.patch |  752 
  ...pc-e5500.patch = ppce5500-e6500-support.patch} |  560 
  .../gcc/gcc-4.7/rs6000-tables.patch|  135 +++
  meta/recipes-devtools/gcc/gcc-cross-initial.inc|1 +
  meta/recipes-devtools/gdb/gdb-common.inc   |2 +-
  meta/recipes-devtools/gdb/gdb.inc  |1 +
  

Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Saul Wold


Khem,

Not sure if this one is on your radar:


| builtin-sched.c: In function 'get_cpu_usage_nsec_parent':
| builtin-sched.c:396:16: error: storage size of 'ru' isn't known
| builtin-sched.c:400:2: error: implicit declaration of function 'getrusage' 
[-Werror=implicit-function-declaration]
| builtin-sched.c:400:2: error: nested extern declaration of 'getrusage' 
[-Werror=nested-externs]
| builtin-sched.c:400:18: error: 'RUSAGE_SELF' undeclared (first use in this 
function)
| builtin-sched.c:400:18: note: each undeclared identifier is reported only 
once for each function it appears in
| builtin-sched.c:396:16: error: unused variable 'ru' [-Werror=unused-variable]
| cc1: all warnings being treated as errors
| make: *** 
[/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/perf-3.4-r1/perf-3.4/builtin-sched.o]
 Error 1
| make: *** Waiting for unfinished jobs
| make: Leaving directory 
`/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/sysroots/routerstationpro/usr/src/kernel/tools/perf'
| ERROR: oe_runmake failed
| ERROR: Function failed: do_compile (see 
/srv/home/pokybuild/yocto-autobuilder/yocto-slave/nightly-mips/build/build/tmp/work/routerstationpro-poky-linux/perf-3.4-r1/temp/log.do_compile.25734
 for further information)
NOTE: package perf-3.4-r1: task do_compile: Failed


I found it when building with the autobuilder, not sure is this is due 
to the newer perf changes or the compiler itself.


Sau!


On 07/08/2012 09:10 AM, Khem Raj wrote:

V2:

Additionally, changed gcc to use git fetcher
update E5500/E6500 patches for gcc and binutils (backported from mainline)
images form p5020ds 32/64 bit built fine. (btw. it does not build with 
eglibc-2.15)
Updated eglibc rpc patch needed for cross build from scratch
Updates the gets patch for busybox now its a backport instead of
home grown.

bitbake world works clean for ppc/x86/x86_64 , for mips and arm
the failures are prexisting.
mips - webkit and pseudo fail to build
arm - guile-2.0 and pseudo fail to build

V1:
This patch adds eglibc 2.16 recipes. I was able to build world
on x86 except perf which was failing with 2.15 as well.

I have also build and run core-image-sato on all qemus

I did not remove 2.15 to allow some soak in time.

The following changes since commit 8f16811a8d51982a8b3d70e6087aef4a41926840:

   bootimg: Use STAGING_KERNEL_DIR (2012-07-06 09:38:17 +0100)

are available in the git repository at:

   git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
   
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16

Khem Raj (19):
   mirrors: Add debian archive snapshot mirrors to search list
   gdb: Replace struct siginfo with proper siginfo_t
   busybox: Include sys/resource.h for rusage definition
   coreutils: Fix build with eglibc 2.16
   diffutils: Fix build with eglibc 2.16
   udev: Fix build with eglibc 2.16
   gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
   bison: Fix for gets being removed from eglibc 2.16
   grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
   boost: Upgrade recipe to 1.50.0
   puzzles: Fix checksums
   valgrind: Fix build with eglibc 2.16
   libpam: Fix build with eglibc 2.16
   gcc-cross-initial.inc: Use BFD ld as default always
   gcc: Switch to git SRC_URI
   binutils: Backport the e5500/e6500 patches from mainline
   gcc: Refresh support for fsl E5500/E6500
   qemu: Explicitly add --disable-gl-accel when gl is not enabled
   eglibc: Add recipes for 2.16 release

  meta/classes/mirrors.bbclass   |4 +-
  meta/recipes-bsp/grub/grub-1.99/remove-gets.patch  |   20 +
  meta/recipes-bsp/grub/grub_1.99.bb |3 +-
  .../busybox/busybox-1.19.4/sys_resource.patch  |   99 +++
  meta/recipes-core/busybox/busybox_1.19.4.bb|3 +-
  .../coreutils/coreutils-8.14/remove-gets.patch |   23 +
  meta/recipes-core/coreutils/coreutils_8.14.bb  |3 +-
  .../eglibc/cross-localedef-native_2.16.bb  |   44 +
  .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch|  108 +++
  .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch   |   17 +
  .../eglibc-svn-arm-lowlevellock-include-tls.patch  |   21 +
  .../eglibc_fix_findidx_parameters.patch|   38 +
  .../eglibc/eglibc-2.16/generate-supported.mk   |   11 +
  .../eglibc/eglibc-2.16/initgroups_keys.patch   |   20 +
  .../eglibc/eglibc-2.16/ld-search-order.patch   |   56 ++
  .../eglibc/eglibc-2.16/mips-rld-map-check.patch|   26 +
  .../eglibc/eglibc-2.16/multilib_readlib.patch  |   17 +
  .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch |  538 
  .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch   |  112 +++
  .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch |  123 +++
  .../eglibc/eglibc-2.16/rpc-bootstrap.patch |   63 ++
  .../eglibc-2.16/use-sysroot-cxx-headers.patch  |   42 +
  

Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Khem Raj
On Sun, Jul 8, 2012 at 2:14 PM, Saul Wold s...@linux.intel.com wrote:

 Khem,

 Not sure if this one is on your radar:

 | builtin-sched.c: In function 'get_cpu_usage_nsec_parent':
 | builtin-sched.c:396:16: error: storage size of 'ru' isn't known
 | builtin-sched.c:400:2: error: implicit declaration of function
 'getrusage' [-Werror=implicit-function-declaration]
 | builtin-sched.c:400:2: error: nested extern declaration of 'getrusage'
 [-Werror=nested-externs]
 | builtin-sched.c:400:18: error: 'RUSAGE_SELF' undeclared (first use in
 this function)
 | builtin-sched.c:400:18: note: each undeclared identifier is reported
 only once for each function it appears in
 | builtin-sched.c:396:16: error: unused variable 'ru'
 [-Werror=unused-variable]
 | cc1: all warnings being treated as errors

Saul

I did not get this probably this is combination of new libc and new perf
Can you aff

#include sys/resource.h

to
builtin-sched.c in perf sources

and see if that solves the issue.

-Khem

___
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core


Re: [OE-core] [PATCH V2 00/14] eglibc 2.16

2012-07-08 Thread Khem Raj
On Sun, Jul 8, 2012 at 9:10 AM, Khem Raj raj.k...@gmail.com wrote:
 V2:

 Additionally, changed gcc to use git fetcher
 update E5500/E6500 patches for gcc and binutils (backported from mainline)
 images form p5020ds 32/64 bit built fine. (btw. it does not build with 
 eglibc-2.15)
 Updated eglibc rpc patch needed for cross build from scratch
 Updates the gets patch for busybox now its a backport instead of
 home grown.

 bitbake world works clean for ppc/x86/x86_64 , for mips and arm
 the failures are prexisting.
 mips - webkit and pseudo fail to build
 arm - guile-2.0 and pseudo fail to build

 V1:
 This patch adds eglibc 2.16 recipes. I was able to build world
 on x86 except perf which was failing with 2.15 as well.

 I have also build and run core-image-sato on all qemus

 I did not remove 2.15 to allow some soak in time.

 The following changes since commit 8f16811a8d51982a8b3d70e6087aef4a41926840:

   bootimg: Use STAGING_KERNEL_DIR (2012-07-06 09:38:17 +0100)

 are available in the git repository at:

   git://git.openembedded.org/openembedded-core-contrib kraj/eglibc-2.16
   
 http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=kraj/eglibc-2.16

 Khem Raj (19):
   mirrors: Add debian archive snapshot mirrors to search list
   gdb: Replace struct siginfo with proper siginfo_t
   busybox: Include sys/resource.h for rusage definition
   coreutils: Fix build with eglibc 2.16
   diffutils: Fix build with eglibc 2.16
   udev: Fix build with eglibc 2.16
   gettext,m4,augeas,gnutls: Account for removal of gets in eglibc 2.16
   bison: Fix for gets being removed from eglibc 2.16
   grub,guile,cpio,tar,wget: Fix gnulib for absense of gets in eglibc
   boost: Upgrade recipe to 1.50.0
   puzzles: Fix checksums
   valgrind: Fix build with eglibc 2.16
   libpam: Fix build with eglibc 2.16
   gcc-cross-initial.inc: Use BFD ld as default always
   gcc: Switch to git SRC_URI

more testing shows that switching to git is causing do_unpack tasks
from various gcc recipes to have
different checksums and that triggers rerun of do_patch do_unpack
tasks in shared workdir and does not
go well. so I pulled the above commit out for now until we sort the
real reason why this is happening by just switching the fetcher

second problem is that it messed the upgrade path since 's'vn sorts
after 'g'it and they appear in PV

latest patch to switch the URI is here
http://git.openembedded.org/openembedded-core-contrib/commit/?h=kraj/miscid=81b8073a82fd480e6a5d011a3c8a28ad5fbe542f

anyone ideas ?

   binutils: Backport the e5500/e6500 patches from mainline
   gcc: Refresh support for fsl E5500/E6500
   qemu: Explicitly add --disable-gl-accel when gl is not enabled
   eglibc: Add recipes for 2.16 release

  meta/classes/mirrors.bbclass   |4 +-
  meta/recipes-bsp/grub/grub-1.99/remove-gets.patch  |   20 +
  meta/recipes-bsp/grub/grub_1.99.bb |3 +-
  .../busybox/busybox-1.19.4/sys_resource.patch  |   99 +++
  meta/recipes-core/busybox/busybox_1.19.4.bb|3 +-
  .../coreutils/coreutils-8.14/remove-gets.patch |   23 +
  meta/recipes-core/coreutils/coreutils_8.14.bb  |3 +-
  .../eglibc/cross-localedef-native_2.16.bb  |   44 +
  .../eglibc/eglibc-2.16/GLRO_dl_debug_mask.patch|  108 +++
  .../eglibc/eglibc-2.16/IO-acquire-lock-fix.patch   |   17 +
  .../eglibc-svn-arm-lowlevellock-include-tls.patch  |   21 +
  .../eglibc_fix_findidx_parameters.patch|   38 +
  .../eglibc/eglibc-2.16/generate-supported.mk   |   11 +
  .../eglibc/eglibc-2.16/initgroups_keys.patch   |   20 +
  .../eglibc/eglibc-2.16/ld-search-order.patch   |   56 ++
  .../eglibc/eglibc-2.16/mips-rld-map-check.patch|   26 +
  .../eglibc/eglibc-2.16/multilib_readlib.patch  |   17 +
  .../recipes-core/eglibc/eglibc-2.16/ppc-sqrt.patch |  538 
  .../eglibc/eglibc-2.16/ppc-sqrt_finite.patch   |  112 +++
  .../eglibc/eglibc-2.16/ppc_slow_ieee754_sqrt.patch |  123 +++
  .../eglibc/eglibc-2.16/rpc-bootstrap.patch |   63 ++
  .../eglibc-2.16/use-sysroot-cxx-headers.patch  |   42 +
  meta/recipes-core/eglibc/eglibc-initial_2.16.bb|6 +
  meta/recipes-core/eglibc/eglibc-locale_2.16.bb |1 +
  meta/recipes-core/eglibc/eglibc_2.16.bb|  146 
  .../gettext/gettext-0.18.1.1/remove_gets.patch |   58 ++
  meta/recipes-core/gettext/gettext_0.18.1.1.bb  |3 +-
  meta/recipes-core/udev/udev/include_resource.patch |   31 +
  meta/recipes-core/udev/udev_164.bb |7 +-
  meta/recipes-devtools/binutils/binutils-2.22.inc   |2 +-
  .../binutils/binutils/binutils-powerpc-e5500.patch |  918 
 +++-
  .../recipes-devtools/bison/bison/remove-gets.patch |   20 +
  meta/recipes-devtools/bison/bison_2.5.bb   |6 +-
  meta/recipes-devtools/gcc/gcc-4.7.inc  |   17 +-
  .../gcc/gcc-4.7/define_insn_reservation.patch  |  118 +++